<div dir="ltr">My mistake, I see now that the data ranges significantly more, does this affect the contour even though I set a min and max for contouring?</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 11:57 AM, Mariama Barr - Dallas <span dir="ltr"><<a href="mailto:bama4@umbc.edu" target="_blank">bama4@umbc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have a software feature that displays all data values that I used before, but for specifics, here is the printout:<div><br></div><div><img src="cid:ii_iemz2j5a0_14fd6e03862829bc" width="277" height="446"><br><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 11:47 AM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To my knowledge, you have not done what I requested. Right before you use the plot function<div><br></div><div><div style="font-size:12.8px"> printVarSummary(var)</div><div style="font-size:12.8px"> printMinMax(var,0)</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The output has not been sent to ncl-talk</div><div style="font-size:12.8px">---</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I'll also add that the following might help. Add this before the plot function</div><div style="font-size:12.8px"><br></div><div><span style="font-size:12.8px"> <a href="https://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Contributed/stat_dispersion.shtml</a></span><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">==</span></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"> opt = True
opt@PrintStat = True
statb = <strong style="margin:0px;padding:0px">stat_dispersion</strong>(var, opt )</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><div style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal;font-size:12.8px"> printVarSummary(var)</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:normal;white-space:normal;font-size:12.8px"> printMinMax(var,0)</div></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"> plot = gsn_csm_contour_map(wks, var, res)</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)">===</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)">Also, as an experiment, you might try a run with</pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><em style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;white-space:normal">res@<a href="https://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnFillMode" style="margin:0px;padding:0px;text-decoration:none;color:rgb(133,45,133);font-family:verdana,sans-serif;font-size:13.3333px;white-space:normal" target="_blank">cnFillMode</a></em><span style="font-family:verdana,sans-serif;font-size:13.3333px;white-space:normal;background-color:rgb(255,231,198)"> = "RasterFill"</span><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><span style="font-family:verdana,sans-serif;font-size:13.3333px;white-space:normal;background-color:rgb(255,231,198)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><span style="font-family:verdana,sans-serif;font-size:13.3333px;white-space:normal;background-color:rgb(255,231,198)"><br></span></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><br></pre><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:16px;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)"><br></pre></div><div><br></div><div><br></div><div> </div></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 8:37 AM, Mariama Barr - Dallas <span dir="ltr"><<a href="mailto:bama4@umbc.edu" target="_blank">bama4@umbc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Well I have contour levels set at a min of 375 and a max of 425 and the spacing is 10.0 and it still gives an algorithm failure error. I will try and increase the spacing to see if it works but I really want as small spacing as possible so that I can see smaller variations of the data in the map.</div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 10:32 AM, Rick Brownrigg <span dir="ltr"><<a href="mailto:brownrig@ucar.edu" target="_blank">brownrig@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>There would be a practical limit based upon your machine. Did you try intermediate values between 100M and 10G? How about Adam's suggestion of explicitly setting contour levels -- trying something fairly coarse and then dialing it back in until things fail. There's obviously something about the data that's requiring extreme amounts of workspace memory -- but its hard to say what without some sleuthing...</div><span><font color="#888888"><div><br></div><div>Rick</div><div><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 16, 2015 at 8:17 AM, Mariama Barr - Dallas <span dir="ltr"><<a href="mailto:bama4@umbc.edu" target="_blank">bama4@umbc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yes, I also tried adjusting the space allocated in the .hluresfile file from 100000000 to 10000000000. It gives an algorithm error. any extreme allocatons gives a segmentation dump so I assume that there is a reasonable limit to the amount that can be allocated to the ncarg graphics?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 15, 2015 at 7:22 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">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.</div><span><font color="#888888"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 12:47 PM, Mariama Barr - Dallas <span dir="ltr"><<a href="mailto:bama4@umbc.edu" target="_blank">bama4@umbc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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. </div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 1:44 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Before the plot = ..<div><br></div><div> printVarSummary(var)</div><div> printMinMax(var,0)</div><div><br></div><div>Why did you comment out the mpMinLatF, etc resources?</div><div><br></div><div>Please always include this information when sending questions to ncl-talk.</div><div><br></div><div>Also ... the version of NCL you are using.</div><div><br></div><div>ncl -V</div><div><br></div><div>==========</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 14, 2015 at 9:15 AM, Adam Phillips <span dir="ltr"><<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mariama,<div>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. </div><div><br></div><div>See the FAQ page here:</div><div><a href="http://www.ncl.ucar.edu/FAQ/#err_msgs_012" target="_blank">http://www.ncl.ucar.edu/FAQ/#err_msgs_012</a><br></div><div><br></div><div>The solutions are:</div><div>1) Increase your work station size as the FAQ describes.</div><div>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.)</div><div>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.</div><div><br></div><div>If none of those solutions help please let the ncl-talk email list know.</div><div>Adam</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Sep 14, 2015 at 8:46 AM, Mariama Barr - Dallas <span dir="ltr"><<a href="mailto:bama4@umbc.edu" target="_blank">bama4@umbc.edu</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div>Everytime I try to manually set the contour spacing to a value 40.0 and below, I get a <br clear="all"><div><div>"fatal:ContourPlotDraw: Workspace reallocation would exceed maximum size 100000000" error. Below is my code:</div></div><div><br></div><div><br></div><div><img src="cid:ii_iek1nl510_14fcc52960126c8f" width="358" height="467"><br><span><font color="#888888"><br></font></span></div><span><font color="#888888">-- <br><div><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</font></span></div></div>
<br></div></div><span>_______________________________________________<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><br>
<br></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist, </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a> </font></span><span><font color="#888888"><a href="tel:303-497-1726" value="+13034971726" target="_blank">303-497-1726</a> </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>_______________________________________________<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><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</div>
</div></div><br>_______________________________________________<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><br>
<br></blockquote></div><br></div><span><font color="#888888">
</font></span></div></div></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</font></span></div>
<br>_______________________________________________<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><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</div>
</div></div><br>_______________________________________________<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><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Mariama Barr-Dallas</div>
<div>Meyerhoff Scholar/ NSA Scholar M23<br>Computer Science Major, History Major</div>
<div>University of Maryland Baltimore County<br>Class of 2015</div></div></div>
</div>