[ncl-talk] Array Issue

Hoffman Cheung hoffmancheung at gmail.com
Tue Nov 15 15:16:50 MST 2016


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>:

> 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
> 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/dc5d2742/attachment.html 


More information about the ncl-talk mailing list