[CF-metadata] [Fwd: Re: Problems reading NetCDF data - get NaNs]

John Caron caron at unidata.ucar.edu
Fri Oct 20 09:33:00 MDT 2006


A user has misread section 2.5.1 on how missing values interact with scale/offset, resulting in incorrectly written files. We might want to consider some rewording on this in the future.

Here is the relevent conversation:

>> "The missing values of a variable with scale_factor and/or add_offset attributes (see section 8.1) are interpreted relative to the variable's external values, i.e., the values stored in the netCDF file. "
>>
>> If I change this in my head to
>>
>> "The missing values of a packed variable are in the units of the packed values, i.e., the values stored in the netCDF file."

> I was confused by the "relative to the variable's external values".
> In my mind the "external values" are the ones that an external app
> sees, i.e. the unpacked values.  Your interpretation makes perfect
> sense though.



More information about the CF-metadata mailing list