Commit 995c68f7 authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Mathias Peters
Browse files

Fixed linting error.

parent 280c7a9f
......@@ -1974,7 +1974,7 @@ def get_LayerBandsAssignment(GMS_id, nBands=None, sort_by_cwl=None, no_thermal=N
# => use the LBA of the target sensor after AC as the new LBA for the requested sensor
# find out how the spectral characteristics of this known target sensor look like after AC
from ..model.gms_object import GMS_identifier
from ..model.gms_object import GMS_identifier # noqa F811 # redefinition of unused 'GMS_identifier'
tgt_sat, tgt_sen = datasetid_to_sat_sen(CFG.datasetid_spectral_ref)
tgt_GMSid = GMS_identifier(image_type='RSD', satellite=tgt_sat, sensor=tgt_sen, subsystem='',
proc_level='L2A', dataset_ID=None, logger=None)
......@@ -1983,7 +1983,7 @@ def get_LayerBandsAssignment(GMS_id, nBands=None, sort_by_cwl=None, no_thermal=N
except ACNotSupportedError:
# use the target sensor LBA before AC (because target sensor could not be atmospherically corrected)
tgt_GMSid.update(dict(proc_level='L1B'))
tgt_GMSid.proc_level = 'L1B'
tgt_sen_LBA = get_LayerBandsAssignment(tgt_GMSid)
......
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