Re: nan in WRF

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu Jul 14 2011 - 21:18:26 MDT

You should check the function list and, for example, search 'nan'

http://www.ncl.ucar.edu/Document/Functions/Built-in/isnan_ieee.shtml
http://www.ncl.ucar.edu/Document/Functions/Built-in/replace_ieeenan.shtml

Good Luck

On 7/14/11 8:00 PM, Nikola Marjanovic wrote:
>
> Hello,
>
> I am having trouble using NCL when reading in velocity from WRF. Some of
> the output from WRF is nan but NCL treats this like a float along with the
> rest of the array. How do I set the missing value for the array to nan,
> because I want NCL to treat these values as missing. I have tried
> referencing a nan value out of the array and setting it as the FillValue
> but that does not work even when I get no error.
>
> My goal is to make contours so that I can see where the nan values develop
> in time on my grid, but I get this error when I try to create a contour
> with nan values:
>
> fatal:ContourPlotPreDraw: CPCLAM/AREDAM - UNABLE TO INSERT NODE INTO MAP
> fatal:ContourPlotDraw: draw error
> warning:WorkstationDeactivate: workstation not active or not opened
>
> Everything works fine when there are no nans. Do you have any suggestions?
>
> Thanks,
> Nikola
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 14 21:18:33 2011

This archive was generated by hypermail 2.1.8 : Mon Jul 18 2011 - 15:57:58 MDT