[gradsusr] Creating Climatology

Eric Altshuler ela at cola.iges.org
Wed Apr 3 16:05:57 EDT 2013


Hi LC, 


In this case you would change 264 to 265 since t=264 would correspond to November. 


Eric 

----- Original Message -----
From: "leonardo" <leoclarke at yahoo.com> 
To: "GrADS Users Forum" <gradsusr at gradsusr.org> 
Sent: Wednesday, April 3, 2013 3:07:48 PM 
Subject: Re: [gradsusr] Creating Climatology 


Thanks Eric 

Another question. 

If the dataset began in December as you suggest and you "set t 2 13 " what 
modification would you do in the line "'clim=ave(precip,t+24,t=264,12)'"? 

Regards 
LC 








From: Eric Altshuler <ela at cola.iges.org> 
To: GrADS Users Forum <gradsusr at gradsusr.org> 
Sent: Wednesday, April 3, 2013 1:33 PM 
Subject: Re: [gradsusr] Creating Climatology 




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 


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 

_______________________________________________ 
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/33176b43/attachment-0003.html 


More information about the gradsusr mailing list