[ncl-talk] "RasterFill" not plotting field

Mary Haley haley at ucar.edu
Mon Jan 2 07:14:51 MST 2017


Hi Ryan,

You might try adding this resource, to have the raster plot generated a
slightly different way:

res at trGridType = "TriangularMesh"

Still, I'm curious about why the plot is not showing up with raster fill.
Is it sparse data?  It would be good to get the script and data if
possible, so we can make sure it's not a bug.

Thanks,

--Mary


On Thu, Dec 29, 2016 at 1:36 PM, Ryan Connelly <rconne01 at gmail.com> wrote:

> Hi,
>
> I'm running a rather computationally intensive NCL script that attempts to
> calculate and plot geostrophic MPV.  At times, it is (understandably) very
> *very *slow, and at other times I have encountered an error about
> workspace memory allocation being exceeded.  With regards to the latter, I
> read a suggestion to change from...
>
>         opts_pv at cnFillOn                  = True
>
> ...to...
>
>         opts_pv at cnFillMode                = "RasterFill"
>     opts_pv at cnRasterSmoothingOn       = True
>
> When doing so, the script executes much faster, but does not plot my
> desired field.  (I printed out test points to confirm that the values are
> within the range I tell it to plot in ContourParameters, so I know that is
> not the problem.)
>
> Why might this be?
>
> Thanks,
> Ryan
>
> --
> Ryan Connelly
> M.S. Student in Atmospheric Sciences, Stony Brook University
> B.S. in Meteorology with Minors in Mathematics and GIS, Valparaiso
> University
> rconne01 at gmail.com
> ryan.connelly at stonybrook.edu
>
> _______________________________________________
> 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/20170102/00235c29/attachment.html 


More information about the ncl-talk mailing list