<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Soma</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
You can try this:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
open any text editor and paste the content of the ".hluresfile", and save it in your home directory with the same name. Please do not forget the dot before hluresfile. I will be a hidden file.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hope this will help.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best Regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Mamadou<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>De :</b> ncl-talk <ncl-talk-bounces@ucar.edu> de la part de Soma Roy via ncl-talk <ncl-talk@ucar.edu><br>
<b>Envoyé :</b> lundi 24 février 2020 09:17<br>
<b>À :</b> Rick Brownrigg <brownrig@ucar.edu><br>
<b>Cc :</b> ncl-talk <ncl-talk@ucar.edu><br>
<b>Objet :</b> Re: [ncl-talk] Dataset required</font>
<div> </div>
</div>
<div>
<div dir="auto">Hello,
<div dir="auto">Can you inform me where to create/paste "." into the ncl package?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Can we keep it in current directory?</div>
<div dir="auto"><br>
</div>
<div dir="auto">Soma</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Feb 24, 2020, 19:29 Rick Brownrigg <<a href="mailto:brownrig@ucar.edu">brownrig@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div>So your system is reporting wmMaximumSize as 100MB, which is the default, and should be more than sufficient for the dataset in question. I tried limiting my system to 100MB (I generally have it set to 500MB), and the script ran just fine.</div>
<div><br>
</div>
<div>So I'm not sure what to advise you at this point. You can try to increase the wsMaximumSize, but I'm skeptical that's going to make a difference. You can do that programmatically by placing the following lines at the top of your script:</div>
<div><br>
</div>
<div><b>setvalues</b> NhlGetWorkspaceObjectId() <br>
"wsMaximumSize" : 500000000<br>
<b>end setvalues</b></div>
<div><b><br>
</b></div>
<div>More commonly, people override the default by setting wsMaximumSize in the so-called ".hluresfile"; see:</div>
<div><br>
</div>
<div> <a href="http://ncl.ucar.edu/Document/Graphics/hlures.shtml" target="_blank" rel="noreferrer">
http://ncl.ucar.edu/Document/Graphics/hlures.shtml</a></div>
<div><br>
</div>
<div>Good luck!</div>
<div>Rick<br>
</div>
<div><b></b></div>
<div><b><br>
</b></div>
<div><b><br>
</b></div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Feb 24, 2020 at 1:41 AM Soma Roy <<a href="mailto:somaroy892@gmail.com" target="_blank" rel="noreferrer">somaroy892@gmail.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div>Output is coming like below;</div>
ncl 0> getvalues NhlGetWorkspaceObjectId()<br>
ncl 1> "wsMaximumSize" : maxMem<br>
ncl 2> end getvalues<br>
ncl 3> print(maxMem)<br>
<br>
<br>
Variable: maxMem<br>
Type: long<br>
Total Size: 4 bytes<br>
1 values<br>
Number of Dimensions: 1<br>
Dimensions and sizes: [1]<br>
Coordinates:<br>
(0) 100000000<br>
<br>
<div><b>And result for ulimit -a is below</b>;</div>
<div><br>
</div>
<div>$ ulimit -a<br>
core file size (blocks, -c) unlimited<br>
data seg size (kbytes, -d) unlimited<br>
file size (blocks, -f) unlimited<br>
open files (-n) 256<br>
pipe size (512 bytes, -p) 8<br>
stack size (kbytes, -s) 2036<br>
cpu time (seconds, -t) unlimited<br>
max user processes (-u) 256<br>
virtual memory (kbytes, -v) unlimited<br>
</div>
<div><br>
</div>
<div>Soma</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Mon, Feb 24, 2020 at 8:28 AM Rick Brownrigg <<a href="mailto:brownrig@ucar.edu" target="_blank" rel="noreferrer">brownrig@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>The script and that dataset work fine on my system, and barely make a mark in the amount of memory consumed. That message is coming from NCL itself, not from your system. Please try running this little scriptlet from within NCL, and report back to the
group:</div>
<div><br>
</div>
<div>getvalues NhlGetWorkspaceObjectId()</div>
<div> "wsMaximumSize" : maxMem</div>
<div>end getvalues</div>
<div>print(maxMem)</div>
<div><br>
</div>
<div>Also, please report the results of "ulimit -a", as Gus advised.</div>
<div><br>
</div>
<div>Finally, do you have a file named ".hluresfile" (note the leading period) in your home directory? If so, is there a line that begins "*wsMaximumSize: xxxxx", and what is the value for xxxxx? Perhaps bump it up to 500000000.
<br>
</div>
<div><br>
</div>
<div>Rick<br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Sat, Feb 22, 2020 at 12:29 PM Soma Roy via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank" rel="noreferrer">ncl-talk@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_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="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Sun, Feb 23, 2020, 00:24 Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank" rel="noreferrer">shea@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_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="x_gmail_quote">
<div dir="ltr" class="x_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 noreferrer" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br>
</div>
<blockquote class="x_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 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 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 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" rel="noreferrer">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>
</blockquote>
</div>
</blockquote>
</div>
</div>
</body>
</html>