<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Hi Dieni,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

Have a look at the following link, which it&#39;s a &quot;Grads Tutorial&quot; website. You can also find many other useful graphics in this site:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

<a href="http://www.wishingwork.com/grads/graphics-controls/fwrite-graphics.html" style="font-family:arial">http://www.wishingwork.com/grads/graphics-controls/fwrite-graphics.html</a></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">And also try this one:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><a href="http://gradsusr.org/pipermail/gradsusr/2010-September/011426.html" style="font-family:arial">http://gradsusr.org/pipermail/gradsusr/2010-September/011426.html</a></div>

<div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">that, a person has had such a problem before like yours.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">Hope it helps,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;color:rgb(0,0,0)">

Mohsen </div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><span><span style="font-size:11.0pt;line-height:115%;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#888888" lang="AR-SA"><span></span></span></span>--<div>

<span style="font-family:arial;font-size:12px;background-color:rgb(255,255,255)"><font color="#274e13">April showers bring May flowers!</font></span><br></div><div>--<font color="#b45f06">                                      <br>

<b>Mohsen Soltani, M.Sc.</b><br>Climatology Grad Student,<br>Department of Climatology, Faculty of Geography,</font></div><div><font color="#b45f06">University of Tehran, </font><span style="color:rgb(180,95,6)">Tehran, Iran</span></div>

<div><font color="#b45f06">voice: (+98) 9119772934<br>e-mail</font><font color="#bf9000">:</font> <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 2:39 PM, Dieni <span dir="ltr">&lt;<a href="mailto:dieniakman@gmail.com" target="_blank">dieniakman@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks for replying me, Mohsen. I&#39;m sorry i forgot to introduce myself, my name is Dieni. I am an undergrad student of geophysic and meteorology in Bogor Agricultural University or people here call it Institut Pertanian Bogor.<br>


<br>
Now back to the problem, what i mean about characteristic of 3 hourly precipitation, i want to make a display a picture of the average value of 3 hourly precipitation. Is it possible to make a script to read the 31 datas that i have, using gs file to make a grid data. Or is it necesarry? Or i just simply should make a ctl file that cut the area that i want it to be displayed?<br>


<br>
I have some problem to make the grid and ctl data because everytime i try to do the command fwrite, they dont make any new data to the the file directory that i want.<br>
<br>
I wrote this script on my notepad++ in order to make the grid data<br>
<br>
&#39;Sdfopen .........&#39;<br>
&#39;Set x 1081 1321&#39;<br>
&#39;Set y 141 261&#39;<br>
&#39;Set gxout fwrite&#39;<br>
&#39;Set fwrite ......&#39;<br>
&#39;D pcp&#39;<br>
&#39;Disable fwrite&#39;<br>
<br>
I have 6 variable in one netcdf data one of them is precipitation (pcp).<br>
<br>
<br>
<br>
Sent from my iPad<br>
<br>
On 31 Jul 2013, at 03:31, <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a> wrote:<br>
<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" target="_blank">http://gradsusr.org/mailman/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<br>
&gt; than &quot;Re: Contents of gradsusr digest...&quot;<br>
&gt;<br>
&gt;<br>
&gt; Today&#39;s Topics:<br>
&gt;<br>
&gt;   1. Identifying Multiple Line Graphs (leonardo)<br>
&gt;   2. Changing Dimension (leonardo)<br>
&gt;   3. Re: Changing Dimension (Mohsen Soltani)<br>
&gt;   4. Re: Characteristic of 3 hourly precipitation (Mohsen Soltani)<br>
&gt;<br>
&gt;<br>
&gt; ----------------------------------------------------------------------<br>
&gt;<br>
&gt; Message: 1<br>
&gt; Date: Tue, 30 Jul 2013 12:39:22 -0700 (PDT)<br>
&gt; From: leonardo &lt;<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>&gt;<br>
&gt; Subject: [gradsusr] Identifying Multiple Line Graphs<br>
&gt; To: Grads Users &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt;    &lt;<a href="mailto:1375213162.75482.YahooMailNeo@web122105.mail.ne1.yahoo.com">1375213162.75482.YahooMailNeo@web122105.mail.ne1.yahoo.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt; Dear GRADS Users<br>
&gt;<br>
&gt; I have plotted several line plots on a single graph.<br>
&gt;<br>
&gt; Is there a script or command that I can use to create a key, so as to differentiate between the plots?<br>
&gt;<br>
&gt; Regards<br>
&gt; LC<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130730/85200f4d/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130730/85200f4d/attachment-0001.html</a><br>


&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 2<br>
&gt; Date: Tue, 30 Jul 2013 13:04:34 -0700 (PDT)<br>
&gt; From: leonardo &lt;<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>&gt;<br>
&gt; Subject: [gradsusr] Changing Dimension<br>
&gt; To: Grads Users &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt;    &lt;<a href="mailto:1375214674.10748.YahooMailNeo@web122105.mail.ne1.yahoo.com">1375214674.10748.YahooMailNeo@web122105.mail.ne1.yahoo.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt;<br>
&gt; Dear GRADS User<br>
&gt;<br>
&gt; I have a data set with define longitude from 0 to 360.<br>
&gt; Is there a way to change it so I can have longitude define from -180 to 180?<br>
&gt;<br>
&gt; Regards<br>
&gt; LC<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130730/704dec7d/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130730/704dec7d/attachment-0001.html</a><br>


