[ncl-talk] Contour map: cnFillMode = "CellFill"

G.Monte at isac.cnr.it G.Monte at isac.cnr.it
Mon Apr 1 02:47:19 MDT 2019


Dears all,
I have an issue with a map contouring set on "cell fill" mode. When I run
the script I get the following message errors:

fatal:ContourPlotDraw: The CellFill method for non-rectangular Mesh data
requires vertices to be explicitly defined using the sf[XY]CellBounds
resources
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error

The source ascii file consists of an array with three coloumns:
1) the first one is latitude
2) the second one is longitude
3) the third one represents the punctual value I want to plot


If I turn in "cnFillMode=AreaFill" it works, but the bounds of the cells
are not kept by the contouring. I'm pretty sure that the problem will be
over if I set sf[XY]CellBounds properly, but I really don't know how to
do.

I only succeeded in plotting my data as a panel plot, which is here
attached for a rapid visualization. Moreover, I ask you if I could overlay
these nine plots into a single map and solve my issue.

Thanks in advance,
Giulio Monte

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sectorPanel.png
Type: image/png
Size: 415368 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190401/60d39099/attachment-0001.png>


More information about the ncl-talk mailing list