Commit 23456ae4 authored by Niklas Bohn's avatar Niklas Bohn
Browse files

Merge branch 'bugfix/EnPT_Issue#78' into 'master'

EnMAP L1B object data arrays are now safely copied instead of remaining mutable.

See merge request !92
parents e0e7b668 86d9245d
......@@ -15,6 +15,7 @@ Bugfixes:
* Fixed bug in empirical line function which produced unrealistic peaks in water reflectance spectra.
* Removed infinite values from water vapor first guess map to ensure convergence of Eigenvalues when calculating information content.
* Removed numba jit from hyperspectral LUT interpolation to avoid potential numba related bugs.
* Data arrays from the EnMAP L1B object are now safely copied instead of remaining mutable. This prevents issues with later usages.
0.16.1 (2021-03-24)
......
......@@ -478,8 +478,8 @@ class Fo(object):
self.cpu = options["retrieval"]["cpu"]
self.disable_progressbars = options["retrieval"]["disable_progressbars"]
self.instrument = options["sensor"]["name"]
self.data_vnir = enmap_l1b.vnir.data
self.data_swir = enmap_l1b.swir.data
self.data_vnir = enmap_l1b.vnir.data.arr.copy()
self.data_swir = enmap_l1b.swir.data.arr.copy()
self.resamp_alg = options["sensor"]["resamp_alg"]
self.land_only = options["retrieval"]["land_only"]
self.water_mask_vnir = enmap_l1b.vnir.mask_landwater[:, :]
......
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