<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's a "Grads Tutorial" 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:"Calibri","sans-serif";color:#888888"></span></span><span><span dir="RTL" style="font-size:11.0pt;line-height:115%;font-family:"Arial","sans-serif";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"><<a href="mailto:dieniakman@gmail.com" target="_blank">dieniakman@gmail.com</a>></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'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>
'Sdfopen .........'<br>
'Set x 1081 1321'<br>
'Set y 141 261'<br>
'Set gxout fwrite'<br>
'Set fwrite ......'<br>
'D pcp'<br>
'Disable fwrite'<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>
> Send gradsusr mailing list submissions to<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
><br>
> To subscribe or unsubscribe via the World Wide Web, visit<br>
> <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>
> <a href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br>
><br>
> You can reach the person managing the list at<br>
> <a 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>
> 1. Identifying Multiple Line Graphs (leonardo)<br>
> 2. Changing Dimension (leonardo)<br>
> 3. Re: Changing Dimension (Mohsen Soltani)<br>
> 4. Re: Characteristic of 3 hourly precipitation (Mohsen Soltani)<br>
><br>
><br>
> ----------------------------------------------------------------------<br>
><br>
> Message: 1<br>
> Date: Tue, 30 Jul 2013 12:39:22 -0700 (PDT)<br>
> From: leonardo <<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>><br>
> Subject: [gradsusr] Identifying Multiple Line Graphs<br>
> To: Grads Users <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
> Message-ID:<br>
> <<a href="mailto:1375213162.75482.YahooMailNeo@web122105.mail.ne1.yahoo.com">1375213162.75482.YahooMailNeo@web122105.mail.ne1.yahoo.com</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Dear GRADS Users<br>
><br>
> I have plotted several line plots on a single graph.<br>
><br>
> Is there a script or command that I can use to create a key, so as to differentiate between the plots?<br>
><br>
> Regards<br>
> LC<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> 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>
><br>
> ------------------------------<br>
><br>
> Message: 2<br>
> Date: Tue, 30 Jul 2013 13:04:34 -0700 (PDT)<br>
> From: leonardo <<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>><br>
> Subject: [gradsusr] Changing Dimension<br>
> To: Grads Users <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
> Message-ID:<br>
> <<a href="mailto:1375214674.10748.YahooMailNeo@web122105.mail.ne1.yahoo.com">1375214674.10748.YahooMailNeo@web122105.mail.ne1.yahoo.com</a>><br>
> Content-Type: text/plain; charset="us-ascii"<br>
><br>
> Dear GRADS User<br>
><br>
> I have a data set with define longitude from 0 to 360.<br>
> Is there a way to change it so I can have longitude define from -180 to 180?<br>
><br>
> Regards<br>
> LC<br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> 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>
><br>
> ------------------------------<br>
><br>
> Message: 3<br>
> Date: Tue, 30 Jul 2013 13:11:27 -0700<br>
> From: Mohsen Soltani <<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>><br>
> Subject: Re: [gradsusr] Changing Dimension<br>
> To: leonardo <<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>>, GrADS Users Forum<br>
> <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
> Message-ID:<br>
> <CAPoCDiO_a5=<a href="mailto:AwRyMaATa_9yURSU8rkjjQ6bF9Zw5iprfDpAqfw@mail.gmail.com">AwRyMaATa_9yURSU8rkjjQ6bF9Zw5iprfDpAqfw@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> 'set lon -180 180'<br>
><br>
><br>
> Mohsen<br>
><br>
><br>
> --<br>
> April showers bring May flowers!<br>
> --<br>
> *Mohsen Soltani, M.Sc.*<br>
> Climatology Grad Student,<br>
> Department of Climatology, Faculty of Geography,<br>
> University of Tehran, Tehran, Iran<br>
> voice: (+98) 9119772934<br>
> e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
><br>
><br>
> On Tue, Jul 30, 2013 at 1:04 PM, leonardo <<a href="mailto:leoclarke@yahoo.com">leoclarke@yahoo.com</a>> wrote:<br>
><br>
>> Dear GRADS User<br>
>><br>
>> I have a data set with define longitude from 0 to 360.<br>
>> Is there a way to change it so I can have longitude define from -180 to<br>
>> 180?<br>
>><br>
>> Regards<br>
>> LC<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>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> 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>
><br>
> ------------------------------<br>
><br>
> Message: 4<br>
> Date: Tue, 30 Jul 2013 13:30:34 -0700<br>
> From: Mohsen Soltani <<a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a>><br>
> Subject: Re: [gradsusr] Characteristic of 3 hourly precipitation<br>
> To: GrADS Users Forum <<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br>
> Message-ID:<br>
> <<a href="mailto:CAPoCDiMDq9vn8oSw3U3bPJZDwS8HbzS9k9iAhHJmv4PmwtyFXQ@mail.gmail.com">CAPoCDiMDq9vn8oSw3U3bPJZDwS8HbzS9k9iAhHJmv4PmwtyFXQ@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="iso-8859-1"<br>
><br>
> I'm not quite sure what you mean by "characteristics of ...". But, however,<br>
> you may want to draw the time series of your data for a particular period<br>
> of time, e.g. December 2002, by using the following script: Your output<br>
> will be something like the attache plot, which it's a daily precipitation<br>
> data.<br>
><br>
> ******************<br>
> 'sdfopen ............'<br>
> 'set lat 37'<br>
> 'set lon 49.5'<br>
> t1='01dec2002'<br>
> t2='30dec2002'<br>
> 'set time 't1' 't2<br>
> 'set gxout bar'<br>
> 'set bargap 25'<br>
> 'set barbase 0'<br>
> 'set vrange 2''set ylint 2'<br>
> 'set ccolor 4'<br>
> 'd .....'<br>
> ***************************<br>
> You can also do this: 'set gxout stat', to get some useful statistical<br>
> information...<br>
><br>
><br>
> Mohsen<br>
><br>
> --<br>
> April showers bring May flowers!<br>
> --<br>
> *Mohsen Soltani, M.Sc.*<br>
> Climatology Grad Student,<br>
> Department of Climatology, Faculty of Geography,<br>
> University of Tehran, Tehran, Iran<br>
> voice: (+98) 9119772934<br>
> e-mail: <a href="mailto:soltani.clima@gmail.com">soltani.clima@gmail.com</a><br>
><br>
><br>
> On Tue, Jul 30, 2013 at 5:10 AM, <<a href="mailto:dieniakman@gmail.com">dieniakman@gmail.com</a>> wrote:<br>
><br>
>> I have 3 hourly netcdf data from mirador, i'm doing an assignment using<br>
>> grads as a tool. But i have problem to make the grid file with the script.<br>
>> I want to see the characteristic of 3 hourly precipitation on december 2002.<br>
>> I'm using 7a version. Please help me find out to display the<br>
>> characteristic of 3 hourly precipitation that i want to know. Thanks in<br>
>> advance.<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>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> 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>
> -------------- next part --------------<br>
> A non-text attachment was scrubbed...<br>
> Name: time series.jpg<br>
> Type: image/jpeg<br>
> Size: 250405 bytes<br>
> Desc: not available<br>
> 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>
><br>
> ------------------------------<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>
><br>
><br>
> End of gradsusr Digest, Vol 41, Issue 61<br>
> ****************************************<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>