[Thread Prev][Thread Next][Index]

Re: [ferret_users] Converting missing values to "NaN"



Sam, you should be able to use the missing facilities of ferret to solve your problem, but if you have to resort to Plan B, DO NOT write the data out in ascii.  There is an easier way.  Instead, start with the netcdf file outside of ferret, run ncdump on it to make an easily netcdf compatible ascii file, edit that with your editor to replace missing values with NaN, and then use ncgen to regenerate it as a netcdf file.  You could even write a script to do that.  The new file will be a nice netcdf file, but with missing replaced by NaN or whatever you want.  It's a lot less work.
------------------------------------------------------------------------------------------
Edward D. (Ned) Cokelet, Ph.D. Oceanographer
NOAA/PMEL                         off:  (206) 526-6820
7600 Sand Point Way NE     fax: (206) 526-6485
Seattle, WA 98115-6349

Edward.D.Cokelet@xxxxxxxx

The contents of this message are mine personally and do not necessarily reflect any position of the Government or the National Oceanic and Atmospheric Administration.


BEGIN:VCARD
VERSION:3.0
N:Cokelet;E. D. (Ned);;;
FN:E. D. (Ned) Cokelet
ORG:NOAA/PMEL;
TITLE:Oceanographer\, PhD
EMAIL;type=INTERNET;type=WORK:Edward.D.Cokelet@xxxxxxxx
TEL;type=WORK;type=pref:(206) 526-6820
TEL;type=WORK;type=FAX:(206) 526-6485
item1.ADR;type=WORK:;;7600 Sand Point Way N.E.;Seattle;WA;98115-6439;
item1.X-ABADR:us
NOTE:The contents of this message are mine personally and do not necessarily reflect any position of the Government or the National Oceanic and Atmospheric Administration.
CATEGORIES:PMEL Cyclists
X-ABUID:B7E1C068-924B-11D8-B26B-000A9595D2D2\:ABPerson
END:VCARD


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement