<div dir="ltr"><div>Hey Mohsen,</div><div> </div><div>You don't need to look for these data again. Equation (3) above will compute vapor pressure for you once you have Dew point temperature, likewise you get mixing ratio from equation (5).</div>
<div> </div><div>Hope that help you?</div><div> </div><div>Abayomi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 26, 2013 at 3:07 AM, Mohsen Soltani <span dir="ltr"><<a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
I'm trying to display "Moisture Convergence" using the following script, which written by Michael Maxwell: </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
************************************************************************</div><div class="gmail_default"><div class="gmail_default"><font face="arial, helvetica, sans-serif">* rh = Relative Humidity in % </font></div>
<div class="gmail_default">
<font face="arial, helvetica, sans-serif">* t = Temp at *set level in degrees Kelvin</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* tc = Temp in degrees C</font></div><div class="gmail_default">
<font face="arial, helvetica, sans-serif">* td = Dewpoint at *set level in degrees C</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* e = Vapor pressure<span style="white-space:pre-wrap">        </span></font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">* mixr = Mixing ratio</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* u = U-wind in m/s</font></div><div class="gmail_default">
<font face="arial, helvetica, sans-serif">* v = V-wind in m/s</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">* mconv = moisture convergence/divergence. </font></div><div class="gmail_default">
<font face="arial, helvetica, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">'tc = (t-273.16)'</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">'td = tc-((14.55+0.114*tc)*(1-0.01*rh) + pow((2.5+0.007*tc)*(1-0.01*rh),3) + (15.9+0.117*tc)*pow((1-0.01*rh),14))'</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">'vapr = 6.112*exp((17.67*td)/(td+243.5))'</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">'e = vapr*1.001+(lev-100)/900*0.0034'</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">'mixr = 0.62197*(e/(lev-e))*1000'</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">'mconv = (-1)*hdivg(u*mixr,v*mixr)*1e4'</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif">'d mconv'</font></div><div class="gmail_default"><font face="arial, helvetica, sans-serif">********************************************************</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br></font></div></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I've got all the required data to display MC, except for "vapor pressure and mixing ratio". Do you possibly know where I can get those data? Would you share the link(s) with me, please?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Thank you,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Mohsen</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div><div dir="ltr"><span><span style="color:rgb(136,136,136);line-height:115%;font-family:Calibri,sans-serif;font-size:11pt"></span></span><span><span lang="AR-SA" style="color:rgb(136,136,136);line-height:115%;font-family:Arial,sans-serif;font-size:11pt" dir="RTL"><span></span></span></span>--<div>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: (+98) 9119772934<br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
</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><br clear="all"><br>-- <br><br><br> Trust in the Lord......<br>*******************************************************************************************<br>* Abayomi A. Abatan * +1 515 572 4490 (Home) *<br>
* Geo. and Atmos. Sci. * +1 515 294 1321 (Office) *<br>* Iowa State University, Ames * +1 515 203 9020 (Cell) *<br>* Iowa. USA. * *<br>
******************************************************************************************* <br><br>****************************************************************************************************<br>* Abayomi A. Abatan * 234-802-724-7846 (out of service) *<br>
* Fed. Univ. of Tech., * 234-803-217-8815 (out of service) *<br>* SEMS, PMB 704 Akure * *<br>* Ondo Nigeria. * *<br>
**************************************************************************************************** <br>
</div>