Commit 2dd5935e authored by Leonardo Alvarado's avatar Leonardo Alvarado
Browse files

change detector to VNIR

parent b48b47ba
Pipeline #41430 failed with stage
in 10 minutes and 12 seconds
...@@ -141,7 +141,7 @@ class AtmosphericCorrector(object): ...@@ -141,7 +141,7 @@ class AtmosphericCorrector(object):
wl_ref_vnir, wl_ref_swir, water_additional_results = \ wl_ref_vnir, wl_ref_swir, water_additional_results = \
polymer_ac_enmap(enmap_l1b=enmap_ImageL1, polymer_ac_enmap(enmap_l1b=enmap_ImageL1,
config=self.cfg, config=self.cfg,
detector='merge') detector='vnir')
return wl_ref_vnir, wl_ref_swir, water_additional_results return wl_ref_vnir, wl_ref_swir, water_additional_results
...@@ -175,7 +175,7 @@ class AtmosphericCorrector(object): ...@@ -175,7 +175,7 @@ class AtmosphericCorrector(object):
wl_ref_vnir_water, wl_ref_swir_water, water_additional_results = \ wl_ref_vnir_water, wl_ref_swir_water, water_additional_results = \
polymer_ac_enmap(enmap_l1b=enmap_ImageL1, polymer_ac_enmap(enmap_l1b=enmap_ImageL1,
config=self.cfg, config=self.cfg,
detector='merge') detector='vnir')
# use mask value 2 for replacing water corrected pixels # use mask value 2 for replacing water corrected pixels
wlboa_ref_vnir = np.where((enmap_ImageL1.vnir.mask_landwater[:] == 2)[:, :, None], wlboa_ref_vnir = np.where((enmap_ImageL1.vnir.mask_landwater[:] == 2)[:, :, None],
......
Supports Markdown
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