Thanks for kind reply, I solve it.<br><br>Regards.<br><br>Saeed Bayat<br><br><div class="gmail_quote">On Tue, Aug 30, 2011 at 5:28 PM, Ismaila Diallo <span dir="ltr">&lt;<a href="mailto:ismailadiallo64@yahoo.fr">ismailadiallo64@yahoo.fr</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi Saeed,<br>
<br>try run xcbar  1 1 or run xcbar 1 0<br>cheers<br><br>Ismaila<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;">
<font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> &quot;<a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a>&quot; &lt;<a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a>&gt;<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, August 30, 2011 10:20:17 AM<br>
<b><span style="font-weight: bold;">Subject:</span></b> gradsusr Digest, Vol 18, Issue 41<br></font><br>
Send gradsusr mailing list submissions to<br>    <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span>    <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>    <a href="mailto:gradsusr-request@gradsusr.org" target="_blank">gradsusr-request@gradsusr.org</a><br><br>You can reach the person managing the list at<br>
    <a href="mailto:gradsusr-owner@gradsusr.org" target="_blank">gradsusr-owner@gradsusr.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than &quot;Re: Contents of gradsusr digest...&quot;<br>
<br><br>Today&#39;s Topics:<br><br>   1.
 Re: GCM Output (Tummuri, Spandana)<br>   2. Re: GCM Output (<a href="mailto:tcavazos@cicese.mx" target="_blank">tcavazos@cicese.mx</a>)<br>   3. grads user (david jan)<br>   4. xcbar (saeed bayat)<br>   5. lats4d grib convertion problem (A. S.)<br>
<br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 29 Aug 2011 16:55:04 -0400<br>From: &quot;Tummuri, Spandana&quot; &lt;<a href="mailto:tummuris@cdm.com" target="_blank">tummuris@cdm.com</a>&gt;<br>
Subject: Re: [gradsusr] GCM Output<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>    &lt;<a href="mailto:6906BEEB113AEB48B9910246026EA9BED175647E4E@CAMEXCMS3.cdminc.internal.cdm.com" target="_blank">6906BEEB113AEB48B9910246026EA9BED175647E4E@CAMEXCMS3.cdminc.internal.cdm.com</a>&gt;<br>
    <br>Content-Type: text/plain; charset=&quot;us-ascii&quot;<br><br>Thank you for the responses.  This is helpful.<br><br><br>From: <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] On Behalf Of Stephen McMillan<br>
Sent: Monday, August 29, 2011 12:17 PM<br>To: GrADS Users Forum<br>Subject: Re: [gradsusr] GCM Output<br><br>PrecipMon = [days in month]*86400*precip/25.4<br>On Mon, Aug 29, 2011 at 11:43 AM, Tummuri, Spandana &lt;<a href="mailto:tummuris@cdm.com" target="_blank">tummuris@cdm.com</a>&lt;mailto:<a href="mailto:tummuris@cdm.com" target="_blank">tummuris@cdm.com</a>&gt;&gt; wrote:<br>
Hello All,<br><br>This question is slightly related to grads program but not entirely.  But seeing that most of the users work with Climate Models, I was hoping that I would get some response to my questions.<br><br>I have produced the precipitation output from GCMs using the GraDs program.  The precipitation variable is in units kg/m2/sec.  Can anyone tell me how I can convert this to the units I need, which is inch/month?<br>
<br>Thanks<br>Spandana<br><br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&lt;mailto:<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br><br><br>***************************************************<br><br>The information contained in this e-mail message<br>
<br>is intended only for the use of the recipient(s)<br><br>named above and may contain information that is<br><br>privileged, confidential, and/or proprietary.<br><br>If you are not the intended recipient, you may not<br>
<br>review, copy or distribute this message. If you have<br><br>received this communication in error, please notify<br><br>the sender immediately by e-mail, and delete the original message.<br><br>***************************************************<br>
<br><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110829/db7f8660/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110829/db7f8660/attachment-0001.html</a> </span><br>
<br>------------------------------<br><br>Message: 2<br>Date: Mon, 29 Aug 2011 14:23:59 -0700<br>From: <a href="mailto:tcavazos@cicese.mx" target="_blank">tcavazos@cicese.mx</a><br>Subject: Re: [gradsusr] GCM Output<br>To: &quot;GrADS Users Forum&quot; &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>
Message-ID:<br>    &lt;<a href="mailto:8f552122b6ea0d957fdadccf4d753534.squirrel@arrecife.cicese.mx" target="_blank">8f552122b6ea0d957fdadccf4d753534.squirrel@arrecife.cicese.mx</a>&gt;<br>Content-Type: text/plain;charset=iso-8859-1<br>
<br>Somebody sent you the answer before:<br><br>1 kg/m2  = 1
 mm<br><br>the rest (the time scale and the change to inches)<br>you should be able to figure it out...<br><br>TC<br><br><br>&gt; Thank you for the responses.  This is helpful.<br>&gt;<br>&gt;<br>&gt; From: <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>]<br>
