Commit cf87802e authored by Niklas Bohn's avatar Niklas Bohn
Browse files

Ensured that EnMAP L1B data are actively read into memory in case the GeoArray...


Ensured that EnMAP L1B data are actively read into memory in case the GeoArray instance is not in memory already.
Signed-off-by: Niklas Bohn's avatarnbohn <nbohn@gfz-potsdam.de>
parent e92d9c35
......@@ -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.arr.copy()
self.data_swir = enmap_l1b.swir.data.arr.copy()
self.data_vnir = enmap_l1b.vnir.data[:].copy()
self.data_swir = enmap_l1b.swir.data[:].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