Commit 694b3cf5 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Sepctral homogenization from Sentinel-2 to Landsat-8 works properly now.

Fixed "AssertionError: Number of given bandnames does not match number of bands in array."
parent a84f56f7
......@@ -151,7 +151,7 @@ class L2B_object(L2A_object):"Performing linear interpolation for 'AC errors' array to match target sensor bands "
outarr = interp1d(np.array(src_cwls), self.ac_errors,
axis=2, kind='linear', fill_value='extrapolate')(CFG.target_CWL)
axis=2, kind='linear', fill_value='extrapolate')(tgt_cwl)
self.ac_errors = outarr.astype(np.int16)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment