NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

Re: [netcdfgroup] how to change a missing value

Thanks! Thanks you all for your help. I had looked there but whatever I tried hadn't worked quite right. I assume I misapplied the command.

Cathy

On 4/17/25 7:53 AM, Charlie Zender wrote:
Aloha Cathy,

The NCO User Guide http://nco.sf.net/nco.html#nan
demonstrates the single command that you want:

ncatted -a _FillValue,,m,f,1.0e36 in.nc out.nc

Charlie

--
***********************************
affiliation: CU/CIRES working at NOAA/PSL
https://psl.noaa.gov/people/cathy.smith/
Emails about data/webpages may get quicker responses by emailing
psl.data@xxxxxxxx
Sign up for PSL newsletter