&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 3<br>
&gt; Date: Tue, 30 Jul 2013 13:11:27 -0700<br>
&gt; From: Mohsen Soltani &lt;<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>&gt;<br>
&gt; Subject: Re: [gradsusr] Changing Dimension<br>
&gt; To: leonardo &lt;<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>&gt;, GrADS Users Forum<br>
&gt;    &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
&gt; Message-ID:<br>
&gt;    &lt;CAPoCDiO_a5=<a href="mailto:AwRyMaATa_9yURSU8rkjjQ6bF9Zw5iprfDpAqfw@mail.gmail.com">AwRyMaATa_9yURSU8rkjjQ6bF9Zw5iprfDpAqfw@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt; &#39;set lon -180 180&#39;<br>
&gt;<br>
&gt;<br>
&gt; Mohsen<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; April showers bring May flowers!<br>
&gt; --<br>
&gt; *Mohsen Soltani, M.Sc.*<br>
&gt; Climatology Grad Student,<br>
&gt; Department of Climatology, Faculty of Geography,<br>
&gt; University of Tehran, Tehran, Iran<br>
&gt; voice: (+98) 9119772934<br>
&gt; e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 30, 2013 at 1:04 PM, leonardo &lt;<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Dear GRADS User<br>
&gt;&gt;<br>
&gt;&gt; I have a data set with define longitude from 0 to 360.<br>
&gt;&gt; Is there a way to change it so I can have longitude define from -180 to<br>
&gt;&gt; 180?<br>
&gt;&gt;<br>
&gt;&gt; Regards<br>
&gt;&gt; LC<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130730/a2b01d8c/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130730/a2b01d8c/attachment-0001.html</a><br>


&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; Message: 4<br>
&gt; Date: Tue, 30 Jul 2013 13:30:34 -0700<br>
&gt; From: Mohsen Soltani &lt;<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>&gt;<br>
&gt; Subject: Re: [gradsusr] Characteristic of 3 hourly precipitation<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;<a href="mailto:CAPoCDiMDq9vn8oSw3U3bPJZDwS8HbzS9k9iAhHJmv4PmwtyFXQ@mail.gmail.com">CAPoCDiMDq9vn8oSw3U3bPJZDwS8HbzS9k9iAhHJmv4PmwtyFXQ@mail.gmail.com</a>&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;<br>
&gt; I&#39;m not quite sure what you mean by &quot;characteristics of ...&quot;. But, however,<br>
&gt; you may want to draw the time series of your data for a particular period<br>
&gt; of time, e.g. December 2002, by using the following script: Your output<br>
&gt; will be something like the attache plot, which it&#39;s a daily precipitation<br>
&gt; data.<br>
&gt;<br>
&gt; ******************<br>
&gt; &#39;sdfopen ............&#39;<br>
&gt;    &#39;set lat 37&#39;<br>
&gt;    &#39;set lon 49.5&#39;<br>
&gt; t1=&#39;01dec2002&#39;<br>
&gt; t2=&#39;30dec2002&#39;<br>
&gt;   &#39;set time &#39;t1&#39; &#39;t2<br>
&gt;    &#39;set gxout bar&#39;<br>
&gt;    &#39;set bargap 25&#39;<br>
&gt;    &#39;set barbase 0&#39;<br>
&gt;    &#39;set vrange 2&#39;&#39;set ylint 2&#39;<br>
&gt;    &#39;set ccolor 4&#39;<br>
&gt;    &#39;d .....&#39;<br>
&gt; ***************************<br>
&gt; You can also do this: &#39;set gxout stat&#39;, to get some useful statistical<br>
&gt; information...<br>
&gt;<br>
&gt;<br>
&gt; Mohsen<br>
&gt;<br>
&gt; --<br>
&gt; April showers bring May flowers!<br>
&gt; --<br>
&gt; *Mohsen Soltani, M.Sc.*<br>
&gt; Climatology Grad Student,<br>
&gt; Department of Climatology, Faculty of Geography,<br>
&gt; University of Tehran, Tehran, Iran<br>
&gt; voice: (+98) 9119772934<br>
&gt; e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
&gt;<br>
&gt;<br>
&gt; On Tue, Jul 30, 2013 at 5:10 AM, &lt;<a href="mailto:dieniakman@gmail.com">dieniakman@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I have 3 hourly netcdf data from mirador, i&#39;m doing an assignment using<br>
&gt;&gt; grads as a tool. But i have problem to make the grid file with the script.<br>
&gt;&gt; I want to see the characteristic of 3 hourly precipitation on december 2002.<br>
&gt;&gt; I&#39;m using 7a version. Please help me find out to display the<br>
&gt;&gt; characteristic of 3 hourly precipitation that i want to know. Thanks in<br>
&gt;&gt; advance.<br>
&gt;&gt; _______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130730/77210893/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130730/77210893/attachment.html</a><br>
&gt; -------------- next part --------------<br>
&gt; A non-text attachment was scrubbed...<br>
&gt; Name: time series.jpg<br>
&gt; Type: image/jpeg<br>
&gt; Size: 250405 bytes<br>
&gt; Desc: not available<br>
&gt; Url : <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20130730/77210893/attachment.jpg" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20130730/77210893/attachment.jpg</a><br>
&gt;<br>
&gt; ------------------------------<br>
&gt;<br>
&gt; _______________________________________________<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" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
&gt;<br>
&gt;<br>
&gt; End of gradsusr Digest, Vol 41, Issue 61<br>
&gt; ****************************************<br>
<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>
</blockquote></div><br></div>