<div dir="ltr">Hello All,<div>I need help to calculate lag correlation. I have two monthly time series. I want to plot lag-lead correlation lag-30 to lead-30. Would you please help me to calculate lag-lead correlation. I want to plot similar to the plot which I have attached here with.</div><div>.<img src="cid:ii_157915db291d0ddd" alt="Inline image 1" width="440" height="233" style="margin-right: 0px;"></div><div class="gmail_extra"><br></div><div class="gmail_extra">Thank you.<br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><p><b><i><span style="font-size:10pt;font-family:&#39;Times New Roman&#39;,serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial">Bimal Gyawali</span></i></b><i><span style="font-size:10pt;font-family:&#39;Times New Roman&#39;,serif;color:rgb(46,117,182);background-image:initial;background-position:initial;background-repeat:initial"><br>
Graduate Research Assistant<br>
Department of Physical and Environment Science<br>
Natural Resources Center<br>
Texas A&amp;M University-Corpus Christi<br>
Corpus Christi, TX 78412<br>
Tel: 435-881-3603</span></i><i><span style="font-family:&quot;Times New Roman&quot;,serif"></span></i></p></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On Sat, Oct 1, 2016 at 5:48 PM, Ivan Toman <span dir="ltr">&lt;<a href="mailto:ivtoman@inet.hr" target="_blank">ivtoman@inet.hr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Thanks, I see. I suspected something like that from visual<br>
investigation. Thank you again for clarification.<br>
<br>
Best regards,<br>
Ivan<br>
<div class="HOEnZb"><div class="h5"><br>
On 09/30/2016 04:21 PM, Matt Rydzik wrote:<br>
&gt; Hi Ivan,<br>
&gt;<br>
&gt; The forecast fields directly from NCEP are averaged.<br>
&gt;<br>
&gt; Forecast Hour 22:<br>
&gt; 316:174518205:d=<a href="tel:2016093006" value="+12016093006">2016093006</a>:TCDC:low cloud layer:18-22 hour ave fcst:<br>
&gt; 317:174968393:d=<a href="tel:2016093006" value="+12016093006">2016093006</a>:TCDC:middle cloud layer:18-22 hour ave fcst:<br>
&gt; 318:175285665:d=2016093006:<wbr>TCDC:high cloud layer:18-22 hour ave fcst:<br>
&gt; 319:175676409:d=2016093006:<wbr>TCDC:entire atmosphere:18-22 hour ave fcst:<br>
&gt; <a href="http://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2016093006/gfs.t06z.pgrb2.0p25.f022.idx" rel="noreferrer" target="_blank">http://nomads.ncep.noaa.gov/<wbr>pub/data/nccf/com/gfs/prod/<wbr>gfs.2016093006/gfs.t06z.pgrb2.<wbr>0p25.f022.idx</a><br>
&gt;<br>
&gt; Forecast Hour 24<br>
&gt; 316:175355590:d=<a href="tel:2016093006" value="+12016093006">2016093006</a>:TCDC:low cloud layer:18-24 hour ave fcst:<br>
&gt; 317:175812820:d=<a href="tel:2016093006" value="+12016093006">2016093006</a>:TCDC:middle cloud layer:18-24 hour ave fcst:<br>
&gt; 318:176137930:d=<a href="tel:2016093006" value="+12016093006">2016093006</a>:TCDC:high cloud layer:18-24 hour ave fcst:<br>
&gt; 319:176531519:d=2016093006:<wbr>TCDC:entire atmosphere:18-24 hour ave fcst:<br>
&gt; <a href="http://nomads.ncep.noaa.gov/pub/data/nccf/com/gfs/prod/gfs.2016093006/gfs.t06z.pgrb2.0p25.f024.idx" rel="noreferrer" target="_blank">http://nomads.ncep.noaa.gov/<wbr>pub/data/nccf/com/gfs/prod/<wbr>gfs.2016093006/gfs.t06z.pgrb2.<wbr>0p25.f024.idx</a><br>
&gt;<br>
&gt; Matthew Rydzik<br>
&gt; Commodity Weather Group, LLC<br>
&gt; Meteorological Applications Developer<br>
&gt; 4933 Auburn Ave, 1st Floor, Bethesda, MD 20814<br>
&gt; Work: <a href="tel:%28240%29%20207-2500" value="+12402072500">(240) 207-2500</a> | Cell <a href="tel:%28540%29%20216-1940" value="+15402161940">(540) 216-1940</a> | Fax: <a href="tel:%28301%29%20656-1425" value="+13016561425">(301) 656-1425</a><br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@<wbr>gradsusr.org</a>] On Behalf Of <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
&gt; Sent: Friday, September 30, 2016 9:53 AM<br>
&gt; To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; Subject: gradsusr Digest, Vol 79, Issue 30<br>
&gt;<br>
&gt; Send gradsusr mailing list submissions to<br>
&gt;       <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;       <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to<br>
&gt;       <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at<br>
&gt;       <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific than &quot;Re: Contents of gradsusr digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;     1. Re: GFS hourly clouds output (James T. Potemra)<br>
&gt;     2. Re: GFS hourly clouds output (Ivan Toman)<br>
&gt;     3. Fog/Visibility (Chorley Weather)<br>
&gt;     4. Re: gradsusr Digest, Vol 79, Issue 29 (ramakrishna surireddi)<br>
&gt;     5. How to calculate lead lag correlation? (Bimal Gyawali)<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Thu, 29 Sep 2016 08:25:06 -1000<br>
&gt; From: &quot;James T. Potemra&quot; &lt;<a href="mailto:jimp@hawaii.edu">jimp@hawaii.edu</a>&gt;<br>
&gt; Subject: Re: [gradsusr] GFS hourly clouds output<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:344f8aa0-1ddd-46bd-dfb9-4ff26a70c95c@hawaii.edu">344f8aa0-1ddd-46bd-dfb9-<wbr>4ff26a70c95c@hawaii.edu</a>&gt;<br>
&gt; Content-Type: text/plain; charset=windows-1252; format=flowed<br>
&gt;<br>
&gt; Hi Ivan,<br>
&gt;<br>
&gt; Are you getting these from a single forecast run?  If not, and you are looking at an aggregation of different forecasts, you might be seeing an impact from re-initialization of the model (I think the GFS is run at 00, 06, 12 and 18 daily).<br>
&gt;<br>
&gt; Jim<br>
&gt;<br>
&gt;<br>
&gt; On 9/27/16 10:26 AM, Ivan Toman wrote:<br>
&gt;&gt; Hello always helpful GrADS community;<br>
&gt;&gt;<br>
&gt;&gt; I have problem with displaying GFS 0.25deg hourly clouds. It seems to<br>
&gt;&gt; me that something is broken. It is hard to explain, but best<br>
&gt;&gt; explanation is this 24h animation:<br>
&gt;&gt; <a href="http://www.meteoadriatic.net/pub/clouds_01.gif" rel="noreferrer" target="_blank">http://www.meteoadriatic.net/<wbr>pub/clouds_01.gif</a><br>
&gt;&gt;<br>
&gt;&gt; So, it seems that clouds somehow &quot;jump&quot; at every 6th hour, and<br>
&gt;&gt; inbetween are less and less defined, something like averaged more and<br>
&gt;&gt; more every hour, until they &quot;jump&quot; little bit and become defined again<br>
&gt;&gt; well. And then again in loop that repeats it&#39;s behaviour every 6 hours...<br>
&gt;&gt;<br>
&gt;&gt; What is going on there?<br>
&gt;&gt;<br>
&gt;&gt; Many thanks,<br>
&gt;&gt;<br>
&gt;&gt; Ivan Toman<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Thu, 29 Sep 2016 22:19:41 +0200<br>
&gt; From: Ivan Toman &lt;<a href="mailto:ivtoman@inet.hr">ivtoman@inet.hr</a>&gt;<br>
&gt; Subject: Re: [gradsusr] GFS hourly clouds output<br>
&gt; To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; Message-ID: &lt;<a href="mailto:2bc73df9-f68e-d18f-d2fe-5dd64f47b441@inet.hr">2bc73df9-f68e-d18f-d2fe-<wbr>5dd64f47b441@inet.hr</a>&gt;<br>
&gt; Content-Type: text/plain; charset=windows-1252; format=flowed<br>
&gt;<br>
&gt; Hello,<br>
&gt;<br>
&gt; Thank you for comment;<br>
&gt;<br>
&gt; Yes of course it is single run.<br>
&gt;<br>
&gt; Just to explain briefly what I do, because there is no reply, I started to believe it is my mistake somewhere. But I do think I do everything OK because all other things I postprocess are ok, including various ARW, NMM, NMMB, &quot;old&quot; GFS, and so on.. and also all other fields from GFS is OK, exept cloud cover.<br>
&gt;<br>
&gt; So, I download series of grib2 GFS files from grib filter using time advancing for loop in bash. After gribs are in place, I concatenate them into single grib, by:<br>
&gt; cat *pgrb2f* &gt; $GRIBDIR/gfs.grib2<br>
&gt;<br>
&gt; After that I run g2ctl and gribmap on that grib:<br>
&gt; g2ctl -verf gfs.grib2 &gt; gfs.grib2.ctl<br>
&gt; gribmap -i gfs.grib2.ctl<br>
&gt;<br>
&gt; Finally, I plot fields using GrADS, for cloud cover using TCDChcll, TCDCmcll, TCDClcll and TCDCccll variables, in time advancing loop inside GrADS over t:<br>
&gt;<br>
&gt; while ( i &lt;= last )<br>
&gt; &#39;set t &#39;i<br>
&gt; ...<br>
&gt; endwhile<br>
&gt;<br>
&gt; Do I miss something?<br>
&gt;<br>
&gt; Thanks again,<br>
&gt; Ivan Toman<br>
&gt;<br>
&gt;<br>
&gt; On 09/29/2016 08:25 PM, James T. Potemra wrote:<br>
&gt;&gt; Hi Ivan,<br>
&gt;&gt;<br>
&gt;&gt; Are you getting these from a single forecast run?  If not, and you are<br>
&gt;&gt; looking at an aggregation of different forecasts, you might be seeing<br>
&gt;&gt; an impact from re-initialization of the model (I think the GFS is run<br>
&gt;&gt; at 00, 06, 12 and 18 daily).<br>
&gt;&gt;<br>
&gt;&gt; Jim<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On 9/27/16 10:26 AM, Ivan Toman wrote:<br>
&gt;&gt;&gt; Hello always helpful GrADS community;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have problem with displaying GFS 0.25deg hourly clouds. It seems to<br>
&gt;&gt;&gt; me that something is broken. It is hard to explain, but best<br>
&gt;&gt;&gt; explanation is this 24h animation:<br>
&gt;&gt;&gt; <a href="http://www.meteoadriatic.net/pub/clouds_01.gif" rel="noreferrer" target="_blank">http://www.meteoadriatic.net/<wbr>pub/clouds_01.gif</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; So, it seems that clouds somehow &quot;jump&quot; at every 6th hour, and<br>
&gt;&gt;&gt; inbetween are less and less defined, something like averaged more and<br>
&gt;&gt;&gt; more every hour, until they &quot;jump&quot; little bit and become defined<br>
&gt;&gt;&gt; again well. And then again in loop that repeats it&#39;s behaviour every 6 hours...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; What is going on there?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Many thanks,<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Ivan Toman<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; gradsusr mailing list<br>
&gt;&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 3<br>
&gt; Date: Thu, 29 Sep 2016 21:51:33 +0100<br>
&gt; From: Chorley Weather &lt;<a href="mailto:weatherstu@chorleyweather.com">weatherstu@chorleyweather.com</a><wbr>&gt;<br>
&gt; Subject: [gradsusr] Fog/Visibility<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:333159b105b51ab519b2976821eedb13@chorleyweather.com">333159b105b51ab519b2976821eed<wbr>b13@chorleyweather.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi All,<br>
&gt;<br>
&gt; I wonder if anybody can help. Does anybody have the calculation or script to chart fog/visibility using GFS OP25 data? Many thanks in advance.....<br>
&gt; --<br>
&gt; Regards,<br>
&gt;<br>
&gt; Stuart Markham<br>
&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160929/b650a6c5/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160929/<wbr>b650a6c5/attachment-0001.html</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 4<br>
&gt; Date: Fri, 30 Sep 2016 00:33:43 +0000 (UTC)<br>
&gt; From: ramakrishna surireddi &lt;<a href="mailto:ssvs_rk@yahoo.co.in">ssvs_rk@yahoo.co.in</a>&gt;<br>
&gt; Subject: Re: [gradsusr] gradsusr Digest, Vol 79, Issue 29<br>
&gt; To: &quot;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&quot; &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:827342991.6009858.1475195623463@mail.yahoo.com">827342991.6009858.<wbr>1475195623463@mail.yahoo.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Many thanks for the command.best Wishesramakrishna ?Dr.S.S.V.S.Ramakrishna Professor &amp; Chairman Department of Meteorology &amp; Oceanography Andhra University Visakhapatnam-530003 Andhra Pradesh India<br>
&gt;<br>
&gt;        From: &quot;<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><wbr>&quot; &lt;<a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><wbr>&gt;<br>
&gt;   To: <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;   Sent: Friday, 30 September 2016 1:00 AM<br>
&gt;   Subject: gradsusr Digest, Vol 79, Issue 29<br>
&gt;<br>
&gt; Send gradsusr mailing list submissions to ??? <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;<br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit ??? <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt; or, via email, send a message with subject or body &#39;help&#39; to ??? <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
&gt;<br>
&gt; You can reach the person managing the list at ??? <a href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br>
&gt;<br>
&gt; When replying, please edit your Subject line so it is more specific than &quot;Re: Contents of gradsusr digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt; ? 1. Re: GRB files for Grads (Boddapati Anil) ? 2. decimal point as comma int csv output (AMS EmsiWx Byt?a)<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------<wbr>------------------------------<wbr>----------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Thu, 29 Sep 2016 07:19:50 -0400<br>
&gt; From: Boddapati Anil &lt;<a href="mailto:boddapati.anil2@gmail.com">boddapati.anil2@gmail.com</a>&gt;<br>
&gt; Subject: Re: [gradsusr] GRB files for Grads<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt; ??? &lt;CAJdYfFGXRX3oRTm9ojQeTSQa=<a href="mailto:J4phw-y0c7ea9KZ2Os2ZjmOaA@mail.gmail.com">J4p<wbr>hw-y0c7ea9KZ2Os2ZjmOaA@mail.<wbr>gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Dear Sir,<br>
&gt;<br>
&gt; <a href="http://grib2ctl.pl" rel="noreferrer" target="_blank">grib2ctl.pl</a> grib_file &gt;grib_file.ctl<br>
&gt; $ gribmap -i grib_file.ctl -0? ? &lt;-- this is a zero $ grads Landscape mode? (no for portrait):<br>
&gt; ga-&gt; open grib_file.ctl<br>
&gt;<br>
&gt;<br>
&gt; try above commands for creating ctl file and then ctl file I think it may useful to you<br>
&gt;<br>
&gt; With Regards<br>
&gt; Boddapati Anil<br>
&gt; Project Fellow<br>
&gt; CSIR Fourth paradigm Institute<br>
&gt; Bengaluru-17<br>
&gt;<br>
&gt; On Thu, Sep 29, 2016 at 7:06 AM, Jennifer M Adams &lt;<a href="mailto:jadams21@gmu.edu">jadams21@gmu.edu</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Here is the documentation on how to use GRIB with GrADS:<br>
&gt;&gt; <a href="http://cola.gmu.edu/grads/gadoc/grib.html" rel="noreferrer" target="_blank">http://cola.gmu.edu/grads/<wbr>gadoc/grib.html</a><br>
&gt;&gt; ?Jennifer<br>
&gt;&gt;<br>
&gt;&gt; On Sep 29, 2016, at 2:33 AM, ramakrishna surireddi<br>
&gt;&gt; &lt;<a href="mailto:ssvs_rk@yahoo.co.in">ssvs_rk@yahoo.co.in</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Dear Grads Users,<br>
&gt;&gt; Can any body help me with using a GRB file in Grads.<br>
&gt;&gt; Thank you,<br>
&gt;&gt; With Best Regards<br>
&gt;&gt; Ramakrishna<br>
&gt;&gt;<br>
&gt;&gt; Dr.S.S.V.S.Ramakrishna Professor &amp; Chairman Department of Meteorology<br>
&gt;&gt; &amp; Oceanography Andhra University Visakhapatnam-530003 Andhra Pradesh<br>
&gt;&gt; India ______________________________<wbr>_________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Jennifer Miletta Adams<br>
&gt;&gt; Center for Ocean-Land-Atmosphere Studies (COLA) George Mason<br>
&gt;&gt; University<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; gradsusr mailing list<br>
&gt;&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt;&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160929/7030b063/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160929/<wbr>7030b063/attachment-0001.html</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Thu, 29 Sep 2016 16:38:24 +0200<br>
&gt; From: AMS EmsiWx Byt?a &lt;<a href="mailto:emsiwx@pocasie-bytca.sk">emsiwx@pocasie-bytca.sk</a>&gt;<br>
&gt; Subject: [gradsusr] decimal point as comma int csv output<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID: &lt;<a href="mailto:33c1c379-4c70-61aa-89b1-5cdfee2c1810@pocasie-bytca.sk">33c1c379-4c70-61aa-89b1-<wbr>5cdfee2c1810@pocasie-bytca.sk</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Dear Grads users,<br>
&gt;<br>
&gt; I have been using (please see example below) to output data to csv:<br>
&gt;<br>
&gt; getseries(TMP2m,T2m,1000)<br>
&gt; &#39;fprintf T2m-273.16 &#39;name&#39;_&#39;date&#39;.csv %.1f, 49 0&#39;<br>
&gt; getseries(UGRD10m,ugrd,1000)<br>
&gt; &#39;fprintf ugrd &#39;name&#39;_&#39;date&#39;.csv %.1f, 49 0&#39;<br>
&gt; getseries(VGRD10m,vgrd,1000)<br>
&gt;<br>
&gt; so I get a line of a single parameter for a period of time<br>
&gt;<br>
&gt; Now I would like to get something like this:<br>
&gt;<br>
&gt; Line 1:? ? ? ? ? ? ? dd.mm.yyyy; model run; HH; zip code (this can be done in command line as input parameters); parameter1 (e.g. T2m);<br>
&gt; parameter2 (e.g. T850); parameter3 (etc.) Line 2:? ? ? ? ? ? dd.mm.yyyy; model run; HH (this means next forecast hour); zip code (this can be done in command line as input parameters);<br>
&gt; parameter1 (e.g. T2m); parameter2 (e.g. T850); parameter3 (etc.)<br>
&gt;<br>
&gt; So I would like to ask:<br>
&gt;<br>
&gt; 1. How to output dd.mm.yyyy (probably using as input parameter, if you know any other way please comment) 2. How to output model run (probably using as input parameter, if you know any other way please comment)<br>
&gt;<br>
&gt; 3. How to output HH - means forecast hour<br>
&gt;<br>
&gt; 4. Since in Europe, we preferably use semi-colon in csv to separate the values, change comma to semi-colon as a separator<br>
&gt;<br>
&gt; 5. Output comma &quot;,&quot; instead of decimal point? &quot;.&quot; ..... meaning 2.5 should be 2,5<br>
&gt;<br>
&gt;<br>
&gt; Thank your very much for your time and help. I highly appreciate it.<br>
&gt;<br>
&gt;<br>
&gt; Kindest regards,<br>
&gt;<br>
&gt;<br>
&gt; Marian<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160929/ff932459/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160929/<wbr>ff932459/attachment-0001.html</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; End of gradsusr Digest, Vol 79, Issue 29<br>
&gt; ******************************<wbr>**********<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160930/b101ec3a/attachment-0001.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160930/<wbr>b101ec3a/attachment-0001.html</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 5<br>
&gt; Date: Fri, 30 Sep 2016 08:52:42 -0500<br>
&gt; From: Bimal Gyawali &lt;<a href="mailto:bml.gya@gmail.com">bml.gya@gmail.com</a>&gt;<br>
&gt; Subject: [gradsusr] How to calculate lead lag correlation?<br>
&gt; To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt;       &lt;CAHVD8=pM1cJXNyXwS+<wbr>BrcMmzDrv7yvRQz=C4Ev=<a href="mailto:ZmczY_LO%2B%2BA@mail.gmail.com">ZmczY_LO+<wbr>+A@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt;<br>
&gt; Hello All,<br>
&gt; I am trying to calculate lead lag correlation and plot it. I want to<br>
&gt; calculate nlag=-30 to nlag=30. How can calculate and plot this? please help<br>
&gt; me with this. I have two time series with n=730. I want to plot similar to<br>
&gt; this.<br>
&gt; Thank you.[image: Inline image 1]<br>
&gt;<br>
&gt; *Bimal Gyawali*<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; * Graduate Research Assistant Department of Physical and Environment<br>
&gt; Science Natural Resources Center Texas A&amp;M University-Corpus Christi Corpus<br>
&gt; Christi, TX 78412 Tel: <a href="tel:435-881-3603" value="+14358813603">435-881-3603</a>*<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160930/1e34f00e/attachment.html" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160930/<wbr>1e34f00e/attachment.html</a><br>
&gt; -------------- next part --------------<br>
&gt; A non-text attachment was scrubbed...<br>
&gt; Name: ....PNG<br>
&gt; Type: image/png<br>
&gt; Size: 32804 bytes<br>
&gt; Desc: not available<br>
&gt; Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20160930/1e34f00e/attachment.png" rel="noreferrer" target="_blank">http://gradsusr.org/pipermail/<wbr>gradsusr/attachments/20160930/<wbr>1e34f00e/attachment.png</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; End of gradsusr Digest, Vol 79, Issue 30<br>
&gt; ******************************<wbr>**********<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; gradsusr mailing list<br>
&gt; <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
&gt; <a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
&gt;<br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/<wbr>listinfo/gradsusr</a><br>
</div></div></blockquote></div><br></div></div>