Rashed,<br>The equations for moist and dry static energy are quite simple and all you need to do to compute them is run this line:<br><br>&#39;define dse = gravity*height + Cp*T&#39;  (for dry static energy)<br>&#39;define mse = dse + L*q&#39;  (for moist static energy)<br>
<br>where &quot;gravity&quot; and &quot;height&quot; represent variables for the gravitational constant (9.8 m/s2) and geopotential height, Cp = 1005 J/Kg*K is the heat constant for dry air at constant pressure, T is temperature (in K), L is heat of phase change (generally vaporization), and q is moisture quantity (mixing ratio). <br>
<br>Hope this helps.<br><br>Jeff Duda<br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 4:12 AM, Rashed Mahmood <span dir="ltr">&lt;<a href="mailto:rashidcomsis@gmail.com">rashidcomsis@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Hi all</div>
<div> </div>
<div>Did anyone calculate moist static energy and/or dry static energy.</div>
<div>If yes, can you please share the script(s) related to it.</div>
<div> </div>
<div>Thanks</div>
<div> </div><font color="#888888">
<div>Rashed </div>
</font><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><br clear="all"><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda">www.meteor.iastate.edu/~jdduda</a><br>