Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: NetCDF and NaN

Hi Ag,

> Does NetCDF include a definition for Not a Number (NaN)?

No, netCDF was originally designed to run on lots of platforms,
including those that don't support IEEE floating point, such as DEC
VAXen and early Crays.

However, you can store NaNs in netCDF files and the conversion between
native representation and XDR preserves NaN-ness on IEEE platforms.
That's why some users use NaNs for the "_FillValue" attribute.

--Russ

_____________________________________________________________________

Russ Rew                                         UCAR Unidata Program
russ@xxxxxxxxxxxxxxxx                     http://www.unidata.ucar.edu



  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: