<div dir="ltr">

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">Dear Help,</p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">I want to calculate VIMF (Vertical Integrated Moisture flux) using WRF data. I am not sure how to do this. I am using the following script to do ...Here PSFC is the SFC PRESSURE (Pa) and QVAPOR is Water vapor mixing ratio (kg kg-1)<br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">Could you please help on this regard.<br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">************************************************<br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;reinit&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;clear&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;open /path/wrf/inp_grds.ctl&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set grads off&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set grid off&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set xlopts 1 6 0.16&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set ylopts 1 6 0.16&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set mpdset hires&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set lat 15 35&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set lon 60<span style="mso-spacerun:yes">  </span>85&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"> </p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set gxout shaded&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;define q3=ave(vint(psfc*0.01,QVAPOR,100),t=13,t=36,1)&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;d q3&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;run <a href="http://cbarn.gs">cbarn.gs</a> 1 1 8.9 4.2&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;set gxout vector&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">*&#39;set arrscl 0.6 1000&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;define q1=ave(vint(psfc*0.01,QVAPOR*skip(u,4),100),t=13,t=36,1)&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;define q2=ave(vint(psfc*0.01,QVAPOR*skip(v,4),100),t=13,t=36,1)&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;d q1;q2&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;draw title Vertically Integrated Moisture Transport(kg/m/s) &#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;print file.eps&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;!convert +antialias -density 150 -rotate +90 -trim file.eps VIMT.jpg&#39;</p>

<p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">&#39;quit&#39;</p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">****************************************************************************</p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">With regards,</p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal"><br></p><p class="MsoNormal" style="margin-bottom:0.0001pt;line-height:normal">Sahidul<br></p>

</div>