<div dir="ltr">Dear Jennifer,<div><br></div><div>I tried your suggestion and got the following values:</div><div><br></div><div><div>Data Type = grid</div><div>Dimensions = 0 3</div><div>I Dimension = 33 to 35 Linear 80 2.5</div><div>J Dimension = 43 to 44 Linear 00Z01AUG1975 7200mn</div><div>Sizes = 3 2 6</div><div>Undef value = -9.99e+08</div><div>Undef count = 0 Valid count = 6</div><div>Min, Max = -10.8831 6.05715</div><div><b>Cmin, cmax, cint = -10 6 2</b></div></div><div><br></div><div>The Cmin and Cmax is actually what I was looking for. Is there a way to get their location from the 2D plot? The equivalent grid coordinates?</div><div><br></div><div><br></div><div>Many thanks for the help,</div><div><br></div><div>Lyndon Mark</div><div><br></div><div><div class="gmail_extra"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><br></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Tue, Jan 10, 2017 at 5:12 AM, Jennifer M Adams <span dir="ltr"><<a href="mailto:jadams21@gmu.edu" target="_blank">jadams21@gmu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="word-wrap:break-word">
The min and max values of any displayed grid will appear in the output when using ‘set gxout stat’ or ’set stat on'. —Jennifer
<div><div><div class="gmail-h5"><br>
<div>
<div>On Dec 26, 2016, at 8:55 PM, Lyndon Mark Olaguera <<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.<wbr>com</a>> wrote:</div>
<br class="gmail-m_-8328726994314969020Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">
<div><span style="font-size:12.8px">Hi Kathryn,</span><br>
</div>
<div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">It does not work for. I also tried the max(variable,t=1,t=2) but this gives me a very small number.</div>
<div style="font-size:12.8px">I am attaching here the sample netcdf file and my script in plotting the time longitude plot.</div>
<div style="font-size:12.8px"><br>
</div>
<div style="font-size:12.8px">
<div>'sdfopen <a href="http://filt_olr_anom_1975.nc/" target="_blank">filt_olr_anom_1975.nc</a>'</div>
<div>'set display color white'</div>
<div>'c'</div>
</div>
<div style="font-size:12.8px">
<div>'set lon 80 180'</div>
<div>'set gxout contour'</div>
<div>'set ccolor 1'</div>
<div>*'set cint 10'</div>
<div>'set t 43 53'</div>
<div>'set y 1'</div>
<div>'set yaxis 43 53'</div>
<div>'define tt=ave(bf,lat=12.5,lat=22.5)'</div>
<div>'d tt'</div>
</div>
</div>
<div><br>
</div>
<div>Link of the file:</div>
<div><br>
</div>
<a href="https://drive.google.com/file/d/0B9faET7Bc2o8aXB1dVhUZUNDVHc/view?usp=sharing" target="_blank">https://drive.google.com/file/<wbr>d/<wbr>0B9faET7Bc2o8aXB1dVhUZUNDVHc/<wbr>view?usp=sharing</a><br>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">I want to get the maximum value, say between lon 80 and lon 90, time 43 to time 44.</div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Many thanks in advance for the help,</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail-m_-8328726994314969020gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndz</u></b></font>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Tue, Dec 27, 2016 at 10:51 AM, Lyndon Mark Olaguera <span dir="ltr">
<<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.<wbr>com</a>></span> wrote:<br>
<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">Hi Kathryn,
<div><br>
</div>
<div>It does not work for. I also tried the max(variable,t=1,t=2) but this gives me a very small number.</div>
<div> I am attaching here the sample netcdf file and my script in plotting the time longitude plot.</div>
<div><br>
</div>
<div>
<div>'sdfopen filt_olr_anom_'year'.nc'</div>
<div>'set display color white'</div>
<div>'c'</div>
</div>
<div>
<div>'set lon 80 180'</div>
<div>'set gxout contour'</div>
<div>'set ccolor 1'</div>
<div>*'set cint 10'</div>
<div>'set t 43 53'</div>
<div>'set y 1'</div>
<div>'set yaxis 43 53'</div>
<div>'define tt=ave(bf,lat=12.5,lat=22.5)'</div>
<div>'d tt'</div>
</div>
<div><br>
</div>
<div>Many thanks for the help,</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail-m_-8328726994314969020m_4909267080290687673gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndz</u></b></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<div class="gmail-m_-8328726994314969020h5"><br>
<div class="gmail_quote">On Tue, Dec 27, 2016 at 1:00 AM, Kathryn Sellwood - NOAA Affiliate
<span dir="ltr"><<a href="mailto:kathryn.sellwood@noaa.gov" target="_blank">kathryn.sellwood@noaa.gov</a>></span> wrote:<br>
<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">"set lon lonval" "d maxval(variable, t=1,t=2)</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="gmail-m_-8328726994314969020m_4909267080290687673h5">On Mon, Dec 26, 2016 at 1:14 AM, Lyndon Mark Olaguera
<span dir="ltr"><<a href="mailto:olagueralyndonmark429@gmail.com" target="_blank">olagueralyndonmark429@gmail.c<wbr>om</a>></span> wrote:<br>
</div>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div class="gmail-m_-8328726994314969020m_4909267080290687673h5">
<div dir="ltr">Dear all,
<div><br>
</div>
<div>Is there an easy way to estimate the minimum value and maximum value from a time-longitude plot (minimum and maximum value per longitude and time).</div>
<div>I am using grads 2.1.0.oga.1. I tried to use the amin() function but in the grads window, it gives an error: unknown command amin().</div>
<div><br>
</div>
<div>Many thanks,</div>
<div><br clear="all">
<div>
<div class="gmail-m_-8328726994314969020m_4909267080290687673m_-6796967370895729934m_2401727052575407406gmail_signature">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr"><font face="comic sans ms, sans-serif"><b><u>Lyndz</u></b></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
______________________________<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</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><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></div></div>