Commit aeab2474 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed L2A output containing BOA reflectance on water pixels instead of water...


Fixed L2A output containing BOA reflectance on water pixels instead of water leaving reflectance in combined AC mode.
Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent fc28b6af
Pipeline #21046 passed with stage
in 12 minutes and 43 seconds
......@@ -163,10 +163,10 @@ class AtmosphericCorrector(object):
detector='merge')
# use mask value 2 for replacing water corrected pixels
wlboa_ref_vnir = np.where(enmap_ImageL1.vnir.mask_landwater == 2,
wlboa_ref_vnir = np.where((enmap_ImageL1.vnir.mask_landwater[:] == 2)[:, :, None],
wl_ref_vnir_water,
boa_ref_vnir_land)
wlboa_ref_swir = np.where(enmap_ImageL1.swir.mask_landwater == 2,
wlboa_ref_swir = np.where((enmap_ImageL1.swir.mask_landwater[:] == 2)[:, :, None],
wl_ref_swir_water,
boa_ref_swir_land)
......
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