[ncl-talk] I need a suggestion how to reset a variable

David Brown dbrown at ucar.edu
Wed Dec 21 12:33:15 MST 2016


Hi Barry,
You need to use the "reassignment" operator ":=" instead of normal
assignment "=".
 -dave

On Wed, Dec 21, 2016 at 12:23 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:
> Hi:
>
> I am panelling data.
>
> Each time, I read a new input file with different length (lines).
>
> The second time through, I get the error below.
>
> I believe that I need to tell NCL to ignore previous variable size
> designations/sizes, and I am wondering how to do this.
>
> Thank you.
>
> fatal:Dimension sizes of left hand side and right hand side of assignment do
> not match
> fatal:["Execute.c":8578]:Execute: Error occurred at or near line 99 in file
> ./obs_radar.ncl
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


More information about the ncl-talk mailing list