Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
EnMAP
GFZ_Tools_EnMAP_BOX
EnPT
Commits
2dd5935e
Commit
2dd5935e
authored
Apr 12, 2022
by
Leonardo Alvarado
Browse files
change detector to VNIR
parent
b48b47ba
Pipeline
#41430
failed with stage
in 10 minutes and 12 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
enpt/processors/atmospheric_correction/atmospheric_correction.py
View file @
2dd5935e
...
...
@@ -141,7 +141,7 @@ class AtmosphericCorrector(object):
wl_ref_vnir
,
wl_ref_swir
,
water_additional_results
=
\
polymer_ac_enmap
(
enmap_l1b
=
enmap_ImageL1
,
config
=
self
.
cfg
,
detector
=
'
merge
'
)
detector
=
'
vnir
'
)
return
wl_ref_vnir
,
wl_ref_swir
,
water_additional_results
...
...
@@ -175,7 +175,7 @@ class AtmosphericCorrector(object):
wl_ref_vnir_water
,
wl_ref_swir_water
,
water_additional_results
=
\
polymer_ac_enmap
(
enmap_l1b
=
enmap_ImageL1
,
config
=
self
.
cfg
,
detector
=
'
merge
'
)
detector
=
'
vnir
'
)
# use mask value 2 for replacing water corrected pixels
wlboa_ref_vnir
=
np
.
where
((
enmap_ImageL1
.
vnir
.
mask_landwater
[:]
==
2
)[:,
:,
None
],
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment