<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" <soltani.clima@gmail.com><br><b>To: </b>"GrADS Users Forum" <gradsusr@gradsusr.org><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> '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 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 <luis.blacutt@gmail.com> wrote:<br>> Hi Gürol,<br>><br>> You need to know what your variable names are, you will find it by tiping<br>> q file<br>> then you can use simple powerful tools, such as<br>> d ave(variablename,t=initialtime,t=finaltime,timestep)<br>> that in your case might be t=6, t=408, timestep=12, that will calculate the<br>> average for june for the whole period (1979-2012), and so on<br>><br>> Best regards<br>> Luis<br>><br>><br>> On Wed, May 15, 2013 at 10:53 AM, Gürol Çerçi <cercig@gmail.com> wrote:<br>><br>>> Hello,<br>>><br>>> I have a monthly precipitation data set, 3 dimensional (lat, lon, time)<br>>> in<br>>> netcdf format.<br>>><br>>> For a specific grid point, I want to calculate the linear trend between<br>>> 1979-2012 for total summer values (June+July+August).<br>>><br>>> Any tips to do that as the easiest way? (I have already the script to<br>>> calculate the linear trend).<br>>><br>>> For example:<br>>> set lat 10<br>>> set lon 160<br>>> set t something<br>>> then what to write?<br>>><br>>> Thanks...<br>>> --<br>>> Gürol Çerçi<br>>> Meteorological Engineer<br>>><br>>> _______________________________________________<br>>> gradsusr mailing list<br>>> gradsusr@gradsusr.org<br>>> http://gradsusr.org/mailman/listinfo/gradsusr<br>>><br>>><br>><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>