[gradsusr] Help needed in getting annual mean from time series data

sudev das M P devdas.pnr at gmail.com
Fri May 21 11:22:03 EDT 2010


Dear Grads users,
I am a beginner in GrADS.
I have a multi-year time series data. I want to get the annual mean in this
data.

Please see that from the following I can get monthly time series plot, and
it is working fine.

'set lon 30'
'set lat 5'

'set t 2 302'

*------------------------
*Monthly time series
*------------------------
'define sstmonth=aave(sst.1,lon=30,
lon=78,lat=5,lat=31)'

'set gxout line'
'set cmark 4'
'set grads off'
'set ccolor 9'
'd sstmonth'

In the same plot, I want to have one more curve showing the annual mean.
I mean 26 annual mean values for the 26 years.

I don't know how to do this.

I will highly appreciate if someone can help me in this.

Thanks,

Sudev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100521/e373760e/attachment-0003.html 


More information about the gradsusr mailing list