<div dir="ltr"><div>Attached is a a method to get appropriate times.</div><div><br></div><div>You can write code that finds indices that occur within the desired time range.</div><div><br></div><div>Say:good luck<br></div><div><br></div><div>   1 hour: + /- 0.5 hours</div><div>   3 hour: +/- 1.5 hours</div><div>etc</div><div><br></div><div>    ii = ind(...)</div><div>    if (.not.ismissing(ii(0))) then</div><div>        AOT??? = avg(aot(ii))</div><div>    end if<br></div><div><br></div><div>good luck<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 19, 2018 at 3:22 PM Debasish Hazra <<a href="mailto:debasish.hazra5@gmail.com">debasish.hazra5@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div>I am trying to use NCL to read station data observation which spans over a month and at irregular intervals. Idea is to produce observation averages around fixed time intervals in a day (like 3,6,9,12,15,18 and 21z) using 1 hour windows. However, I am getting fill values in result, although valid observations are available at those times. Both input and ncl code is attached. Any help is appreciated.</div><div>Thank you</div><div>Debasish.</div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div>