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

Jeff Duda jeffduda319 at gmail.com
Wed Mar 6 12:45:18 EST 2013


What about just
'd max(temperature,lev=1000,lev=500)'?

Jeff Duda

On Wed, Mar 6, 2013 at 11:14 AM, Stephen McMillan <smcmillan at planalytics.com
> wrote:

> 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.
> ***************************************************
>
>
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130306/49e6c887/attachment-0003.html 


More information about the gradsusr mailing list