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
geomultisens
pyrsr
Commits
aca92a2b
Commit
aca92a2b
authored
Aug 21, 2019
by
Daniel Scheffler
Browse files
Fix.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
6d0a28a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
pyrsr/sensorspecs.py
View file @
aca92a2b
...
...
@@ -314,16 +314,16 @@ def get_LayerBandsAssignment(satellite, sensor, subsystem='', no_thermal=False,
specs
=
get_sensorspecs
(
satellite
,
sensor
,
subsystem
)
LBA
=
specs
[
'LBA'
]
if
sort_by_cwl
and
'LBA_sorted'
in
specs
:
if
sort_by_cwl
and
specs
[
'LBA_sorted'
]
:
LBA
=
specs
[
'LBA_sorted'
]
if
no_thermal
and
'thermal'
in
specs
:
if
no_thermal
and
specs
[
'thermal'
]
:
LBA
=
[
i
for
i
in
LBA
if
i
not
in
specs
[
'thermal'
]]
if
no_pan
and
'pan'
in
specs
:
if
no_pan
and
specs
[
'pan'
]
:
LBA
=
[
i
for
i
in
LBA
if
i
not
in
specs
[
'pan'
]]
if
after_ac
and
'LBA_after_AC'
in
specs
:
if
after_ac
and
specs
[
'LBA_after_AC'
]
:
LBA
=
[
i
for
i
in
LBA
if
i
in
specs
[
'LBA_after_AC'
]]
return
LBA
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