[ncl-talk] trouble with asciiReadTable

Gus Correa gus at ldeo.columbia.edu
Fri Aug 18 13:30:38 MDT 2017


Hi

Did you check your input file?
It has plenty of lines like these:

New Cell
New Cell

Could this be the reason for the error?

Gus Correa

On 08/18/2017 02:18 AM, Geeta Geeta wrote:
> Hi all.
> I am unable to handle this problem. I have an ascci file that looks like 
> this. (attached too).
> I want NCL to read the entire file. But it reads only a few lines and 
> gives me error.
> I tried with other files (of say shorter length, it reads). Does it have 
> to do anything with the data file.
> 
> Pls suggest.
> I get an error like this
> aditya at agniilap:~/geeta/ncl/ReadHDF-2A25$ ../bin/ncl ht.v35.ncl | grep [0-9]
>   Copyright (C) 1995-2014 - All Rights Reserved
>   NCAR Command Language Version 6.2.1
> warning:Empty loop body, statement ending at line (25) in file 
> (ht.v35.ncl) is being ignored
> warning:asciiread: End of file reached and only (123) elements were read 
> from the file, filling remaining elements with the default missing value 
> for the requested type
> fatal:Subscript out of range, error in subscript #1
> fatal:An error occurred reading File1
> fatal:["Execute.c":8578]:Execute: Error occurred at or near line 21 in 
> file ht.v35.ncl
> 
> I would like to add that It prints fine till the Line No 81.
> pls suggest
> Geeta.
> 
> 
> _______________________________________________
> 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