Commit 0b84b858 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix

parent 541d89fe
Pipeline #1719 passed with stage
in 12 minutes and 4 seconds
......@@ -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
......
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