<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Jeff,
<div><br>
</div>
<div>Even if lev is set to some specific level, I can still take the vertical deriv above and below that level? FYI, NARR does not have potential temp, and I tried something like 'd TMPprs*(1000/lev)^(2/7)' but it didn't want to use this expression.&nbsp;</div>
<div><br>
</div>
<div>Mason&nbsp;<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF834012" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] on behalf of Jeff Duda [jeffduda319@gmail.com]<br>
<b>Sent:</b> Tuesday, November 22, 2011 8:41 PM<br>
<b>To:</b> GrADS Users Forum<br>
<b>Subject:</b> Re: [gradsusr] Specialized Display Question<br>
</font><br>
</div>
<div></div>
<div>Mason,<br>
You can use the cdiff command in the z direction to display variables (unfortunately, you can't use it to define variables).&nbsp; However, you can approximate the vertical derivative by copying the method that cdiff uses.&nbsp; If you have geopotential height, then
 you have all you need to compute a vertical derivative with respect to height coordinates.&nbsp; You can display the vertical derivative of theta by either of the following:<br>
<br>
'd cdiff(theta,z)'<br>
'd (theta(z&#43;1)-theta(z-1)) / (hgtprs(z&#43;1)-hgtprs(z-1))<br>
<br>
If you want to just view the gradient on one pressure surface, set the level that surface, then enter the command.<br>
<br>
Jeff<br>
<br>
<div class="gmail_quote">On Tue, Nov 22, 2011 at 7:54 PM, Rowell, Mason D. <span dir="ltr">
&lt;<a href="mailto:Mason.D.Rowell-1@ou.edu" target="_blank">Mason.D.Rowell-1@ou.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
All,<br>
<br>
Is it possible to display the vertical derivative of some quantity (like say temp or potential temp) on a pressure surface? I know I have height in my NARR data, but it is specific to a pressure level (i.e. HGTprs). What I would need is the height just above
 the current pressure level and below it in order to get cdiff of say theta and z. I'm not sure how to set the dimensions to do this...I would be okay with just getting this quantity for display at some level height, it doesn't have to be on a pressure surface.<br>
<br>
Mason<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Jeff Duda<br>
Grad student - PhD, Meteorology<br>
University of Oklahoma School of Meteorology - Center for Analysis and Prediction of Storms<br>
<br>
</div>
</div>
</div>
</div>
</body>
</html>