gorelick / fmask

Automatically exported from code.google.com/p/fmask
0 stars 0 forks source link

Error at the first compile ! #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Errors showing : 

Read in header information and TIF images
??? Index exceeds matrix dimensions.

Error in ==> lndhdrread at 119
doy=str2double(char_doy(15:17));

Error in ==> nd2toar at 22
[Lmax,Lmin,Qcalmax,Qcalmin,ijdim_ref,ijdim_thm,reso_ref,...

Error in ==> plcloud_2_0sav at 22
[Temp,data,dim,ul,zen,azi,zc,satu_B1,satu_B2,satu_B3,resolu]=nd2toar(image);

Error in ==> Fmask_2_0sav at 7
[zen,azi,ptm,Temp,t_templ,t_temph,Water,Snow,plcloud,shadow,dim,ul,resolu,zc]=pl
cloud_2_0sav(im,cldprob);

Error in ==> autoFmask_2_0sav at 63
Fmask_2_0sav(norMTL.name,cldpix,sdpix,cldprob); % newest version
2.0sav

I have copied all the Fmask_2_0sav files to my Landsat Images folder and am 
trying to run the autoFmask_2_0sav. These are the errors I am encountering. Can 
any1 help me please ? 

Original issue reported on code.google.com by dsinha....@gmail.com on 11 Oct 2012 at 7:24

GoogleCodeExporter commented 8 years ago
The current 2.0 version only works for data processed after Aug. 2012 (the new 
MTL metadata). I think you are processing the data processed before Aug. 2012, 
and to make it work, you need to try the old 1.6.3 version. I'm currently 
working to make the 2.1 version capable of processing all versions.

Hope this helps.

Regards,
Zhe

Original comment by zhu...@bu.edu on 12 Oct 2012 at 7:40