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

Muhammad Yunus Ahmad Mazuki ukm.yunus at gmail.com
Wed Mar 6 21:29:39 EST 2013


Using a daouble max will let you search in an area, while using triple max
will let you search in a volume. Using a singe max, you need to specifiy
specific lat and lon.

'set lon 90'
'set lat 45'
'd max(temperature,lev=1000,lev=500)'
'd maxloc(temperature,lev=1000,lev=500)'
Or
'set lon 90'
'd max(max(temperature,lat=60,lat=20),lev=1000,lev=500)'
'd maxloc(max(temperature,lat=60,lat=20),lev=1000,lev=500)'
Or
'd max(max(max(temperature,lon=0,lon=90),lat=60,lat=20),lev=1000,lev=500)'
'd
maxloc(max(max(temperature,lon=0,lon=90),lat=60,lat=20),lev=1000,lev=500)'

You can also add one more max for t as well, but that is going to take more
processing time. Alternatively, you can also use amax for area maximum. I
do hope that soon, a volume max function will be added.


On Thu, Mar 7, 2013 at 1:45 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> 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
>
> _______________________________________________
> 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/20130307/c2abb334/attachment-0003.html 


More information about the gradsusr mailing list