<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:12pt"><DIV style="FONT-SIZE: 12pt; FONT-FAMILY: arial, helvetica, sans-serif"><BR><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">----- Original Message ----<BR>From: John Papineau &lt;John.Papineau@NOAA.GOV&gt;<BR>To: GRADSUSR@LIST.CINECA.IT<BR>Sent: Wednesday, December 13, 2006 9:07:22 PM<BR>Subject: theta cross-sections<BR><BR>
<DIV>Greetings-<BR>&nbsp;&nbsp;I am attempting to display theta in either X-Z or X-Y<BR>cross sections.&nbsp;&nbsp;I tried the following but it got hung up<BR>on "lev"<BR><BR>define pr=(1013.0/lev)<BR>define prcalc=pow(pr,0.286)<BR>define theta=tmpprs*prcalc<BR><BR>where "mpprs" is the temperature variable.<BR>I also subsituted "Z" for "lev" and it still<BR>did not work.<BR><BR>Any thoughts ???<BR><BR>Many Thanks- John<BR>NWS, Anchorage</DIV></DIV><BR></DIV>
<P>John,</P>
<P>Your formulation of theta computation i ok. When you open grads it set lon, lat over the whole domain&nbsp;but it sets lev to the lowest level and t to the initial time (t 1). To do you cross section first set t 1 10(or whatever is ur maximum t) and set lev 1000 100 (or whatever). Then define the variables. Next set t for the time of the cross section lon1, lon2 and lat or lon and lat1, lat2 for the section and the 'd theta'. This is like the way we compute for vorticity.</P>
<P>I tried your formulation and it works.</P>
<P>Zilore Mumba</P></div><br>

<hr size=1>Any questions?  Get answers on any topic at <a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>. Try it now.</body></html>