<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Mario,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>wind direction is clockwise from
North:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>'define wdir=180+atan2(u,v)*180/3.14'
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>To see the moist adiabats set DrawThtw=
1 </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bye</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Daniele</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=frangix@YAHOO.IT href="mailto:frangix@YAHOO.IT">mario frangipane</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=GRADSUSR@LIST.CINECA.IT
href="mailto:GRADSUSR@LIST.CINECA.IT">GRADSUSR@LIST.CINECA.IT</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, September 27, 2007 6:19
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: skew-T from ECMWF grid
data</DIV>
<DIV><BR></DIV>
<DIV>Daniele, thank you very very much for your message!</DIV>
<DIV> </DIV>
<DIV>I have created a Skew-T diagram using the script of Bob Hart and the
ECMWF grid data. :-)</DIV>
<DIV> </DIV>
<DIV>The archive of ECMWF do not contain the dewpoin temperature and wind
direction and I must calculate them.</DIV>
<DIV id=result_box dir=ltr> </DIV>
<DIV dir=ltr>But, how is calculated the wind direction? (clockwise? from
nord?)</DIV>
<DIV> </DIV>
<DIV>Moreover, the moist adiabats are not drawn! :-(</DIV>
<DIV> </DIV>
<DIV>Bob Hart write:</DIV>
<DIV> </DIV>
<DIV><A
href="http://moe.met.fsu.edu/~rhart/skewfaq.html#Q7">http://moe.met.fsu.edu/~rhart/skewfaq.html#Q7</A></DIV>
<DIV> </DIV>
<DIV>"<EM>Some versions of 1.6 and 1.7 had a bug that produced math
errors when calculations were performed in scripts. The lastest beta
version (1.7 beta 9) fixes the error</EM>" </DIV>
<DIV> </DIV>
<DIV>But I use GrADS 1.8!</DIV>
<DIV> </DIV>
<DIV id=result_box dir=ltr>You can still help me?</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Thank you very much!</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>Regards,</DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr> Mario</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><BR><B><I>Daniele Gandini
<Daniele.Gandini@ARPA.PIEMONTE.IT></I></B> ha scritto:</DIV>
<BLOCKQUOTE class=replbq
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<META content="MSHTML 6.00.2800.1555" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hello Mario,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>it is very simple.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>First you set on a lat-lon point and on all
vertical levels:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>'set lon 'lonp<BR>'set lat 'latp<BR>'set z 1
'_NLEV</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>then you run skew script written by Bob Hart
that you can download from</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><A
href="http://moe.met.fsu.edu/~rhart/skew.html">http://moe.met.fsu.edu/~rhart/skew.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE>
<P>
<HR SIZE=1>
<FONT face=Arial size=2>Scopri la <A
href="http://us.rd.yahoo.com/mail/it/taglines/yahoo/ymail/*http://it.groups.yahoo.com/group/ymail/">community
di Yahoo! Mail</A>: trucchi, novità, consigli... e la tua
opinione!</FONT></BLOCKQUOTE></BODY></HTML>