[gradsusr] Creating Climatology

leonardo leoclarke at yahoo.com
Wed Apr 3 15:07:48 EDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130403/31358d8f/attachment-0003.html 


More information about the gradsusr mailing list