[Thread Prev][Thread Next][Index]
Re: [ferret_users] NaN handled?
Hi Ansley,
| Please look up "NaN, in netCDF files" in the Ferret Users Guide Index,
| http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/index-1/index
|
| Here is the information:
|
| If there are values of NaN in the file, then NaN must be listed as
| either the "missing_value" OR "_FillValue" attribute and then NaN is
| the missing value. Or, the user may specify SET VARIABLE/BAD=NAN
| (case insensitive) to designate the Fortran value NaN (not a number)
| as the bad value flag for a given variable in a netCDF dataset.
Thank you! I should've RTFM. ncatted saved me.
ncatted -a missing_value,myvar,o,f,NaN original.nc fixed.nc
Regards,
Ryo
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement