<p dir="ltr">Hi,<br>
vint command will solve your issue. Following is an example showing computation of meridional moisture between 1000 to 600hPa level</p>
<p dir="ltr">set lev 1000<br>
d vint(lev,q*v,600)</p>
<p dir="ltr">Regards<br>
Sushant</p>
<div class="gmail_quote">On 25 Aug 2015 20:05, &quot;Sahidul&quot; &lt;<a href="mailto:sahidul@gmail.com">sahidul@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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>  </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" target="_blank">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>
<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" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div>