Example:<br>&#39;define var1=max(max(var,lon=xx.x,lon=xx.x),lat=yy.y,lat=yy.y)&#39;<br>&#39;define var2=min(min(var,lon=xx.x,lon=xx.x),lat=yy.y,lat=yy.y)&#39;<br>max and min area.<br><font><font>W</font>as this what you want</font>?<br>
<br>Regards,<br> <br><i style="color:rgb(51,51,51)">Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br>+55 (48)3665-5130<br><a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a></i><br>
<br><br><div class="gmail_quote">2012/11/6 Tobias Lundberg <span dir="ltr">&lt;<a href="mailto:tobias.liljalundberg@gmail.com" target="_blank">tobias.liljalundberg@gmail.com</a>&gt;</span><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">Sorry! I already have a script calculating the trend/month in each grid. So as I take the aave(trend) I get the trend of the domain I define. However, I&#39;d like to calculate the derivative of this trend line, over time, not only show it in a plot. So if I just could extract the max and min value that would be fine, but if there is a command that could do the same, that would be even better.<div>
<br></div><div><div class="im"><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">
<div>Regards,</div><div><br></div><div>Tobias Lundberg</div><div><br></div><div><a href="mailto:tobias.liljalundberg@gmail.com" target="_blank">tobias.liljalundberg@gmail.com</a></div><div><a href="tel:%2B46%20733%2080%2027%2087" value="+46733802787" target="_blank">+46 733 80 27 87</a></div>
<div><br></div><div><br></div></div></span></div></span></div></span></span><br><br></span>
</div>
<br></div><div><div>5 nov 2012 kl. 22:29 skrev Jeff Duda &lt;<a href="mailto:jeffduda319@gmail.com" target="_blank">jeffduda319@gmail.com</a>&gt;:</div><div><div class="h5"><br><blockquote type="cite">When you say &quot;trend&quot;, do you mean time derivative?  Over what domain do you want to find the max and min?  If it&#39;s a spatial domain, there is a well known set of script command lines that can find an areal max for you.  It&#39;s not one of the built-in functions of Grads, though.<br>

<br>Jeff<br><br><div class="gmail_quote">On Mon, Nov 5, 2012 at 3:20 PM, Tobias Lundberg <span dir="ltr">&lt;<a href="mailto:tobias.liljalundberg@gmail.com" target="_blank">tobias.liljalundberg@gmail.com</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"><div>Hi all,</div><div><br></div><div>I have a function describing the trend of the 2-m temperature. If I use the gxout stat, I can get the max and min values. But is it possible to do this automatically in any way. </div>

<div><br></div><div>Like,</div><div>define function_max=Max</div><div>define function_min=Min</div><div><br></div><div>Does anyone know? Or even better would be if there is a way to calculate the derivative of the trend line which is plotted?!</div>

<div><br></div><div><br></div><div><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div style="word-wrap:break-word">

<div>best regards,</div><div><br></div><div>Tobias Lundberg</div><div><br></div><div><a href="mailto:tobias.liljalundberg@gmail.com" target="_blank">tobias.liljalundberg@gmail.com</a></div><div><a href="tel:%2B46%20733%2080%2027%2087" value="+46733802787" target="_blank">+46 733 80 27 87</a></div>
<div>
<br></div><div><br></div></div></span></div></span></div></span></span><br><br></span>
</div>
<br></div><br>_______________________________________________<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/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Jeff Duda<br>Graduate research assistant<br>University of Oklahoma School of Meteorology<br>Center for Analysis and Prediction of Storms<br><br>
_______________________________________________<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/listinfo/gradsusr</a><br>
</blockquote></div></div></div><br></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br>