Dear Hyacinth,<br>are you interested in calculating the &quot;vertically integrated moisture transport&quot;, or the convergence only in one single level?<br>If you are interested in the firts one, I calculate, for exemple, in the following manner:<br>
<br>&#39;sdfopen <a href="http://file-pressure.nc">file-pressure.nc</a>&#39;<br>&#39;sdfopen <a href="http://file-zonal-wind.nc">file-zonal-wind.nc</a>&#39;<br>&#39;sdfopen <a href="http://file-meridional-wind.nc">file-meridional-wind.nc</a>&#39;<br>
&#39;define QiJAN=ave(vint(prmsl.1(z=1)/100,shum.1*uwnd.2,200),t=1,t=1560,12)&#39;<br>&#39;define QjJAN=ave(vint(prmsl.1(z=1)/100,shum.1*vwnd.3,200),t=1,t=1560,12)&#39;<br>&#39;set gxout vector&#39;<br>&#39;d QiJAN;QjJAN&#39;<br>
<br>Addicionally, if you wish to plot the &quot;vertically integrated moisture flux convergence&quot;<br><br>&#39;define divQ=hdivg(QiJAN,QjJAN)&#39;<br>&#39;set gxout shaded&#39;<br>&#39;d divQ&#39;<br><br>Cheers,<br>Roger Torres<br>
<br><br><div class="gmail_quote">2011/9/16 Hyacinth Nnamchi <span dir="ltr">&lt;<a href="mailto:hyacinth.1@hotmail.com">hyacinth.1@hotmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">




<div><div dir="ltr">
Jeff,<br><br>I seems my question wasn&#39;t well framed, and so you dealt with the typo. I have attached two Figs showing what the calculations below will give and what exactly I&#39;ll like to do.<br><br>Thanks,<br><br>
Hyacinth<br><br><br>&gt; Date: Thu, 15 Sep 2011 17:34:50 -0500&gt;<br>From: Jeffrey Duda &lt;<a href="mailto:jdduda@iastate.edu" target="_blank">jdduda@iastate.edu</a>&gt;&gt;<br> Subject: Re: [gradsusr] Moisture flux convergence/divergence<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br><div>&gt; Message-ID:<br>&gt;         &lt;CAP9LQ-VNkxcu-+ey_QkZU7f4MHf+VwJDvav=<a href="mailto:Dci3ns%2Bx%2BpjG8Q@mail.gmail.com" target="_blank">Dci3ns+x+pjG8Q@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<div class="im"><br>&gt; <br>&gt; Set the graphics output to vector (&#39;set gxout vector&#39;), then &#39;d zon;mer&#39;<br>&gt; (note the semicolon instead of a comma).<br>
&gt; <br>&gt; Jeff Duda<br>&gt; <br>&gt; 2011/9/15 Hyacinth Nnamchi &lt;<a href="mailto:hyacinth.1@hotmail.com" target="_blank">hyacinth.1@hotmail.com</a>&gt;<br>&gt; <br>&gt; &gt;  Hello,<br>&gt; &gt;<br>&gt; &gt; This is not directly about GrADS but since most of address similar!
 <br>&gt; &gt; problems, I guess someone on this forum will be able to answer my question.<br>&gt; &gt;<br>&gt; &gt; I understand that to calculate moisture transport, given zonal, meridional<br>&gt; &gt; winds and specific humidity, can simply do:<br>
&gt; &gt;<br>&gt; &gt; &#39;define zon=uwnd.1*shum.3&#39;<br>&gt; &gt; &#39;define mer=vwnd.2*shum.3&#39;<br>&gt; &gt; &#39;d zon,mer&#39;<br>&gt; &gt;<br>&gt; &gt; But, I want to plot vectors indicating field of net moisture flux (all arrows converging/diverging) instead of just transport.<br>
&gt; &gt;<br>&gt; &gt; Thanks for any ideas.<br>&gt; &gt;<br>&gt; &gt; Hyacinth<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; __<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>Roger Rodrigues Torres<br>PhD. Student in Meteorology<br>National Institute for Space Research (INPE)<br>Phone: 55 12 3186-9541<br>Personal Webpage: <a href="http://rtorres.webnode.com.br" target="_blank">http://rtorres.webnode.com.br</a><br>