Commit 9d51e9f3 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Changed logging message. Bugfix.


Former-commit-id: ec294aad
parent 03daf57f
......@@ -180,7 +180,7 @@ class process_controller(object):
image_type=dataset['image_type'],
Satellite=dataset['satellite'],
Sensor=dataset['sensor'],
Subsystem=dataset['subsystem'],
Subsystem=dataset['subsystem'] if path_logfile != path_logfile_merged_ss else '',
proc_level=ProcL, # must be respected because LBA changes after atm. Corr.
dataset_ID=dataset['dataset_ID'],
logger=None), nBands=(1 if dataset['sensormode'] == 'P' else None))
......@@ -216,8 +216,8 @@ class process_controller(object):
else:
self.logger.info('Found a matching %s dataset for %s but with a different '
'LayerBandsAssignment (desired: %s; found %s). Dataset has to be reprocessed.'
% (target_LayerBandsAssignment, GMS_file_dict['LayerBandsAssignment'],
ProcL, dataset['entity_ID']))
% (ProcL, dataset['entity_ID'],
target_LayerBandsAssignment, GMS_file_dict['LayerBandsAssignment']))
else:
self.logger.info('%s for dataset %s has been written due to logfile but no corresponding '
'dataset has been found.' % (ProcL, dataset['entity_ID']) +
......
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