Re: ContourPlotDraw error

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed Jan 25 2012 - 15:33:29 MST

THX for updating the post. That keeps people from working on the issue.

FYI: You can check for Nans via

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

See Example for how to reset a value.

Cheers

On 01/25/2012 01:22 PM, Gurer, Kemal@ARB wrote:
> Dear Ncl’ers,
>
> I found my error. My calculations generated NaN, which could not be
> converted into plottable values by the graphics engine. Eliminating NaN
> solved the problem. Thanks for looking into this. With regards,
>
> Kemal.
>
> *From:*Gurer, Kemal@ARB
> *Sent:* Tuesday, January 24, 2012 5:13 PM
> *To:* ncl-talk@ucar.edu
> *Subject:* ContourPlotDraw error
>
> Dear Ncl’ers,
>
> The attached gzipped tar file has two ncl scripts, the data file that
> they read, the output graphics that each generates, and the
> error/non-error output from each script. For a quick look, both scripts
> are also attached to this e-mail, in addition to their presence in the
> tar file.
>
> Each script simply reads a data set that has (time:24,lat:297,lon:327)
> dimensions, data ranges between (-1,1), and the script generates four
> plots on each frame for a total of 6 frames. The first one with
> temperature related data works just fine, but not the one with the
> relative humidity related data. The error is:
>
> fatal:ContourPlotDraw: CPCLAM/AREDAM - UNABLE TO INSERT NODE INTO MAP
>
> fatal:ContourPlotDraw: draw error
>
> warning:WorkstationDeactivate: workstation not active or not opened
>
> The two scripts are almost identical except the lines to read data file
> and generate titles. Thus, it looks like the relative humidity related
> data has some property associated with it that script doesn’t like it. I
> looked for some strange characters in the relative humidity related data
> file assuming that those characters may be causing the error, but
> couldn’t see any strange characters.
>
> Your help is appreciated. The scripts, data files, and first frame of
> the respective output .ps files as .gif files are attached to this
> email. Thanks.
>
> Kemal.
>
>
>
>
> _______________________________________________
> 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 Jan 26 03:33:39 2012

This archive was generated by hypermail 2.1.8 : Thu Feb 02 2012 - 03:10:31 MST