[gradsusr] calculating the trend for summer seasons

Eric Altshuler ela at cola.iges.org
Thu May 16 21:50:13 EDT 2013


Dear Mohsen, 


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? 


Thanks 


Eric L. Altshuler 
Research Scientist 
Center for Ocean-Land-Atmosphere Studies 
4041 Powder Mill Road, Suite 302 
Calverton, MD 20705-3106 
USA 

E-mail: ela at cola.iges.org 
Phone: (301) 902-1257 
Fax: (301) 595-9793 

----- Original Message -----
From: "Mohsen Soltani" <soltani.clima at gmail.com> 
To: "GrADS Users Forum" <gradsusr at gradsusr.org> 
Sent: Wednesday, May 15, 2013 1:24:56 PM 
Subject: Re: [gradsusr] calculating the trend for summer seasons 

hi, 

You may also use the following example script to plot time-series for 
your precipitation data. 

t1='1june2012' 
t2='30august2012' 
'set time 't1' 't2 
'set gxout bar' 
'set bargap 25' 
'set barbase 0' 
'set vrange 2''set ylint 2' 
'set ccolor 4' 
'd precip' (or your var name) 

This will plot a bar-chart for 3 months of the summer in the year 2012 
only. The attached plot is just as an output example. 

Mohsen 

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


-- 
-- 
some are weather-wise some are otherwise! 
-- 
Best Wishes, 
(Mr.) Mohsen Soltani 
Climatology Grad Student (M.Sc.), 
Faculty of Geography, University of Tehran, Tehran, Iran 
Tel: (+98) 9119772934 
e-mail: soltani.clima at gmail.com 

_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130516/7161276a/attachment-0003.html 


More information about the gradsusr mailing list