&gt; On Behalf Of Stephen McMillan<br>&gt; Sent: Monday, August 29, 2011 12:17 PM<br>&gt; To: GrADS Users Forum<br>&gt; Subject: Re: [gradsusr] GCM Output<br>&gt;<br>&gt; PrecipMon = [days in month]*86400*precip/25.4<br>&gt; On Mon, Aug 29, 2011 at 11:43 AM, Tummuri, Spandana<br>
&gt; &lt;<a href="mailto:tummuris@cdm.com" target="_blank">tummuris@cdm.com</a>&lt;mailto:<a href="mailto:tummuris@cdm.com" target="_blank">tummuris@cdm.com</a>&gt;&gt;
 wrote:<br>&gt; Hello All,<br>&gt;<br>&gt; This question is slightly related to grads program but not entirely.  But<br>&gt; seeing that most of the users work with Climate Models, I was hoping that<br>&gt; I would get some response to my questions.<br>
&gt;<br>&gt; I have produced the precipitation output from GCMs using the GraDs<br>&gt; program.  The precipitation variable is in units kg/m2/sec.  Can anyone<br>&gt; tell me how I can convert this to the units I need, which is inch/month?<br>
&gt;<br>&gt; Thanks<br>&gt; Spandana<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&lt;mailto:<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>&gt;<br>&gt;<br>&gt; ***************************************************<br>&gt;<br>&gt; The information contained in this e-mail message<br>
&gt;<br>&gt; is intended only for the use of the recipient(s)<br>&gt;<br>&gt; named above and may contain information that is<br>&gt;<br>&gt; privileged, confidential, and/or proprietary.<br>&gt;<br>&gt; If you are not the intended recipient, you may not<br>
&gt;<br>&gt; review, copy or distribute this message. If you have<br>&gt;<br>&gt; received this communication in error, please notify<br>&gt;<br>&gt; the sender immediately by e-mail, and delete the original message.<br>&gt;<br>
&gt; ***************************************************<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; gradsusr mailing list<br>&gt; <a href="mailto:gradsusr@gradsusr.org" target="_blank">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><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 29 Aug 2011 21:35:41 -0700<br>
From: david jan &lt;<a href="mailto:david.jancth@gmail.com" target="_blank">david.jancth@gmail.com</a>&gt;<br>Subject: [gradsusr] grads user<br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
Message-ID:<br>    &lt;CAH9bReVzY=o1HR=<a href="mailto:J4GNAKP2ZcKWcS9OLTaDqU4p4Lpu9PWvo_w@mail.gmail.com" target="_blank">J4GNAKP2ZcKWcS9OLTaDqU4p4Lpu9PWvo_w@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>Dear all<br>   I am a new member<br>Thank you<br>--------------
 next part --------------<br>An HTML attachment was scrubbed...<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><span>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110829/df64682f/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110829/df64682f/attachment-0001.html</a> </span><br>
