[ncl-talk] Array Issue

Black, Forrest (LARC-D318)[UNIVERSITIES SPACE RESEARCH ASSOCIATION] forrest.black at nasa.gov
Tue Nov 15 15:20:20 MST 2016


Thanks very much Hoffman. Deleting “lines” did the trick.


-        Forrest

From: Hoffman Cheung [mailto:hoffmancheung at gmail.com]
Sent: Tuesday, November 15, 2016 5:17 PM
To: Black, Forrest (LARC-D318)[UNIVERSITIES SPACE RESEARCH ASSOCIATION] <forrest.black at nasa.gov>
Cc: ncl-talk at ucar.edu
Subject: Re: [ncl-talk] Array Issue

Hi Forest,

On line 96, the command is
lines = asciiread(fname,-1,"string")

You have tried to delete "fname", but it seems like you have not tried to delete the variable "lines".

Cheers, Hoffman


2016-11-15 23:08 GMT+01:00 Black, Forrest (LARC-D318)[UNIVERSITIES SPACE RESEARCH ASSOCIATION] <forrest.black at nasa.gov<mailto:forrest.black at nasa.gov>>:
Hello, fellow NCL users,

I am getting the following error on the attached script:

Variable: fname
Type: string
Total Size: 4 bytes
            1 values
Number of Dimensions: 1
Dimensions and sizes:   [1]
Coordinates:
(0)     2016-01-21_09.csv

fatal: Dimension sizes of left hand side and right hand side of assignment do not match
fatal:["Execute.c":8575]:Execute: Error occurred at or near line 96 in file traject_xy.ncl

I tried deleting the associated variables per iteration, but still can’t seems to fix the error. Any suggestions would be greatly appreciated.


-        Forrest


_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto:ncl-talk at ucar.edu>
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161115/c6896c88/attachment.html 


More information about the ncl-talk mailing list