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
gms_preprocessing
Commits
beaecf1b
Commit
beaecf1b
authored
Dec 13, 2017
by
Daniel Scheffler
Browse files
Bugfix
Former-commit-id:
0b84b858
Former-commit-id:
98d757f2
parent
3fb500bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/L2B_P.py
View file @
beaecf1b
...
...
@@ -74,8 +74,8 @@ class L2B_object(L2A_object):
"the spectral refernce sensor."
)
return
if
src_cwls
==
tgt_cwls
or
\
(
self
.
satellite
==
tgt_sat
and
self
.
sensor
==
tgt_sen
and
self
.
LayerBandsAssignment
==
tgt_LBA
):
if
src_cwls
==
tgt_cwls
or
(
self
.
satellite
==
tgt_sat
and
self
.
sensor
==
tgt_sen
):
# FIXME catch the case if LayerBandsAssignments are unequal with np.take
self
.
logger
.
info
(
"Spectral homogenization has been skipped because the current spectral characteristics "
"are already equal to the target sensor's."
)
return
...
...
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