<div dir="ltr">Hi Jennifer,<div><br></div><div>Ugh, not sure how I missed that.  I assumed there was a user error somewhere in there :(</div><div><br></div><div>2.0.2 has been a very stable workhorse of mine for several years - thanks to you and Brian!  So there was never a reason to change.  While attempting to debug prior to emailing, I did try using grads-2.1.0-bin-CentOS5.<wbr>11-x86_64.tar.gz but, as you mention in the changelog for 2.1.1.b0, there was an issue w/the ssl libs.  I did get 2.1.1.b0 working though.  One thing I did just notice though is that plotting the same metric from a local netcdf (8007x4004) takes about twice as long using v2.1.1.b0 (30 seconds) compared to 2.0.2 (14 seconds).  That is certainly not a complaint in any way, shape, or form, but this node generates 1,000&#39;s of maps a day, so this would make a material difference to load and performance.</div><div><br></div><div>After using the patched <a href="http://subset.gs" target="_blank">subset.gs</a> you provided, everything is working perfectly in 2.1.1.b0!  The seg fault is still there in 2.0.2 though.  I will dig into that a little bit more.</div><div><br></div><div>Thanks again!</div><div><br></div><div>Regards,<br>Matt</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 14, 2017 at 10:21 AM, Jennifer M Adams <span dir="ltr">&lt;<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Matt, 
<div>The problem with undef values is likely related to this note on the GDS home page:</div>
<div><br>
</div>
<div>&quot;The release of GrADS version 2.0.a6 implemented some necessary changes related to the handling of undefined values. These changes can affect the GDS. If you are administering a GDS version 2.0 with GrADS 2.0.a6 or higher behind it, then a 1-line patch
 is needed for the file <code>$GDSHOME/scripts/<a href="http://subset.gs" target="_blank">subset.gs</a></code>. The patched version is
<a href="http://cola.gmu.edu/grads/gds/patched_subset.gs" target="_blank">here</a>. Updating the <a href="http://subset.gs" target="_blank">subset.gs</a> script does not require a reinstallation or even a reload of your GDS.&quot;</div>
<div><br>
</div>
<div>You should be using a newer version of GrADS anyway … why 2.0.2 ??? </div>
<div><br>
</div>
<div>As for the seg fault, it’s impossible to diagnose without knowing more about your data file. Try comparing the ncdump output on your native file and the GDS URL and see where they differ. </div>
<div>—Jennifer</div>
<div><br>
</div>
<div>
<div><div><div class="h5">
<div>On Feb 11, 2017, at 3:18 PM, Matt Alonso &lt;<a href="mailto:matt.alonso@GMAIL.COM" target="_blank">matt.alonso@GMAIL.COM</a>&gt; wrote:</div>
<br class="m_5428290692815075229Apple-interchange-newline">
</div></div><blockquote type="cite"><div><div class="h5">
<div dir="ltr">Hi all,
<div><br>
</div>
<div>Long time user of GrADS but first time user of GDS.  When attempting to plot the same dataset locally vs going through GDS, I am running into some strange behavior.</div>
<div><br>
</div>
<div>Background:</div>
<div>- same CentOS 6 machine is being used to run GrADS and GDS</div>
<div>- GrADS v2.0.2 binaries</div>
<div>- GDS 2.0</div>
<div>- data is netcdf but I am using a ctl file for templating purposes</div>
<div>- dataset entry in GDS xml file:</div>
<div><br>
</div>
<div>
<div>      &lt;dataset name = &quot;grid_hist&quot;</div>
<div>               file = &quot;/path/to/data.ctl&quot;</div>
<div>               url = &quot;<a href="http://www.iges.org/grads/gds/" target="_blank">http://www.iges.org/grads/<wbr>gds/</a>&quot;</div>
<div>           format = &quot;nc&quot;&gt;</div>
<div>      &lt;/dataset&gt;</div>
</div>
<div><br>
</div>
<div>- the ctl file in the dataset path (above) is (literally) the exact same path used when I mention the &quot;local dataset&quot;</div>
<div>- each netcdf file is ~65MB</div>
<div><br>
</div>
<div>Two issues:</div>
<div><br>
</div>
<div>1) </div>
<div><br>
</div>
<div>When opening the data via GDS, GrADS does not appear to identify undefined/missing values.  The undef value in the ctl and netcdf file is -999.0.  When using &quot;set gxout stat&quot; on the local dataset for an arbitrary domain and variable, it shows an Undef
 count &gt; 0 and a Min of 0, but the GDS file shows Undef count = 0 and a Min = Undef value.</div>
<div><br>
</div>
<div>2) </div>
<div><br>
</div>
<div>When I open either the GDS or local data set, the lon/lat extent printed is:</div>
<div><br>
</div>
<div>
<div>LON set to -180 179.945</div>
<div>LAT set to -90 89.9725</div>
</div>
<div><br>
</div>
<div>If I do not change any of the dimensions and try to display any metric in the file - using any gxout - the local dataset opens fine, however, using the data in GDS causes GrADS to segfault.  There are no errors in gds.log, it even shows &quot;success&quot; in the
 FINISHED record.</div>
<div><br>
</div>
<div>If I DO change the lat/lon to be any subset of the entire domain, then both the local and GDS datasets plot fine - ignoring the behavior in #1 above.</div>
<div><br>
</div>
<div>I am sure I am doing something wrong but do not seem to be able to figure out what.  Thanks in advance for your help!</div>
<div><br>
</div>
<div>Regards,</div>
<div>Matt</div>
</div></div></div>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-size:12px">--</div>
<div style="font-size:12px">Jennifer Miletta Adams<br>
Center for Ocean-Land-Atmosphere Studies (COLA)<br>
George Mason University<br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
</div>
</div>

<br>______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br></div>