[gradsusr] Determining the max temp in a vertical layer.

Stephen McMillan smcmillan at planalytics.com
Wed Mar 6 12:14:21 EST 2013


Mike,

I think the following is what you want, for example where the vertical
variable is tmpprs:

'd maxloc(tmpprs,lev=1000,lev=500)'

should return the z-level of the max temp between and including the two
levels.

Also see http://grads.iges.org/grads/gadoc/gradfuncmaxloc.html

Stephen Mc

On Wed, Mar 6, 2013 at 11:45 AM, Mike Dross <mwdross at gmail.com> wrote:

> Hi,
>
> I am trying to figure out how to find the maximum temperature in a
> vertical layer, between the surface and 500 millibars.  I have searched
> through the gradsusrs digest and can't
> quite figure out how to do it.
>
>  Using the findlvl  gives you level of a certain value, but I want the
> maximum value between two levels, and that function doesn't seem to do
> that.
>
>  Ideally, I could do something like this
>
>
>    d fndlvl (t, const(t,max), lev=psfc, lev=500)
>
>
>    and it would give me the max temp and the level it found it
>
> Any help would be appreciated.
>
> Thanks in advance!
>
> Cordially,
>
> -Mike
> mwdross at gmail.com
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>

***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary. 

If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130306/371cc5b2/attachment-0003.html 


More information about the gradsusr mailing list