This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Claudia, > To: address@hidden > From: Claudia Schmid <address@hidden> > Subject: Not a netCDF data type or _FillValue type mismatch > Organization: UCAR/Unidata The above message contained the following: > We are having a problem writing a FillValue that is a string of 14 zeros. > > We are using a library for f90 under unix: > 265220 Apr 5 2000 /usr/local/lib/libnetcdf.a > > We tried it in this way: > iret = nf_put_att_text(ncid, CALIBRATION_DATE_id, > *'_FillValue', 14, '00000000000000') > > and got: > Not a netCDF data type or _FillValue type mismatch What is the netCDF type of the netCDF variable corresponding to CALIBRATION_DATE_id? Regards, Steve Emmerson <http://www.unidata.ucar.edu>