[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030203: Not a netCDF data type or _FillValue type mismatch
- Subject: 20030203: Not a netCDF data type or _FillValue type mismatch
- Date: Mon, 03 Feb 2003 14:21:38 -0700
Claudia,
>Date: Mon, 3 Feb 2003 16:09:22 -0500 (EST)
>From: Claudia Schmid <address@hidden>
>Organization: NOAA/AOML
>To: Steve Emmerson <address@hidden>
>Subject: Re: 20030203:Not a netCDF data type or _FillValue type mismatch
The above message contained the following:
> the variable is declared as character*14 and the netcdf type is NF_CHAR in
> nf_def_var
In that case, change
iret = nf_put_att_text(ncid, CALIBRATION_DATE_id,
*'_FillValue', 14, '00000000000000')
to
iret = nf_put_att_text(ncid, CALIBRATION_DATE_id,
*'_FillValue', 1, '0')
The fill-value for a netCDF variable of type NF_CHAR is a single character.
The netCDF data model doesn't support aggregate fill-values.
Regards,
Steve Emmerson <http://www.unidata.ucar.edu>