<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 class="" style="white-space:pre">        </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="font-size:11pt;line-height:115%;font-family:Calibri,sans-serif;color:rgb(136,136,136)"></span></span><span><span dir="RTL" style="font-size:11pt;line-height:115%;font-family:Arial,sans-serif;color:rgb(136,136,136)" lang="AR-SA"><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>