[gradsusr] Creating Climatology

Eric Altshuler ela at cola.iges.org
Wed Apr 3 17:55:21 EDT 2013


Hi Luis, 


I'm pretty sure I'm correct here. The grads documentation gives an example of how to make a climatology: 



http://grads.iges.org/grads/gadoc/gradcomdmodify.html 


Best regards, 
Eric 

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



Dear Eric, as far as I understand that instruction only will cause to repeat the same calculation 12 times 
Best regards 
Luis 
El 03/04/2013 15:37, "Eric Altshuler" < ela at cola.iges.org > escribió: 




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: 

<blockquote>


'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 


</blockquote>

_______________________________________________ 
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/8103f647/attachment-0003.html 


More information about the gradsusr mailing list