[gradsusr] Seasonal Average

Mary Ndlovu maryndlovu at aol.com
Mon May 13 08:07:53 EDT 2013


Hi, 

First you have to define a season like this...

after opening the files, and selecting your domain
e.g set lat -10 10'
'set lon 50 180'
*'set mproj scaled'
'set time 'd1''mmm1''y1' 'dn''mmmn''yn'' where  'd1''mmm1''y1 is the beginning and 'dn''mmmn''yn'' is the end, eg set time 01march2010 20dec2015

'define t=ave(sst,time='d1''mmm1',time='dn''mmmn')' eg set t=ave(sst,time=01jun,time=31aug) for JJA season 
'set time 'dn''mmmn''yn''
then you use your season like the line below to include the parameter you defined as the season.
'define ct=ave(t,time='d1''mmm1''y1',time='dn''mmmn''yn')' 
'undefine t'

All the best, if you don't understand anything you are free to inbox me

 

 

Mary Ndlovu
maryndlovu at aol.com

 

 

-----Original Message-----
From: leonardo <leoclarke at yahoo.com>
To: Grads Users <gradsusr at gradsusr.org>
Sent: Wed, May 8, 2013 5:51 pm
Subject: [gradsusr] Seasonal Average



Their GrADS Users.


I have a monthly data set and I want to create a seasonal index.


I tried using "seasonAve = mean(sst,t-1,t+1,12)" which I saw
online but it is not working.


Can anyone help? 



Thnaks
LC



_______________________________________________
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/20130513/51666305/attachment-0003.html 


More information about the gradsusr mailing list