<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 12pt; color: #000000'>Dear Mohsen,<div><br></div><div>I was looking at the two precip plots you made, and I noticed the values in the April-June plot are about 3 times larger than those in the annual plot (for the same period). Which plot has the correct values and what are the units?</div><div><br></div><div>Thanks</div><div><br><div><span name="x"></span>Eric L. Altshuler<br>Research Scientist<br>Center for Ocean-Land-Atmosphere Studies<br>4041 Powder Mill Road, Suite 302<br>Calverton, MD 20705-3106<br>USA<br><br>E-mail: ela@cola.iges.org<br>Phone: (301) 902-1257<br>Fax: (301) 595-9793<span name="x"></span><br></div><br><hr id="zwchr"><b>From: </b>"Mohsen Soltani" &lt;soltani.clima@gmail.com&gt;<br><b>To: </b>"GrADS Users Forum" &lt;gradsusr@gradsusr.org&gt;<br><b>Sent: </b>Wednesday, May 15, 2013 1:24:56 PM<br><b>Subject: </b>Re: [gradsusr] calculating the trend for summer seasons<br><br>hi,<br><br>You may also use the following example script to plot time-series for<br>your precipitation data.<br><br>t1='1june2012'<br>t2='30august2012'<br>&nbsp;&nbsp; 'set time 't1' 't2<br>&nbsp;&nbsp; &nbsp;'set gxout bar'<br>&nbsp;&nbsp; &nbsp;'set bargap 25'<br>&nbsp;&nbsp; &nbsp;'set barbase 0'<br>&nbsp;&nbsp; &nbsp;'set vrange 2''set ylint 2'<br>&nbsp;&nbsp; &nbsp;'set ccolor 4'<br>&nbsp;&nbsp; &nbsp;'d precip' (or your var name)<br><br>This will plot a bar-chart for 3 months of the summer in the year 2012<br>only. The attached plot is just as an output example.<br><br>Mohsen<br><br>On 5/15/13, Luis Blacutt &lt;luis.blacutt@gmail.com&gt; wrote:<br>&gt; Hi Gürol,<br>&gt;<br>&gt; You need to know what your variable names are, you will find it by tiping<br>&gt; q file<br>&gt; then you can use simple powerful tools, such as<br>&gt; d ave(variablename,t=initialtime,t=finaltime,timestep)<br>&gt; that in your case might be t=6, t=408, timestep=12, that will calculate the<br>&gt; average for june for the whole period (1979-2012), and so on<br>&gt;<br>&gt; Best regards<br>&gt; Luis<br>&gt;<br>&gt;<br>&gt; On Wed, May 15, 2013 at 10:53 AM, Gürol Çerçi &lt;cercig@gmail.com&gt; wrote:<br>&gt;<br>&gt;&gt; Hello,<br>&gt;&gt;<br>&gt;&gt; I have a monthly precipitation data set, 3 dimensional (lat, lon, time)<br>&gt;&gt; in<br>&gt;&gt; netcdf format.<br>&gt;&gt;<br>&gt;&gt; For a specific grid point, I want to calculate the linear trend between<br>&gt;&gt; 1979-2012 for total summer values (June+July+August).<br>&gt;&gt;<br>&gt;&gt; Any tips to do that as the easiest way? (I have already the script to<br>&gt;&gt; calculate the linear trend).<br>&gt;&gt;<br>&gt;&gt; For example:<br>&gt;&gt; set lat 10<br>&gt;&gt; set lon 160<br>&gt;&gt; set t something<br>&gt;&gt; then what to write?<br>&gt;&gt;<br>&gt;&gt; Thanks...<br>&gt;&gt; --<br>&gt;&gt; Gürol Çerçi<br>&gt;&gt; Meteorological Engineer<br>&gt;&gt;<br>&gt;&gt; _______________________________________________<br>&gt;&gt; gradsusr mailing list<br>&gt;&gt; gradsusr@gradsusr.org<br>&gt;&gt; http://gradsusr.org/mailman/listinfo/gradsusr<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br><br><br>-- <br>--<br>some are weather-wise some are otherwise!<br>--<br>Best Wishes,<br>(Mr.) Mohsen Soltani<br>Climatology Grad Student (M.Sc.),<br>Faculty of Geography, University of Tehran, Tehran, Iran<br>Tel: (+98) 9119772934<br>e-mail: soltani.clima@gmail.com<br><br>_______________________________________________<br>gradsusr mailing list<br>gradsusr@gradsusr.org<br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div></body></html>