<span id="result_box" class="short_text" lang="en"><span class="hps">I think this can</span> <span class="hps">help you.<br></span></span><a href="http://www.iges.org/grads/gadoc/gradfuncave.html">http://www.iges.org/grads/gadoc/gradfuncave.html</a><br>
<br>Example:<br>define climt2=ave(t2,t=1,t=365)<br><span id="result_box" class="" lang="en"><span class="hps"><br>You need to know how  times have the ctl<br>to daily data, the average of the year, the final time will be t = 365</span></span><br>
<br><span id="result_box" class="short_text" lang="en"><span class="hps">Hope this helps</span><span>.<br>Cheers!<br></span></span>-- <br>Rafael Censi Borges<br>Meteorologia - Epagri/Ciram<br>+55 (48)3239-8064/8066<br><a href="http://ciram.epagri.sc.gov.br" target="_blank">http://ciram.epagri.sc.gov.br</a><br>
<br><br><div class="gmail_quote">2012/6/4 &quot;Omar V. Müller&quot; <span dir="ltr">&lt;<a href="mailto:ovmuller@yahoo.com.ar" target="_blank">ovmuller@yahoo.com.ar</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have daily variables for 10 years, and I want to compute the annual<br>
cycle averaging the 10 years for each day:<br>
<br>
open d01_daily.ctl<br>
define climt2=ave(t2,time=01jan2001,time=31dec2001,1yr)<br>
<br>
But, I get:<br>
<br>
Error from AVE: Invalid time increment argument<br>
Operation Error:  Error from ave function<br>
   Error ocurred at column 1<br>
DEFINE error:  Invalid expression.<br>
<br>
The 1yr time increment only works with monthly values!?<br>
I don&#39;t want to use 365 because leap-years.<br>
<br>
Thanks,<br>
Omar.<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br><br clear="all"><br><br>