<div dir="ltr"><div>Thank You, on that error message fixed by using reassignment (<b> time = a->time</b> ).<br></div><div>But the data still not selecting as the date time i want (i want to plot only 20160101-20160102), main dataset i have is 20160101-20171231<br></div><div><br></div><div><b>This is my printVarSummary (after reassigntment for the selected date):</b><br></div><div>Variable: time<br>Type: double<br>Total Size: 256 bytes<br> 32 values<br>Number of Dimensions: 1<br>Dimensions and sizes: [time | 32]<br>Coordinates: <br> time: [1893408..1894152]<br>Number Of Attributes: 8<br> units : hours since 1800-01-01 00:00:0.0<br> long_name : Time<br> actual_range : ( 1528872, 1919688 )<br> delta_t : 0000-00-01 00:00:00<br> standard_name : time<br> axis : T<br><b> ending_date : 0000 UTC 31 Dec 2017<br> beginning_date : 0000 UTC 1 Jan 2016</b></div><div><br></div><div>Am i wrong coding the time select code?<br></div><div>I also including my script.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jan 4, 2020 at 2:07 PM Dave Allured - NOAA Affiliate <<a href="mailto:dave.allured@noaa.gov">dave.allured@noaa.gov</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 dir="ltr">This error message and possible solution are on the page "Common error messages" on the NCL support website.<div><a href="https://www.ncl.ucar.edu/Document/Language/error_messages.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Language/error_messages.shtml</a><br></div></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 3, 2020 at 9:31 PM Rahpeni Fajarianti via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</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>Hello NCL User,</div><div>I am trying to custom time for local minima and maxima_4, <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></div><div><br></div><div>And i get this error<br></div><div>fatal:Dimension sizes of left hand side and right hand side of assignment do not match</div>fatal:["Execute.c":8635]:Execute: Error occurred at or near line 182<br><br><div>...........</div><div><b>ncl 182> time = a->time ; all times on file</b><br>ncl 183> ymd = cd_calendar(time, -2) ; yyyymmdd<br>ncl 184> iStrt = ind(ymd.eq.ymdStrt) ; index start<br>ncl 185> iLast = ind(ymd.eq.ymdLast) ; index last <br>ncl 186> delete(time)<br>ncl 187> delete(ymd)</div><div>...........</div><div><br></div><div>I also include my script</div><div>Thanks for anybody could help<br></div></div></blockquote></div></div>
</blockquote></div>