Thanks Dennis,<div><br></div><div>Yes because i just need to analyze JFM (90 days) for 40 years. I know the above trick but i just want delete 31 march only for LEAP YEAR not for whole years. Do you know how to do that?</div><div><br></div><div>thanks<br><br>On Friday, April 17, 2015, Dennis Shea <<a href="mailto:shea@ucar.edu">shea@ucar.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>[1] Yes ... there is a way<br></div>[2] But ... why would ypu want to do that? It introduces a 'spectral gap' in the time series.<br><br>===<br></div> foo(time,lat,lon)<br><br></div> time has units understood by cd_calendar<br> <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/cd_calendar.shtml</a><br><br></div><div> TIME = cd_calendar(time, 0)<br></div><div><br></div> ikeep = ind(.not.(TIME(:,1).eq.3 .and. TIME(:,2).eq.31) )<br></div> FOO = foo(ikeep,:,:)<br></div> delete(foo)<br><div><div><div><br> <br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 16, 2015 at 4:16 PM, Xi Chang <span dir="ltr"><<a href="javascript:_e(%7B%7D,'cvml','xi.chang01@gmail.com');" target="_blank">xi.chang01@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi NCL, <div>I have 40 years daily data, i need to delete 31 march only for the leap year, is there any quick way to do that?</div><div><br></div><div>Regards</div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div>