<div dir="ltr">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;<br><div><br></div><div>fatal:_NhlUseWorkspace: dynamic memory allocation error<br>fatal:ContourPlotDraw: error reserving cell array workspace<br>fatal:ContourPlotDraw: draw error<br>fatal:ContourPlotDraw: draw error<br>fatal:PlotManagerDraw: error in plot draw<br>fatal:_NhlPlotManagerDraw: Draw error<br>fatal:_NhlUseWorkspace: dynamic memory allocation error<br>fatal:ContourPlotDraw: error reserving cell array workspace<br>fatal:ContourPlotDraw: draw error<br>fatal:ContourPlotDraw: draw error<br>fatal:PlotManagerDraw: error in plot draw<br>fatal:_NhlPlotManagerDraw: Draw error<br></div><div><br></div><div>Any direction to overcome this error?</div><div><br></div><div>Thanking you,</div><div>Soma</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 23, 2020 at 9:33 PM Dennis Shea via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>[1]</div><div><div>This is a<b> trivially small array: <span style="color:rgb(0,0,255)">2.34MB</span></b></div><div><span style="color:rgb(0,0,0)">Array size is <b>NOT</b> the issue.</span><b><span style="color:rgb(0,0,255)"><br></span></b></div><div>==================================<br></div><div>ncl 0> f = addfile("<b><a href="http://IGBPa_1198.map.nc" target="_blank">IGBPa_1198.map.nc</a></b>","r")<br>ncl 1> class = f->CLASS<br>ncl 2> printVarSummary(class)<br><br>Variable: class<br>Type: <b>byte</b><br>Total Size: <b>2332800 bytes</b><br> <b>2332800</b> values</div><div>=================================</div><div>[2] <br></div><div>The vegland_1.ncl script at<br></div><div><a href="http://www.ncl.ucar.edu/Applications/classification.shtm" target="_blank"><b>http://www.ncl.ucar.edu/Applications/classification.shtm</b></a>l</div><div>works just fine. It yields the exact figures shown in the example.<br></div><div>====================================</div><div>[3]</div><div>Offline you sent me: <span style="color:rgb(0,0,0)"><b>"When I <span style="color:rgb(255,0,0)">turn off </span>the "RasterFill" ..."</b></span></div><div>When you did this you are <b>no longer running the vegland_1.ncl script.</b> You are using a modified script. This should have been mentioned in your original email.<br></div><div>=====================================</div><div>[4]</div><div>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</div><div>contour lines being drawn. <br></div><div>Hence" "<b>fatal:ContourPlotDraw</b>: Workspace reallocation would exceed maximum size 100000000"</div><div><br></div><div>===</div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 22, 2020 at 3:33 PM Gus Correa via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>If you are using Linux, check to see if there is any restriction on your memory use:</div><div><br></div><div>ulimit -a <br></div><div><br></div><div>If the memory is limited, you may need to increase it with "ulimit -m value" (value in kbytes or mbytes), <br></div><div>or ask the system administrator to do it.</div><div><br></div><div>Gus Correa<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 22, 2020 at 2:28 PM Soma Roy via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Thank you..<div dir="auto"><br></div><div dir="auto">But I am getting the error " dynamical memory allocation error".</div><div dir="auto"><br></div><div dir="auto">How much disk space is required approximately to plot this data?</div><div dir="auto"><br></div><div dir="auto">Thanks & Regards,</div><div dir="auto">Soma</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 23, 2020, 00:24 Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Attached<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 22, 2020 at 11:26 AM Soma Roy via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Hello,<div dir="auto">I am trying to run the script vegland_1.ncl and for that I required sample input file.</div><div dir="auto"><br></div><div dir="auto">Input file name: <a href="http://IGBPa_1198.map.nc" rel="noreferrer" target="_blank">IGBPa_1198.map.nc</a></div><div dir="auto"><br></div><div dir="auto">Please kindly send me the input file.</div><div dir="auto"><br></div><div dir="auto">Thanking you,</div><div dir="auto">Soma</div><div dir="auto"><br></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" rel="noreferrer" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
</blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>