Commit 9f98c9a4 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Added missing code belonging to the previous commit.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent 2b1d9a1c
......@@ -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,
tgt_LBA = get_LayerBandsAssignment(GMS_identifier(proc_level='L2A', **tgt_gmsid_kw))
if CFG.datasetid_spectral_ref is None:
tgt_cwl = CFG.target_CWL
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