[ncl-talk] dewtemp_trh function returns NaN values

Dennis Shea shea at ucar.edu
Fri Sep 5 12:17:01 MDT 2014


THX.

This will be fixed in the 6.3.0 release.

JIRA ticket:  NCL-2061


On Fri, Sep 5, 2014 at 10:58 AM, Jon Meyer <jonathan.meyer at aggiemail.usu.edu
> wrote:

> Hello NCL developers,
>
> I wanted to bring a minor detail to your attention regarding the
> dewtemp_trh function. I've been using this function to compute dewpoint
> temperatures from WRF met_em files and have been seeing NaN values returned.
>
> Tracing this issue, I found that when RH values fall below 0%, the NaN
> values are returned. When I use the 'where' function to constrain all
> values to above 0%, the NaN values are not returned. Values above 100% do
> not return NaN values.
>
> I know from pervious email exchanges that functions are not supposed to
> return NaN values so I wanted to point this out.
>
> Since most met_em files have some values outside of the appropriate range
> due to interpolation biases, I figured either a warning message or a
> statement on the function's page would help others who are using this
> function avoid the NaNs, which seem to choke any plotting interface.
>
> Have a good day,
> Jon
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20140905/6d0bb82c/attachment.html 


More information about the ncl-talk mailing list