How to calculated the annually mean from monthly data set?

Heiner Körnich heiner at MISU.SU.SE
Fri Dec 9 03:25:37 EST 2005


Hej Ming,

do an average with time lag like
'set t 1 12'
'define mean=ave(variable,t+0,t=12000,12)'
'modify mean seasonal'

That should do it.

Regards,
Heiner

Ming Yang wrote:

> Hi, Guys
>    I have a 1000 year-long monthly averaged dataset, which has 12000
> data points. I would like to reduce it to annually averaged data. Do
> anyone of you know what is best way to do in Grads? Thank you in
> advance for your help.
>
> Best,
> Ming
>
>
> Ming Yang
> Department of Geological Sciences
> University of North Carolina at Chapel Hill
> myang at email.unc.edu
> 919-843-5846


--
Heiner Körnich
Dept. of Meteorology                    Tel:    +46 8 164333
Stockholms University
SE-106 91 Stockholm, Sweden             Email:  heiner at misu.su.se



More information about the gradsusr mailing list