[ncl-talk] problems when generating plot
Mary Haley
haley at ucar.edu
Sun Jul 24 23:33:29 MDT 2016
Cheung,
Thanks for providing your data and a script. I had the same issue as you
did.
For some reason, doing a smooth fill on this plot is an issue with u.dat.
If you use raster fill, then the script runs pretty quickly, and I have to
say, generates a rather interesting plot. If you overlay this plot on a map
(setting the special lat2d/lon2d attributes and calling
gsn_csm_contour_map), then you can do a smooth fill on this plot.
See the attached modified script and the resultant plots.
I will report a bug on this.
--Mary
On Fri, Jul 22, 2016 at 10:51 AM, Cheung <zuibeidemei at 126.com> wrote:
> Dear ncl-talk:
>
> I have two binary datasets with the same format.
> They just contain different values.
> One of them can be read and plotted correctly. But when NCL plots
> the other one,
> it get stuck forever... By printing the values from this dataset, I
> did not find anything special (e.g., no "nan", "inf").
> Can anyone help me with this problem. Thanks so much.
>
> The NCL script and two datasets are attached.
> h.dat is the good one, u.dat is the bad one.
>
> --
> Best
> Cheung
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> 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/20160724/49a89246/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_mod.ncl
Type: application/octet-stream
Size: 1563 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160724/49a89246/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.000003.png
Type: image/png
Size: 501624 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160724/49a89246/attachment-0003.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.000002.png
Type: image/png
Size: 438033 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160724/49a89246/attachment-0004.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check.000001.png
Type: image/png
Size: 191712 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160724/49a89246/attachment-0005.png
More information about the ncl-talk
mailing list