[Scilab-users] Find the error

CRETE Denis denis.crete at thalesgroup.com
Tue Nov 28 16:06:29 CET 2017


When the header is stripped off, there is no error:
M=fscanfMat('grids_germany_monthly_radiation_direct_201706.asc');
 
-->size(M)
 ans  = 
    866.    654.  
 
-->max(M)
 ans  = 
    136.16  
 
-->min(M(M>-999))
 ans  =  59.  

Denis

-----Message d'origine-----
De : users [mailto:users-bounces at lists.scilab.org] De la part de Éric Dubois
Envoyé : mardi 28 novembre 2017 15:45
À : Users mailing list for Scilab
Objet : Re: [Scilab-users] Find the error

Hello

Maybe you could unzip the files before trying to read it?

Éric 

Envoyé de mon iPhone

> Le 28 nov. 2017 à 15:30, Richard llom <richard.llom at gmail.com> a écrit :
> 
> Hello,
> when trying to read in this file:
> ftp://ftp-cdc.dwd.de/pub/CDC/grids_germany/monthly/radiation_direct/gr
> ids_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
> 
> 
> 
> --
> Sent from: 
> http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f26
> 02246.html _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
_______________________________________________
users mailing list
users at lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


More information about the users mailing list