Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms_preprocessing
Commits
9f98c9a4
Commit
9f98c9a4
authored
Nov 27, 2020
by
Daniel Scheffler
Browse files
Added missing code belonging to the previous commit.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
2b1d9a1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/L2B_P.py
View file @
9f98c9a4
...
...
@@ -66,9 +66,13 @@ class L2B_object(L2A_object):
# FIXME exclude or include thermal bands; respect sorted CWLs in context of LayerBandsAssignment
tgt_sat
,
tgt_sen
=
datasetid_to_sat_sen
(
CFG
.
datasetid_spectral_ref
)
# NOTE: get target LBA at L2A, because spectral characteristics of target sensor do not change after AC
tgt_LBA
=
get_LayerBandsAssignment
(
GMS_identifier
(
satellite
=
tgt_sat
,
sensor
=
tgt_sen
,
subsystem
=
''
,
image_type
=
'RSD'
,
proc_level
=
'L2A'
,
dataset_ID
=
src_dsID
,
logger
=
None
))
tgt_gmsid_kw
=
dict
(
satellite
=
tgt_sat
,
sensor
=
tgt_sen
,
subsystem
=
''
,
image_type
=
'RSD'
,
dataset_ID
=
src_dsID
,
logger
=
None
)
tgt_LBA
=
get_LayerBandsAssignment
(
GMS_identifier
(
proc_level
=
'L2A'
,
**
tgt_gmsid_kw
))
if
CFG
.
datasetid_spectral_ref
is
None
:
tgt_cwl
=
CFG
.
target_CWL
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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