<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi everyone</div><div><br></div><div class="yui_3_7_2_50_1374538346156_70" style="background-color: transparent;">i have ocean current data which is contained u velocity and v velocity.</div><div class="yui_3_7_2_50_1374538346156_71" style="background-color: transparent;">in my data u and v have different number of grid.</div><div class="yui_3_7_2_50_1374538346156_72" style="background-color: transparent;">my question is how to regrid the number of grid so i have same number of grid on u and v data.</div><div class="yui_3_7_2_50_1374538346156_73" style="background-color: transparent;"><br></div><div class="yui_3_7_2_50_1374538346156_74" style="background-color: transparent;">i give my data at below.</div><div class="yui_3_7_2_50_1374538346156_75" style="background-color: transparent;"><br></div><div
 class="yui_3_7_2_50_1374538346156_76" style="background-color: transparent;">ga-&gt; sdfopen 1980_2008_uvel.nc</div><div class="yui_3_7_2_50_1374538346156_77" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>scanning self-decribing file:&nbsp;<span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_80" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>SDF file&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc is open as file 1</span></div><div class="yui_3_7_2_50_1374538346156_84" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LON set to 90 15</span></div><div class="yui_3_7_2_50_1374538346156_87" style="background-color:
 transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LAT set to -20 20</span></div><div class="yui_3_7_2_50_1374538346156_90" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>LEV set to -10000 -10000</div><div class="yui_3_7_2_50_1374538346156_92" style="background-color: transparent;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>time values set 1980:1:14:10&nbsp;<span style="font-size: 10pt;">1980:1:14:10</span></div><div class="yui_3_7_2_50_1374538346156_95" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>E set to 1 1</span></div><div class="yui_3_7_2_50_1374538346156_98" style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size:
 10pt;">ga-&gt;&nbsp;</span>q file</span></div><div class="yui_3_7_2_50_1374538346156_101" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Desccriptor:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_105" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>binary:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_109" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>type = gridded</span></div><div class="yui_3_7_2_50_1374538346156_112" style="background-color: transparent;"><span style="font-size: 10pt;"><span
 class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>xsize = 480 Ysize = 328 zsize = 46 Tsize =348 Esize = 1</span></div><div class="yui_3_7_2_50_1374538346156_115" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Number of Variable = 1</span></div><div class="yui_3_7_2_50_1374538346156_118" style="background-color: transparent;"><span style="font-size: 10pt;">ga-&gt;&nbsp;<span style="font-size: 10pt;">&nbsp;</span><span style="font-size: 10pt;">sdfopen 1980_2008_vvel.nc</span><br></span></div><div class="yui_3_7_2_50_1374538346156_122" style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span></span></span><span style="font-size: 10pt;">scanning self-decribing file:&nbsp;</span><span style="font-size:
 10pt;">1980_2008_vvel.nc</span></div><div class="yui_3_7_2_50_1374538346156_128" style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span></span><span style="font-size: 10pt;">SDF file&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc is open as file 1</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span style="font-size: 10pt;">ga-&gt;&nbsp;</span>q file</span></div><div style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Desccriptor:&nbsp;</span><span style="font-size: 10pt;">1980_2008_uvel.nc</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>binary:&nbsp;</span><span style="font-size:
 10pt;">1980_2008_uvel.nc</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>type = gridded</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>xsize = 481 Ysize = 327 zsize = 46 Tsize =348 Esize = 1</span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"></span></div><div style="background-color: transparent;"><span style="font-size: 10pt;"><span class="yiv2453353566Apple-tab-span" style="white-space: pre;">        </span>Number of Variable = 1</span></div><div class="yui_3_7_2_50_1374538346156_155" style="background-color: transparent;"><span style="font-size: 10pt;"><br></span></div><div class="yui_3_7_2_50_1374538346156_157" style="background-color: transparent;"><span style="font-size: 10pt;">thank you for
 your help</span></div><div class="yui_3_7_2_50_1374538346156_159" style="font-size: 10pt; background-color: transparent;"><span style="font-size: 10pt;"><br></span></div><div class="yui_3_7_2_50_1374538346156_161" style="background-color: transparent;"><span style="font-size: 10pt;">regards, Lutfi</span></div><div><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> "gradsusr-request@gradsusr.org" &lt;gradsusr-request@gradsusr.org&gt;<br> <b><span style="font-weight: bold;">To:</span></b> gradsusr@gradsusr.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, 22 July 2013, 18:48<br> <b><span style="font-weight: bold;">Subject:</span></b> gradsusr Digest, Vol 41, Issue 46<br> </font> </div> <div
 class="y_msg_container"><br>Send gradsusr mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>&nbsp;&nbsp;&nbsp; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr-request@gradsusr.org" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:gradsusr-owner@gradsusr.org" href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of gradsusr digest..."<br><br><br>Today's
 Topics:<br><br>&nbsp;  1. Re: overlaying one .ctl file with another (Ali Bayat)<br>&nbsp;  2. Re: how to find out vertical integration in grads ...<br>&nbsp; &nbsp; &nbsp; (Kishore Ragi)<br>&nbsp;  3. Re: how to find out vertical integration in grads ...<br>&nbsp; &nbsp; &nbsp; (Matias Mendez)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sun, 21 Jul 2013 15:40:31 -0700 (PDT)<br>From: Ali Bayat &lt;<a ymailto="mailto:alibayat86@yahoo.com" href="mailto:alibayat86@yahoo.com">alibayat86@yahoo.com</a>&gt;<br>Subject: Re: [gradsusr] overlaying one .ctl file with another<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:1374446431.36474.YahooMailNeo@web124906.mail.ne1.yahoo.com"
 href="mailto:1374446431.36474.YahooMailNeo@web124906.mail.ne1.yahoo.com">1374446431.36474.YahooMailNeo@web124906.mail.ne1.yahoo.com</a>&gt;<br>Content-Type: text/plain; charset="us-ascii"<br><br><br><br><br>Thanks a lot, it was very useful.<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130721/f7006b3f/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130721/f7006b3f/attachment-0001.html </a><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 22 Jul 2013 09:03:12 +0530<br>From: Kishore Ragi &lt;<a ymailto="mailto:kishoreragi@gmail.com" href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>&gt;<br>Subject: Re: [gradsusr] how to find out vertical integration in grads<br>&nbsp;&nbsp;&nbsp; ...<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org"
 href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CAN4rXbSmbQhNMBQ8qtsNgYd6gBkjz1AU-+<a ymailto="mailto:EFDt1iW_AXo0JoiA@mail.gmail.com" href="mailto:EFDt1iW_AXo0JoiA@mail.gmail.com">EFDt1iW_AXo0JoiA@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Dear Davide,<br><br>I know from your explanation that with vint and -hdivg we can calculate<br>VIMFC ( vertically integrated moisture flux) but, I have a doubt if vint<br>function includes the reciprocal of gravitational force (g=9.81)..<br><br><br><br>d vint(const(ps,1000),-hdivg(u*qv,v*qv),100)),<br><br>where u,v are horizontal wind fields and qv is mixing ratio.<br><br>Does above code enough or I should input g term too?<br><br>Thank you for the clarification ...<br><br>Regards,<br><br>Kishore<br><br><br>On Thu, May 9, 2013 at 12:55 PM, Davide Sacchetti &lt;<br><a ymailto="mailto:davide.sacchetti@arpal.gov.it"
 href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br><br>&gt; the first parameter should be a "field" not a value, try this:<br>&gt; d vint(const(u,1000),u*v,100)<br>&gt; bye bye<br>&gt; Davide<br>&gt;<br>&gt; On Thu, 2013-05-09 at 11:50 +0530, Kishore Ragi wrote:<br>&gt; &gt; Dear Davide,<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; vint is not working. It gives the following error:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; d vint(1000,u*v,100)<br>&gt; &gt;<br>&gt; &gt; Error from VINT:&nbsp; Incompatible grids.<br>&gt; &gt; Segmentation fault<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Could you please help me solve this problem ..<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Thank you<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Regards,<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Kishore<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On Tue, May 7, 2013 at 12:34 PM, Davide Sacchetti<br>&gt; &gt; &lt;<a
 ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  look for "vint" function, in online manual<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  bye bye<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Davide<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  On Tue, 2013-05-07 at 10:40 +0530, Kishore Ragi wrote:<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Dear grads users,<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; I want to calculate the following vertical integrations from<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  0 to<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Ps(Surface pressure)<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; u.del(q) dp<br>&gt;
 &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; q del.(u) dp<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; del.(uq) dp<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Could you please anybody direct me to write a grads to<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  calculate the<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; above?<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Thank you the help in advance..<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Regards,<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Kishore<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;
 _______________________________________________<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; gradsusr mailing list<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --&gt; Attenzione cambio indirizzo: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Davide Sacchetti<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Centro Funzionale Meteo Idrologico di Protezione Civile della<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Regione Liguria<br>&gt;
 &gt;&nbsp; &nbsp; &nbsp; &nbsp;  ARPAL Unit? Tecnica Complessa di livello Regionale<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  V.le Brigare Partigiane 2 16121 Genova (I)<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  tel: +39 010 6437535&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fax: +39 010 6437520<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  mail: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&nbsp; &nbsp;  web:<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  www.meteoliguria.it<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  _______________________________________________<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  gradsusr mailing list<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  <a
 href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gradsusr mailing list<br>&gt; &gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>&gt; --<br>&gt; --&gt; Attenzione cambio indirizzo: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>&gt; --<br>&gt; Davide Sacchetti<br>&gt; Centro Funzionale Meteo Idrologico di Protezione Civile della Regione<br>&gt; Liguria<br>&gt; ARPAL Unit? Tecnica Complessa di livello Regionale<br>&gt; V.le Brigare Partigiane 2 16121 Genova (I)<br>&gt; tel: +39 010 6437535&nbsp; &nbsp;
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fax: +39 010 6437520<br>&gt; mail: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&nbsp; &nbsp;  web: www.meteoliguria.it<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130722/837e3d6c/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130722/837e3d6c/attachment-0001.html </a><br><br>------------------------------<br><br>Message:
 3<br>Date: Mon, 22 Jul 2013 20:48:32 +0900<br>From: Matias Mendez &lt;<a ymailto="mailto:matias.mendezp@gmail.com" href="mailto:matias.mendezp@gmail.com">matias.mendezp@gmail.com</a>&gt;<br>Subject: Re: [gradsusr] how to find out vertical integration in grads<br>&nbsp;&nbsp;&nbsp; ...<br>To: GrADS Users Forum &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CAAa-r=2SjsT-durgthT3mO=Zn5SUP242JLKBDcCX-VudOg_=<a ymailto="mailto:Hg@mail.gmail.com" href="mailto:Hg@mail.gmail.com">Hg@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Hello KIshore,<br><br>You can check that on GrADS function documentation here:<br><br><a href="http://www.iges.org/grads/gadoc/gradfuncvint.html" target="_blank">http://www.iges.org/grads/gadoc/gradfuncvint.html</a><br><br><br>Good luck<br>Matias<br><br><br>2013/7/22 Kishore Ragi &lt;<a
 ymailto="mailto:kishoreragi@gmail.com" href="mailto:kishoreragi@gmail.com">kishoreragi@gmail.com</a>&gt;<br><br>&gt; Dear Davide,<br>&gt;<br>&gt; I know from your explanation that with vint and -hdivg we can calculate<br>&gt; VIMFC ( vertically integrated moisture flux) but, I have a doubt if vint<br>&gt; function includes the reciprocal of gravitational force (g=9.81)..<br>&gt;<br>&gt;<br>&gt;<br>&gt; d vint(const(ps,1000),-hdivg(u*qv,v*qv),100)),<br>&gt;<br>&gt; where u,v are horizontal wind fields and qv is mixing ratio.<br>&gt;<br>&gt; Does above code enough or I should input g term too?<br>&gt;<br>&gt; Thank you for the clarification ...<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Kishore<br>&gt;<br>&gt;<br>&gt; On Thu, May 9, 2013 at 12:55 PM, Davide Sacchetti &lt;<br>&gt; <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>&gt;<br>&gt;&gt; the first parameter
 should be a "field" not a value, try this:<br>&gt;&gt; d vint(const(u,1000),u*v,100)<br>&gt;&gt; bye bye<br>&gt;&gt; Davide<br>&gt;&gt;<br>&gt;&gt; On Thu, 2013-05-09 at 11:50 +0530, Kishore Ragi wrote:<br>&gt;&gt; &gt; Dear Davide,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; vint is not working. It gives the following error:<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; d vint(1000,u*v,100)<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Error from VINT:&nbsp; Incompatible grids.<br>&gt;&gt; &gt; Segmentation fault<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Could you please help me solve this problem ..<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Thank you<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Regards,<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; Kishore<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; On Tue, May 7, 2013 at 12:34 PM, Davide Sacchetti<br>&gt;&gt; &gt; &lt;<a
 ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&gt; wrote:<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  look for "vint" function, in online manual<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  bye bye<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Davide<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  On Tue, 2013-05-07 at 10:40 +0530, Kishore Ragi wrote:<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Dear grads users,<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; I want to calculate the following vertical integrations from<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  0 to<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Ps(Surface pressure)<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt;
 &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; u.del(q) dp<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; q del.(u) dp<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; del.(uq) dp<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Could you please anybody direct me to write a grads to<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  calculate the<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; above?<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Thank you the help in advance..<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; Regards,<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp;
 &nbsp; &nbsp;  &gt; Kishore<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; _______________________________________________<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; gradsusr mailing list<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --&gt; Attenzione cambio indirizzo: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  --<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Davide Sacchetti<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp;
 &nbsp;  Centro Funzionale Meteo Idrologico di Protezione Civile della<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  Regione Liguria<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  ARPAL Unit? Tecnica Complessa di livello Regionale<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  V.le Brigare Partigiane 2 16121 Genova (I)<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  tel: +39 010 6437535&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fax: +39 010 6437520<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  mail: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&nbsp; &nbsp;  web:<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  www.meteoliguria.it<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  _______________________________________________<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  gradsusr mailing list<br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp;
 &nbsp;  <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp;  <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt; &gt;<br>&gt;&gt; &gt;<br>&gt;&gt; &gt; _______________________________________________<br>&gt;&gt; &gt; gradsusr mailing list<br>&gt;&gt; &gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; &gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt; --&gt; Attenzione cambio indirizzo: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a><br>&gt;&gt; --<br>&gt;&gt; Davide Sacchetti<br>&gt;&gt; Centro Funzionale Meteo
 Idrologico di Protezione Civile della Regione<br>&gt;&gt; Liguria<br>&gt;&gt; ARPAL Unit? Tecnica Complessa di livello Regionale<br>&gt;&gt; V.le Brigare Partigiane 2 16121 Genova (I)<br>&gt;&gt; tel: +39 010 6437535&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fax: +39 010 6437520<br>&gt;&gt; mail: <a ymailto="mailto:davide.sacchetti@arpal.gov.it" href="mailto:davide.sacchetti@arpal.gov.it">davide.sacchetti@arpal.gov.it</a>&nbsp; &nbsp;  web: www.meteoliguria.it<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; gradsusr mailing list<br>&gt;&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr
 mailing list<br>&gt; <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>&gt;<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130722/c8a9643d/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130722/c8a9643d/attachment.html </a><br><br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a ymailto="mailto:gradsusr@gradsusr.org" 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><br>End of gradsusr Digest, Vol 41, Issue
 46<br>****************************************<br><br><br></div> </div> </div>  </div></body></html>