[Scilab-users] surf and %nan
Richard llom
richard.llom at gmail.com
Wed Nov 22 09:33:16 CET 2017
Hey Rafael & Samuel,
thanks for the replies.
However I'm really having a hard time to process this data.
This is the raw data in question:
ftp://ftp-cdc.dwd.de/pub/CDC/grids_germany/monthly/radiation_diffuse/grids_germany_monthly_radiation_diffuse_201601.zip
My minimal script:
asc_list = listfiles('*.asc');
asc_idx = 1;
asc_file = asc_list(asc_idx);
[asc_data, comments] = fscanfMat(asc_file);
[a,b] = find(asc_data==-999);
asc_data(a,b) = %nan;
surf(asc_data);
Right now it even fails at processing the -999 to nans... It's like I'm
hitting bugs in scilabs?
regards
richard
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
More information about the users
mailing list