[gradsusr] Calculating Seasonal Averages in grads

M De mithu.de.2015 at gmail.com
Wed Mar 9 05:59:15 EST 2016


Hello,

After doing seasonal ave, I also want to do ave from say, 1900-1950.

Seeking your help.

Regards,

P


Try using the time increment option in the ave function like so:  d
ave(<variable>,t-1,t+1,12) for monthly data, centered on the middle
month of the season. If your anomaly time series starts with January,
you'd want to start with January of the second year (t=13 for your
data).  Note that if any data is missing (say you don't have Dec.), the
average will be computed using whatever months are available.

Hope this helps,

Bill Bua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160309/71cf762f/attachment.html 


More information about the gradsusr mailing list