[ncl-talk] Selecting Time Error (fatal:Dimension sizes of left hand side and right hand side of assignment do not match)

Rahpeni Fajarianti rahpenifajarianti at gmail.com
Fri Jan 3 21:31:01 MST 2020


Hello NCL User,
I am trying to custom time for local minima and maxima_4,
https://www.ncl.ucar.edu/Applications/Scripts/minmax_4.ncl

And i get this error
fatal:Dimension sizes of left hand side and right hand side of assignment
do not match
fatal:["Execute.c":8635]:Execute: Error occurred at or near line 182

...........
*ncl 182>    time    = a->time                          ; all times on file*
ncl 183>    ymd     = cd_calendar(time, -2)            ; yyyymmdd
ncl 184>    iStrt   = ind(ymd.eq.ymdStrt)              ; index start
ncl 185>    iLast   = ind(ymd.eq.ymdLast)              ; index last
ncl 186>    delete(time)
ncl 187>    delete(ymd)
...........

I also include my script
Thanks for anybody could help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200104/e16a7619/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maxima minima
Type: application/octet-stream
Size: 4606 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200104/e16a7619/attachment.obj>


More information about the ncl-talk mailing list