<br>------------------------------<br><br>Message: 4<br>Date: Tue, 30 Aug 2011 12:34:28 +0430<br>From: saeed bayat &lt;<a href="mailto:saeedbayat7276@gmail.com" target="_blank">saeedbayat7276@gmail.com</a>&gt;<br>Subject: [gradsusr] xcbar<br>
To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>Message-ID:<br>    &lt;CAAVavjpg8-30nqikRb0vR3gjE+CUKK=<a href="mailto:ZqF99U8Kvi38zsuBybQ@mail.gmail.com" target="_blank">ZqF99U8Kvi38zsuBybQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<div><div></div><div class="h5"><br><br>Dear GrADS users,<br>I want to run xcbar for a precipitation map VERTICALLY. I have a script for<br>this purpose<br>that work horizontally but I do not know how to use it in vertical form.<br>
<br>Any Idea?<br><br>Thanks in Advance<br><br>Saeed Bayat<br>M.A Student of Climatology<br>Department of Geography<br>Ferdowsi University of Mashhad(Iran)<br></div></div>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>
<span>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/55d09fa5/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/55d09fa5/attachment-0001.html</a> </span><br>
<br>------------------------------<br><br>Message: 5<br>Date: Tue, 30 Aug 2011 15:34:21 +0300<br>From: &quot;A. S.&quot; &lt;<a href="mailto:irln@hotmail.com" target="_blank">irln@hotmail.com</a>&gt;<br>Subject: [gradsusr] lats4d grib convertion problem<br>
To: &lt;<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a>&gt;<br>Message-ID: &lt;<a href="mailto:DUB105-W40557D1755F75B192FF8CED6170@phx.gbl" target="_blank">DUB105-W40557D1755F75B192FF8CED6170@phx.gbl</a>&gt;<br>
Content-Type: text/plain; charset=&quot;windows-1255&quot;<br><br><br>Hello,<br>I&#39;m having some problem with cropping and subsetting GRIB files.<br>I found lats4d script very useful for that, but there is some annoying error it makes - in the resulting GRIB file it writes the wrong variable names (while in the resulting CTL file they are correct).<br>
<br>For example, I&#39;m taking the lfff00120000p GRIB file (attached, together with its CTL and IDX),<br>and it has 5 fields inside: fi, omega, relhum, t, u, v.<br>You can see it in the attached
 lfff00120000p.ctl file, as well as by running &quot;wgrib lfff00120000p&quot;.<br>Then I&#39;m trying to extract only 2 fields, e.g. fi and t, to reduce the domain size, and to dump the result into a new GRIB file.<br>To do that, I&#39;m using the following command:<br>
<br><br><br><br><br><br>  <br>  <br><br><br><a href="http://lats4d.sh" target="_blank">lats4d.sh</a> -i lfff00120000p.ctl -o lfff00120000p_crop.grb -format grads_grib -lat 29 33.5 -lon 34 36 -vars fi t<br><br>This command generates 3 new files: lfff00120000p_crop.grb, lfff00120000p_crop.ctl and lfff00120000p_crop.gmp (attached as well).<br>
The resulting GRIB file seems to be valid, and the CTL file looks absolutely fine!<br>But when I try to run &quot;wgrib lfff00120000p_crop.grb&quot;, instead of fi &amp; t, I see PRES &amp; PRMSL variables!<br>My guess is, that the lats4d script is in some way unaware of the fact that the original GRIB file is encoded according to Offenbach (center code 78) GRIB table,
 but I don&#39;t know how to define it.<br><br>Any help would be highly appreciated!<br>Thanks!<br>Alon.<br><br><br>P. S. some aditional technical info, don&#39;t know if it&#39;s relevant:<br><br>lats4d Version 2.1.5<br>
<br>Grads v2.0.a9.oga.1<br><br>Ubuntu 10.04 x86_64<br>                           <br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.html</a> </span><br>
-------------- next part --------------<br>An embedded and charset-unspecified text was scrubbed...<br>Name: lfff00120000p.ctl<br><span>Url: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.pl" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.pl</a> </span><br>
-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: lfff00120000p.idx<br>Type: application/octet-stream<br>Size: 1474 bytes<br>Desc: not available<br><span>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.obj" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.obj</a> </span><br>
-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: lfff00120000p<br>Type: application/octet-stream<br>Size: 2511960 bytes<br>Desc: not available<br><span>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.obj" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.obj</a> </span><br>
-------------- next part --------------<br>An embedded and charset-unspecified text was scrubbed...<br>Name: lfff00120000p_crop.ctl<br><span>Url: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.pl" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.pl</a> </span><br>
-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: lfff00120000p_crop.gmp<br>Type: application/octet-stream<br>Size: 514 bytes<br>Desc: not available<br><span>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0002.obj" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0002.obj</a> </span><br>
-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: lfff00120000p_crop.grb<br>Type: application/octet-stream<br>Size: 98040 bytes<br>Desc: not available<br><span>Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0003.obj" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0003.obj</a> </span><br>
<br>------------------------------<br><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><span><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br>
<br><br>End of gradsusr Digest, Vol 18, Issue 41<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>