[gradsusr] Creating Climatology

Eric Altshuler ela at cola.iges.org
Wed Apr 3 14:33:34 EDT 2013


Hello Luis, 


The 'set t 1 12' line is definitely needed. It sets the dimension environment to vary in time (monthly in this case) over one year (1979) from January to December, which is what you need to do before calculating a monthly climatology. If the monthly dataset began in December rather than January, use 'set t 2 13' instead. 


Eric 

----- Original Message -----
From: "Luis Blacutt" <luis.blacutt at gmail.com> 
To: "GrADS Users Forum" <gradsusr at gradsusr.org> 
Sent: Wednesday, April 3, 2013 2:02:18 PM 
Subject: Re: [gradsusr] Creating Climatology 


Also, you don't need the 
'set t 1 12' 

command line, and I agree with Eric, that only line is what you need to calculate the average. 



On Wed, Apr 3, 2013 at 2:40 PM, Eric Altshuler < ela at cola.iges.org > wrote: 




'clim=ave(precip,t+24,t=264,12)' 


From: "leonardo" < leoclarke at yahoo.com > 
To: "Grads Users" < gradsusr at gradsusr.org > 
Sent: Wednesday, April 3, 2013 1:31:41 PM 
Subject: [gradsusr] Creating Climatology 




Hello GrADS Users 

I have a monthly dataset from 1979 to 2012. 

I would like to calculate the climatology using 1981 - 2000. 

The code that I have is given below, it uses 1979 - 2008. 
"set t 1 12" 
"clim = mean(precip,t+0,t=360,12)" 
"modify clim seasonal" 

Can anyone assist? 

Regards 
LC 




_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 

_______________________________________________ 
gradsusr mailing list 
gradsusr at gradsusr.org 
http://gradsusr.org/mailman/listinfo/gradsusr 





_______________________________________________ 
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/20130403/2d2e4e65/attachment-0003.html 


More information about the gradsusr mailing list