Mike,<div><br><div>I think the following is what you want, for example where the vertical variable is tmpprs:</div><div><br></div><div>'d maxloc(tmpprs,lev=1000,lev=500)'</div><div><br></div><div>should return the z-level of the max temp between and including the two levels.</div>
<div><br></div><div>Also see <a href="http://grads.iges.org/grads/gadoc/gradfuncmaxloc.html">http://grads.iges.org/grads/gadoc/gradfuncmaxloc.html</a></div><div><br></div><div>Stephen Mc</div><div><br><div class="gmail_quote">
On Wed, Mar 6, 2013 at 11:45 AM, Mike Dross <span dir="ltr"><<a href="mailto:mwdross@gmail.com" target="_blank">mwdross@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<div><br></div><div>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</div><div>quite figure out how to do it. </div>
<div><br></div><div> 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. </div><div><br></div><div> Ideally, I could do something like this </div>
<div><br></div><div><ul style="font-size:medium;background-color:rgb(224,240,255)"><code><font face="Times New Roman">d fndlvl (t, const(t,max), lev=psfc, lev=500)</font></code></ul><ul style="font-size:medium;background-color:rgb(224,240,255)">
<code><span style="font-family:arial">and it would give me the max temp and the level it found it</span></code></ul><div><font size="3">Any help would be appreciated. </font></div></div><div><font size="3"><br></font></div>
<div><font size="3">Thanks in advance!</font></div><div><font size="3"><br></font></div><div><font size="3">Cordially,</font></div><div><font size="3"><br></font></div><div><font size="3">-Mike </font></div><div><font size="3"><a href="mailto:mwdross@gmail.com" target="_blank">mwdross@gmail.com</a></font></div>
<div><font size="3"><br></font></div><div><font size="3"><br></font></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></div></div>
<pre>***************************************************
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.
***************************************************