<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi Saeed,<br><br>try run xcbar&nbsp; 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> "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> 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>&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><span>&nbsp;&nbsp;&nbsp; <a target="_blank" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><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: GCM Output (Tummuri, Spandana)<br>&nbsp;  2. Re: GCM Output (<a ymailto="mailto:tcavazos@cicese.mx" href="mailto:tcavazos@cicese.mx">tcavazos@cicese.mx</a>)<br>&nbsp;  3. grads user (david jan)<br>&nbsp;  4. xcbar (saeed bayat)<br>&nbsp;  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: "Tummuri, Spandana" &lt;<a ymailto="mailto:tummuris@cdm.com" href="mailto:tummuris@cdm.com">tummuris@cdm.com</a>&gt;<br>Subject: Re: [gradsusr] GCM Output<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:6906BEEB113AEB48B9910246026EA9BED175647E4E@CAMEXCMS3.cdminc.internal.cdm.com"
 href="mailto:6906BEEB113AEB48B9910246026EA9BED175647E4E@CAMEXCMS3.cdminc.internal.cdm.com">6906BEEB113AEB48B9910246026EA9BED175647E4E@CAMEXCMS3.cdminc.internal.cdm.com</a>&gt;<br>&nbsp;&nbsp;&nbsp; <br>Content-Type: text/plain; charset="us-ascii"<br><br>Thank you for the responses.&nbsp; This is helpful.<br><br><br>From: <a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">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 ymailto="mailto:tummuris@cdm.com" href="mailto:tummuris@cdm.com">tummuris@cdm.com</a>&lt;mailto:<a
 ymailto="mailto:tummuris@cdm.com" href="mailto:tummuris@cdm.com">tummuris@cdm.com</a>&gt;&gt; wrote:<br>Hello All,<br><br>This question is slightly related to grads program but not entirely.&nbsp; 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.&nbsp; The precipitation variable is in units kg/m2/sec.&nbsp; 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 ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&lt;mailto:<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">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 target="_blank"
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20110829/db7f8660/attachment-0001.html">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 ymailto="mailto:tcavazos@cicese.mx" href="mailto:tcavazos@cicese.mx">tcavazos@cicese.mx</a><br>Subject: Re: [gradsusr] GCM Output<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:8f552122b6ea0d957fdadccf4d753534.squirrel@arrecife.cicese.mx" href="mailto:8f552122b6ea0d957fdadccf4d753534.squirrel@arrecife.cicese.mx">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&nbsp; = 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.&nbsp; This is helpful.<br>&gt;<br>&gt;<br>&gt; From: <a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a ymailto="mailto:gradsusr-bounces@gradsusr.org" href="mailto:gradsusr-bounces@gradsusr.org">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 ymailto="mailto:tummuris@cdm.com" href="mailto:tummuris@cdm.com">tummuris@cdm.com</a>&lt;mailto:<a ymailto="mailto:tummuris@cdm.com" href="mailto:tummuris@cdm.com">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.&nbsp; 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.&nbsp; The precipitation variable is in units kg/m2/sec.&nbsp; 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 ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&lt;mailto:<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">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 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><br><br><br><br>------------------------------<br><br>Message: 3<br>Date: Mon, 29 Aug 2011 21:35:41 -0700<br>From: david jan &lt;<a ymailto="mailto:david.jancth@gmail.com" href="mailto:david.jancth@gmail.com">david.jancth@gmail.com</a>&gt;<br>Subject: [gradsusr] grads user<br>To: <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;CAH9bReVzY=o1HR=<a ymailto="mailto:J4GNAKP2ZcKWcS9OLTaDqU4p4Lpu9PWvo_w@mail.gmail.com" href="mailto:J4GNAKP2ZcKWcS9OLTaDqU4p4Lpu9PWvo_w@mail.gmail.com">J4GNAKP2ZcKWcS9OLTaDqU4p4Lpu9PWvo_w@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>Dear all<br>&nbsp;  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 target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110829/df64682f/attachment-0001.html">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 ymailto="mailto:saeedbayat7276@gmail.com" href="mailto:saeedbayat7276@gmail.com">saeedbayat7276@gmail.com</a>&gt;<br>Subject: [gradsusr] xcbar<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;CAAVavjpg8-30nqikRb0vR3gjE+CUKK=<a ymailto="mailto:ZqF99U8Kvi38zsuBybQ@mail.gmail.com"
 href="mailto:ZqF99U8Kvi38zsuBybQ@mail.gmail.com">ZqF99U8Kvi38zsuBybQ@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/55d09fa5/attachment-0001.html">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: "A. S." &lt;<a ymailto="mailto:irln@hotmail.com"
 href="mailto:irln@hotmail.com">irln@hotmail.com</a>&gt;<br>Subject: [gradsusr] lats4d grib convertion problem<br>To: &lt;<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>Message-ID: &lt;<a ymailto="mailto:DUB105-W40557D1755F75B192FF8CED6170@phx.gbl" href="mailto:DUB105-W40557D1755F75B192FF8CED6170@phx.gbl">DUB105-W40557D1755F75B192FF8CED6170@phx.gbl</a>&gt;<br>Content-Type: text/plain; charset="windows-1255"<br><br><br>Hello,<br>I'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'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 "wgrib lfff00120000p".<br>Then I'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'm using the following command:<br><br><br><br><br><br><br>&nbsp; <br>&nbsp; <br><br><br><a target="_blank" href="http://lats4d.sh">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 "wgrib lfff00120000p_crop.grb", 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'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't know if it'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> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp; &nbsp;  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; <br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <a target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.html">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 target="_blank"
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.pl">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 target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment.obj">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 target="_blank"
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.obj">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 target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0001.pl">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 target="_blank"
 href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0002.obj">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 target="_blank" href="http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0003.obj">http://gradsusr.org/pipermail/gradsusr/attachments/20110830/c4acfcae/attachment-0003.obj</a> </span><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><span><a target="_blank"
 href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a></span><br><br><br>End of gradsusr Digest, Vol 18, Issue 41<br>****************************************<br></div></div>
</div></body></html>