[ncl-talk] A comment on an error message
Dave Allured - NOAA Affiliate
dave.allured at noaa.gov
Mon Jun 17 23:18:27 MDT 2019
Barry,
This is the variable on the left hand side:
number of dimensions of variable: (3)
This is the expression on the right hand side:
Subscripts used: (4)
The only other information presented is possibly the line number within
your script. You need to examine the assignment statement on the indicated
line number.
To coax out more information, you can assign your expression to an
undefined dummy variable, then printVarSummary on the dummy variable.
--Dave
On Mon, Jun 17, 2019 at 9:31 PM Barry Lynn <barry.h.lynn at gmail.com> wrote:
> Hello:
>
> I am wondering how to read this error message.
>
> I actually used three subscripts (1,:,:) when there are four (:,1,:,:),
> but I am wondering how to glean this information from the error message.
>
> fatal:["Execute.c":7863]:Number of subscripts on right-hand-side do not
> match
>
> number of dimensions of variable: (3), Subscripts used: (4)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190617/a17a3647/attachment.html>
More information about the ncl-talk
mailing list