[gradsusr] Mean of specific time

Rafanoharana Serge Claudio rafanoharana at gmail.com
Wed Sep 28 13:29:38 EDT 2011


Dear all,

How to get the mean of a specific time. I mean I have monthly data of 10
years. I need to obtain the mean of each month. I used 'cdo -r ymeanmonth
input.nc output.nc' but my computer says cannot allocate memory since the
file is pretty big in size (20 Gb)

Then I tried to use GrADS but cannot find the appropriate command.
I will take one by one the mean of each month, so for example for october

if I do define oct=mean (var, t=1, t=12) it will give me the mean of 12
month but I do not need that but I need the mean of all october of 10 years
of the monthly data of 10 years.

How to get each october?
Something like  'define
oct=mean(var,t=10,t=22,t=34,t=46,t=58,t=71,t=83,t=95,t=107,t=119)

I hope you get the idea

Serge


-- 
Serge
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110928/48ef22e4/attachment-0003.html 


More information about the gradsusr mailing list