[gradsusr] 1yr time increment

RafaelCB rafael.ciram at gmail.com
Mon Jun 4 15:19:14 EDT 2012


I think this can help you.
http://www.iges.org/grads/gadoc/gradfuncave.html

Example:
define climt2=ave(t2,t=1,t=365)

You need to know how  times have the ctl
to daily data, the average of the year, the final time will be t = 365

Hope this helps.
Cheers!
-- 
Rafael Censi Borges
Meteorologia - Epagri/Ciram
+55 (48)3239-8064/8066
http://ciram.epagri.sc.gov.br


2012/6/4 "Omar V. Müller" <ovmuller at yahoo.com.ar>

> Hello,
>
> I have daily variables for 10 years, and I want to compute the annual
> cycle averaging the 10 years for each day:
>
> open d01_daily.ctl
> define climt2=ave(t2,time=01jan2001,time=31dec2001,1yr)
>
> But, I get:
>
> Error from AVE: Invalid time increment argument
> Operation Error:  Error from ave function
>   Error ocurred at column 1
> DEFINE error:  Invalid expression.
>
> The 1yr time increment only works with monthly values!?
> I don't want to use 365 because leap-years.
>
> Thanks,
> Omar.
> _______________________________________________
> 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/20120604/4e7c93ce/attachment-0003.html 


More information about the gradsusr mailing list