[ncl-talk] Dataset required

Soma Roy somaroy892 at gmail.com
Sun Feb 23 09:34:36 MST 2020


When I am running the script "vegland_1.ncl" as it is with the attached
dataset, I am getting the following error messages at run time;

fatal:_NhlUseWorkspace: dynamic memory allocation error
fatal:ContourPlotDraw: error reserving cell array workspace
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error
fatal:_NhlUseWorkspace: dynamic memory allocation error
fatal:ContourPlotDraw: error reserving cell array workspace
fatal:ContourPlotDraw: draw error
fatal:ContourPlotDraw: draw error
fatal:PlotManagerDraw: error in plot draw
fatal:_NhlPlotManagerDraw: Draw error

Any direction to overcome this error?

Thanking you,
Soma

On Sun, Feb 23, 2020 at 9:33 PM Dennis Shea via ncl-talk <ncl-talk at ucar.edu>
wrote:

> [1]
> This is a* trivially small array: 2.34MB*
> Array size is *NOT* the issue.
> ==================================
> ncl 0> f = addfile("*IGBPa_1198.map.nc <http://IGBPa_1198.map.nc>*","r")
> ncl 1> class = f->CLASS
> ncl 2> printVarSummary(class)
>
> Variable: class
> Type: *byte*
> Total Size: *2332800 bytes*
>             *2332800* values
> =================================
> [2]
> The vegland_1.ncl script at
> *http://www.ncl.ucar.edu/Applications/classification.shtm*
> <http://www.ncl.ucar.edu/Applications/classification.shtm>l
> works just fine. It yields the exact figures shown in the example.
> ====================================
> [3]
> Offline you sent me: *"When I turn off the "RasterFill" ..."*
> When you did this you are *no longer running the vegland_1.ncl script.*
> You are using a modified script. This should have been mentioned in your
> original email.
> =====================================
> [4]
> When you 'turned off RasterFill', NCL defaulted to using contouring.
> Contouring should not be used with categorical data [CD]. CD are NOT
> smoothly varying. A grid point with value 18 could have value 2 next to it.
> This results in MANY
> contour lines being drawn.
> Hence" "*fatal:ContourPlotDraw*: Workspace reallocation would exceed
> maximum size 100000000"
>
> ===
>
>
> On Sat, Feb 22, 2020 at 3:33 PM Gus Correa via ncl-talk <ncl-talk at ucar.edu>
> wrote:
>
>> If you are using Linux, check to see if there is any restriction on your
>> memory use:
>>
>> ulimit -a
>>
>> If the memory is limited, you may need to increase it with "ulimit -m
>> value" (value in kbytes or mbytes),
>> or ask the system administrator to do it.
>>
>> Gus Correa
>>
>> On Sat, Feb 22, 2020 at 2:28 PM Soma Roy via ncl-talk <ncl-talk at ucar.edu>
>> wrote:
>>
>>> Thank you..
>>>
>>> But I am getting the error " dynamical memory allocation error".
>>>
>>> How much disk space is required approximately to plot this data?
>>>
>>> Thanks & Regards,
>>> Soma
>>>
>>> On Sun, Feb 23, 2020, 00:24 Dennis Shea <shea at ucar.edu> wrote:
>>>
>>>> Attached
>>>>
>>>> On Sat, Feb 22, 2020 at 11:26 AM Soma Roy via ncl-talk <
>>>> ncl-talk at ucar.edu> wrote:
>>>>
>>>>> Hello,
>>>>> I am trying to run the script vegland_1.ncl and for that I required
>>>>> sample input file.
>>>>>
>>>>> Input file name: IGBPa_1198.map.nc
>>>>>
>>>>> Please kindly send me the input file.
>>>>>
>>>>> Thanking you,
>>>>> Soma
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> ncl-talk at ucar.edu
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>
>>>> _______________________________________________
>>> ncl-talk mailing list
>>> ncl-talk at ucar.edu
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> 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/20200223/5fe19a2a/attachment.html>


More information about the ncl-talk mailing list