<div dir="ltr"><div dir="ltr">Please look at example mjoclivar_15.ncl. See how it uses these statements to specify a time range, then translate calendar dates to integer time indices. Later in the example, you can see how the integer indices are used to read in the desired subset of a data file, not the entire file. This is similar to what you need to do.</div><div dir="ltr"><br></div><div dir="ltr"><font face="monospace"> ymdStrt = 19961016 ; start yyyymmdd<br> ymdLast = 19970415 ; last <br> TIME = f->time ; days since ...<br> YMD = cd_calendar(TIME, -2) ; entire (time,6)<br> iStrt = ind(YMD.eq.ymdStrt) ; index start<br> iLast = ind(YMD.eq.ymdLast) ; index last<br></font><br><br>On Sat, Jan 4, 2020 at 3:42 AM Rahpeni Fajarianti via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:</div><div class="gmail_quote"><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></div><div>Based on the <a href="http://minmax_4.nc" target="_blank">minmax_4.nc</a> it run all the data once.<br></div><div>(<a href="https://www.ncl.ucar.edu/Applications/Scripts/minmax_4.ncl" target="_blank">https://www.ncl.ucar.edu/Applications/Scripts/minmax_4.ncl</a>). But i want to plot for 2 years (20160101-20171231) daily, so it create 730 figure plot.</div><div><br></div><div>What should i do to create those plot daily, and loop creating plot from 20160101 to 20170101 (730 figure) ?</div><div><br></div><div>this is my ncl script:<br></div><div><a href="https://drive.google.com/open?id=14XF63cW5LozS3TOhI3GA0oK0CQ37k739" target="_blank">https://drive.google.com/open?id=14XF63cW5LozS3TOhI3GA0oK0CQ37k739</a></div><div><br></div><div>this is my data:</div><div><a href="https://drive.google.com/open?id=1FsNbYU-1BU2Nr8S8tP6ATIekb8GhQzd0" target="_blank">https://drive.google.com/open?id=1FsNbYU-1BU2Nr8S8tP6ATIekb8GhQzd0</a></div><div><br></div><div>Thanks in advance, for anyone could help<br></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></blockquote></div></div>