Closed bbuman closed 4 years ago
When running mSCOPE using a fresh clone of the repository (no changes, master branch, Matlab 2019a):
Index exceeds the number of array elements (2). Error in Sint (line 17) mean = .5 * (y(1:nx-1) + y(2:nx)); Error in RTMfm (line 280) rad.Eoutf = 0.001 * Sint(sum(Fhem,1)',spectral.wlF); Error in mSCOPE (line 300) [rad,profiles] = RTMf_m(spectral,rad,soil,leafopt,canopy,gap,angles,profiles);
Index exceeds the number of array elements (2).
Error in Sint (line 17) mean = .5 * (y(1:nx-1) + y(2:nx));
Error in RTMfm (line 280) rad.Eoutf = 0.001 * Sint(sum(Fhem,1)',spectral.wlF);
Error in mSCOPE (line 300) [rad,profiles] = RTMf_m(spectral,rad,soil,leafopt,canopy,gap,angles,profiles);
This error is related to the fluorescence calculation.
Issue fixed
When running mSCOPE using a fresh clone of the repository (no changes, master branch, Matlab 2019a):
This error is related to the fluorescence calculation.