<div dir="ltr"><div>Hi Clotilde,</div><div>The simplest way would be to subset the array for the time you would like to remove annual cycle, here is one of doing it:</div><div><br></div><div>Suppose:  data           = precip(lev,lat,lon,time)        ; say time= 30*12</div><div><br></div><div>                tmp_data   = data(lev,lat,lon,0:119)         ; time = 10*12<br></div><div>                tmp_data   =  rmMonAnnCycLLLT(tmp_data)</div><div>                data(lev,lat,lon,0:119) = tmp_data<br></div><div><br></div><div>Now the "data" variable would have annual cycle removed from first 10 years of data. Note all this is hard coded just to make things look clear.</div><div>hope that helps.</div><div><br></div><div>Cheers,</div><div>Rashed<br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 15, 2018 at 5:37 AM, Clotilde Dubois <span dir="ltr"><<a href="mailto:clotilde.dubois@mercator-ocean.fr" target="_blank">clotilde.dubois@mercator-ocean.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hey,<br>
<br>
<br>
I try to use the command "rmMonAnnCycLLLT"  to remove the annual cycle<br>
from a timeserie, could it be an easy way to make it removing the annual<br>
cycle calculated over a shorter period of time (as a reference period) and not over the all<br>
timeseries<br>
<br>
Thanks for your help,<br>
<br>
Clotilde<br>
<br>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br></div>