Dear Hyacinth,<br>are you interested in calculating the "vertically integrated moisture transport", 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>'sdfopen <a href="http://file-pressure.nc">file-pressure.nc</a>'<br>'sdfopen <a href="http://file-zonal-wind.nc">file-zonal-wind.nc</a>'<br>'sdfopen <a href="http://file-meridional-wind.nc">file-meridional-wind.nc</a>'<br>
'define QiJAN=ave(vint(prmsl.1(z=1)/100,shum.1*uwnd.2,200),t=1,t=1560,12)'<br>'define QjJAN=ave(vint(prmsl.1(z=1)/100,shum.1*vwnd.3,200),t=1,t=1560,12)'<br>'set gxout vector'<br>'d QiJAN;QjJAN'<br>
<br>Addicionally, if you wish to plot the "vertically integrated moisture flux convergence"<br><br>'define divQ=hdivg(QiJAN,QjJAN)'<br>'set gxout shaded'<br>'d divQ'<br><br>Cheers,<br>Roger Torres<br>
<br><br><div class="gmail_quote">2011/9/16 Hyacinth Nnamchi <span dir="ltr"><<a href="mailto:hyacinth.1@hotmail.com">hyacinth.1@hotmail.com</a>></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'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'll like to do.<br><br>Thanks,<br><br>
Hyacinth<br><br><br>> Date: Thu, 15 Sep 2011 17:34:50 -0500><br>From: Jeffrey Duda <<a href="mailto:jdduda@iastate.edu" target="_blank">jdduda@iastate.edu</a>>><br> Subject: Re: [gradsusr] Moisture flux convergence/divergence<br>
> To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>><br><div>> Message-ID:<br>>         <CAP9LQ-VNkxcu-+ey_QkZU7f4MHf+VwJDvav=<a href="mailto:Dci3ns%2Bx%2BpjG8Q@mail.gmail.com" target="_blank">Dci3ns+x+pjG8Q@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<div class="im"><br>> <br>> Set the graphics output to vector ('set gxout vector'), then 'd zon;mer'<br>> (note the semicolon instead of a comma).<br>
> <br>> Jeff Duda<br>> <br>> 2011/9/15 Hyacinth Nnamchi <<a href="mailto:hyacinth.1@hotmail.com" target="_blank">hyacinth.1@hotmail.com</a>><br>> <br>> > Hello,<br>> ><br>> > This is not directly about GrADS but since most of address similar!
<br>> > problems, I guess someone on this forum will be able to answer my question.<br>> ><br>> > I understand that to calculate moisture transport, given zonal, meridional<br>> > winds and specific humidity, can simply do:<br>
> ><br>> > 'define zon=uwnd.1*shum.3'<br>> > 'define mer=vwnd.2*shum.3'<br>> > 'd zon,mer'<br>> ><br>> > But, I want to plot vectors indicating field of net moisture flux (all arrows converging/diverging) instead of just transport.<br>
> ><br>> > Thanks for any ideas.<br>> ><br>> > Hyacinth<br>> ><br>> ><br>> > __<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>