Commit 00c74adf authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fix for raising error in case accuracy layers are missing due to failed atmospheric correction.

parent 5181d00a
......@@ -447,7 +447,8 @@ class GMS_object(Dataset):
except ValueError as e:
if str(e) == 'The given GMS_object contains no accuracy layers for combination.':
if CFG.ac_estimate_accuracy or CFG.spechomo_estimate_accuracy:
raise
self.logger.warning('The given GMS_object contains no accuracy layers although computation '
'of accurracy layers was enabled in job configuration.')
else:
pass # self._accuracy_layers keeps None
else:
......
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