[gradsusr] extract values from function

Tobias Lundberg tobias.liljalundberg at gmail.com
Tue Nov 6 01:33:22 EST 2012


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'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.


Regards,

Tobias Lundberg

tobias.liljalundberg at gmail.com
+46 733 80 27 87





5 nov 2012 kl. 22:29 skrev Jeff Duda <jeffduda319 at gmail.com>:

> When you say "trend", do you mean time derivative?  Over what domain do you want to find the max and min?  If it's a spatial domain, there is a well known set of script command lines that can find an areal max for you.  It's not one of the built-in functions of Grads, though.
> 
> Jeff
> 
> On Mon, Nov 5, 2012 at 3:20 PM, Tobias Lundberg <tobias.liljalundberg at gmail.com> wrote:
> Hi all,
> 
> 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. 
> 
> Like,
> define function_max=Max
> define function_min=Min
> 
> Does anyone know? Or even better would be if there is a way to calculate the derivative of the trend line which is plotted?!
> 
> 
> best regards,
> 
> Tobias Lundberg
> 
> tobias.liljalundberg at gmail.com
> +46 733 80 27 87
> 
> 
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> 
> 
> 
> -- 
> Jeff Duda
> Graduate research assistant
> University of Oklahoma School of Meteorology
> Center for Analysis and Prediction of Storms
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20121106/fd63164a/attachment-0003.html 


More information about the gradsusr mailing list