[Scilab-users] Find the error

Jan Åge Langeland j-lan at online.no
Tue Nov 28 17:53:59 CET 2017



On 28.11.2017 15:30, Richard llom wrote:
> Hello,
> when trying to read in this file:
> ftp://ftp-cdc.dwd.de/pub/CDC/grids_germany/monthly/radiation_direct/grids_germany_monthly_radiation_direct_201706.zip
> with:
> M = fscanfMat('grids_germany_monthly_radiation_direct_201706.asc')
>
> I'm getting an error message. I suppose there is something wrong in that
> file, but what and where exactly?
>
> Not directly a Scilab problem (except for the fact that the 'fscanfMat'
> error message could be more verbose), but maybe someone here has an idea how
> to find the error...
>
> Thanks
> richard
>
This is what I get when using csvRead. It seems to be OK up to row  
558(after the header) - I renamed the file t.txt.

mmm=csvRead("t.txt"," ",[],[],[],[],,28);
Warning: Inconsistency found in the columns. At line 559, found 1307 
columns while the previous had 654.

csvRead: can not read file t.txt: Error in the column structure

Jan



More information about the users mailing list