Commit 6c93afa0 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed error while dumping AC inputs (due to logger).


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 2e933e46
......@@ -915,6 +915,7 @@ class AtmCorr(object):
if dump_ac_input:
path_dump = self.inObjs[0].pathGen.get_path_ac_input_dump()
with open(path_dump, 'wb') as outF:
self.ac_input['rs_image'].logger = None
dill.dump(self.ac_input, outF)
self.logger.error('An error occurred during atmospheric correction. Inputs have been dumped to %s.'
......
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