[ncl-talk] Contour Plot Help

Mary Haley haley at ucar.edu
Tue Sep 15 17:22:50 MDT 2015


Adam's suggestions were good ones.  If you are trying to plot the entire
globe, then try cutting back back on the number of contour levels too, if
you are explicitly setting them.

--Mary


On Mon, Sep 14, 2015 at 12:47 PM, Mariama Barr - Dallas <bama4 at umbc.edu>
wrote:

> I am using NCL version 6.2.1. I commented those out because I was using
> them previously to zoom in on a certain longitude and latitude but right
> now I want to display the entire globe.
>
> On Mon, Sep 14, 2015 at 1:44 PM, Dennis Shea <shea at ucar.edu> wrote:
>
>> Before the plot = ..
>>
>>    printVarSummary(var)
>>    printMinMax(var,0)
>>
>> Why did you comment out the mpMinLatF, etc resources?
>>
>> Please always include this information when sending questions to ncl-talk.
>>
>> Also ... the version of NCL you are using.
>>
>> ncl -V
>>
>> ==========
>>
>>
>>
>>
>>
>> On Mon, Sep 14, 2015 at 9:15 AM, Adam Phillips <asphilli at ucar.edu> wrote:
>>
>>> Hi Mariama,
>>> My guess is that you have either a very high resolution grid and/or a
>>> very noisy data array, and NCL is warning you that the output graphic is
>>> exceeding the maximum size that is set.
>>>
>>> See the FAQ page here:
>>> http://www.ncl.ucar.edu/FAQ/#err_msgs_012
>>>
>>> The solutions are:
>>> 1) Increase your work station size as the FAQ describes.
>>> 2) Change your contour settings. If it would be better to set
>>> non-regular levels you can set cnLevelSelectionMode = "ExplicitLevels" and
>>> set cnLevels to   (/200,300,340,380,420,460,500/)  (Those levels are a
>>> complete guess.)
>>> 3) If it is a very high resolution grid you can try plotting every other
>>> point or every third point using ::2 or ::3 syntax.
>>>
>>> If none of those solutions help please let the ncl-talk email list know.
>>> Adam
>>>
>>>
>>> On Mon, Sep 14, 2015 at 8:46 AM, Mariama Barr - Dallas <bama4 at umbc.edu>
>>> wrote:
>>>
>>>> Hello,
>>>> Everytime I try to manually set the contour spacing to a value  40.0
>>>> and below, I get a
>>>> "fatal:ContourPlotDraw: Workspace reallocation would exceed maximum
>>>> size 100000000" error. Below is my code:
>>>>
>>>>
>>>>
>>>>>>>> --
>>>> Mariama Barr-Dallas
>>>> Meyerhoff Scholar/ NSA Scholar M23
>>>> Computer Science Major, History Major
>>>> University of Maryland Baltimore County
>>>> Class of 2015
>>>>
>>>> _______________________________________________
>>>> ncl-talk mailing list
>>>> ncl-talk at ucar.edu
>>>> List instructions, subscriber options, unsubscribe:
>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>>
>>>
>>>
>>> --
>>> Adam Phillips
>>> Associate Scientist,  Climate and Global Dynamics Laboratory, NCAR
>>> www.cgd.ucar.edu/staff/asphilli/   303-497-1726
>>>
>>> <http://www.cgd.ucar.edu/staff/asphilli>
>>>
>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>
>>>
>>
>
>
> --
> Mariama Barr-Dallas
> Meyerhoff Scholar/ NSA Scholar M23
> Computer Science Major, History Major
> University of Maryland Baltimore County
> Class of 2015
>
> _______________________________________________
> 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/20150915/373cbd41/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: code.PNG
Type: image/png
Size: 33933 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150915/373cbd41/attachment.png 


More information about the ncl-talk mailing list