[ncl-talk] -nan value in Netcdf file

Xin Xi xin.xi30 at gmail.com
Thu Jul 23 12:53:32 MDT 2015


Hi, I have a NC file containing a 2D variable with a few -nan values. When
I print min and max of the variable, it gives me -nan in both cases. I
donot know how they come from - likely due to strange model behavior. The
variable has a _FillValue property. I donot know how to remove or replace
the -nan values with the fill value. I tried the replace_ieeenan procedure,
but it replaces the entire variable with FillValue.
Pls help.
Thanks.
Xin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150723/9c7b2a55/attachment.html 


More information about the ncl-talk mailing list