<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">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</div><div><br></div></div>