<div dir="ltr">t1='01Apr1995'<div style>t2='30Jun1995'</div><div style>'set time 't1' 't2</div><div style>'d pcpn' (or whatever your var name is)</div><div style><br></div><div style>
Stephen Mc</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 10:34 AM, Mohsen Soltani <span dir="ltr"><<a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear <span style="font-family:arial,sans-serif;font-size:13px">Stephen,</span></div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div class="gmail_default"><font face="arial, sans-serif">I was watching your posts - you and Mary, and said to myself, OK! let's try to make a time series plot based on your example script! </font></div>
<div class="gmail_default"><font face="arial, sans-serif">It was very good and the attached plot is my output. I applied this script for a weather station in north of Iran viz Rasht station - in southern coasts of Caspian Sea. I used daily precipitation data compiled by APHRODITE's Water Resources in the year 1995, just as an example.</font></div>
<div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default"><font face="arial, sans-serif">Now, I have a question: is it possible to define a specific period of time to draw time-series plot? For example, imagine we have a daily precipitation data for 12-months in one year, say 1995, I would like to plot the histogram of only between the e.g. April and June, how should I set time to do so? </font></div>
<div class="gmail_default"><br></div><div class="gmail_default"><font face="arial, sans-serif">Any suggestion?</font></div><div class="gmail_default"><font face="arial, sans-serif"><br></font></div><div class="gmail_default">
<font face="arial, sans-serif">Thank you,</font></div><div class="gmail_default"><font face="arial, sans-serif">Mohsen</font></div><span style="font-size:9.5pt;line-height:115%;font-family:'Times New Roman',serif"> </span></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>
some are weather-wise some are otherwise!</div><div>--<br>Best Wishes, <br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>
Tel: <a href="tel:%28%2B98%29%209119772934" value="+989119772934" target="_blank">(+98) 9119772934</a><br>e-mail: <a href="mailto:soltani.clima@gmail.com" target="_blank">soltani.clima@gmail.com</a><br></div></div></div>
<div><div class="h5">
<br><br><div class="gmail_quote">On Tue, May 14, 2013 at 6:30 AM, Stephen McMillan <span dir="ltr"><<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Mary,<div>You're welcome. Regarding the script <a href="http://hist.gs" target="_blank">hist.gs</a>, I have never used and barely reviewed, so hopefully its author or someone else can provide more insight into its use applicable to your situation.</div>
<div>Stephen Mc</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 14, 2013 at 9:14 AM, Mary Ndlovu <span dir="ltr"><<a href="mailto:maryndlovu2@gmail.com" target="_blank">maryndlovu2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Stephen, <br><br>I think this is the same as recipe 20 open grads. I wasn't clear enough. Ok, I have just looked into this, this would give me the yrs vs the precipitation, where as what i am looking into doing is to draw a histogram where you get the mean in the middle of the chart, then have an interval of the precipitation in mm/dy. I am trying to compare variability between re-analysis and model outputs. So i guess assigning the bins, and using somehow a <a href="http://hist.gs" target="_blank">hist.gs</a> would help. But i am clueless as to how this script works since there seems to be no documentation on it, or atleast something online that somebody tried. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, May 14, 2013 at 2:59 PM, Stephen McMillan <span dir="ltr"><<a href="mailto:smcmillan@planalytics.com" target="_blank">smcmillan@planalytics.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello Mary,<div><br></div><div>Here's a short example using precip from the GFS model:</div>
<div><br>
</div><div>'set t 1 last'</div><div>'set lat 40';'set lon -75.5'</div>
<div>'set gxout bar'</div><div>'set bargap 25'</div><div>'set barbase 0'</div><div>'set vrange 0 2';'set ylint 0.2'</div><div>'set ccolor 3'</div>
<div>'d apcpsfc/25.4'</div><div><br></div><div>Above example should plot green bars (columns) for precipitation for all 65 timesteps in dataset. See Documentation Index for more information on each command.</div>
<div><br></div><div>Stephen McMillan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div>On Tue, May 14, 2013 at 8:37 AM, Mary Ndlovu <span dir="ltr"><<a href="mailto:maryndlovu2@gmail.com" target="_blank">maryndlovu2@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="ltr"><div>Hello all, <br><br></div><div>Please help me with plotting a histogram from timeseries. I tried googling and found <a href="http://hist.gs" target="_blank">hist.gs</a> but it is so difficult to use it since i do not understand what i really need to do. Please help if you have a script to do this, or how to let my script work with the <a href="http://hist.gs" target="_blank">hist.gs</a>. Thanks in advance<br>
</div></div>
<br></div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div>
</div></div><div><pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
</pre><br></div><div>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></div></blockquote></div><br></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></div>
<pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************
</pre></div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">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></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></div>
<pre>***************************************************
The information contained in this e-mail message is intended only for the use of the recipient(s) named above and may contain information that is privileged, confidential, and/or proprietary.
If you are not the intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify the sender immediately by e-mail, and delete the original message.
***************************************************