diff --git a/coordinator/ProcessorSurveys.py b/coordinator/ProcessorSurveys.py index c229f5808272e3134e4a9d170b57fd88b9385215..0804e125a7d17f7231b3065a36beb86f6e104d75 100644 --- a/coordinator/ProcessorSurveys.py +++ b/coordinator/ProcessorSurveys.py @@ -413,6 +413,17 @@ class ProcessorSurveys(Processor): self.logger.debug(f"as {output_path}") copyfile(sources_path, output_path) + + # THIS CAN BE REMOVED ONCE THE GROUPS ARE PROPERLY PICKED UP BY THE METOFFICE + if (group_name == 'PROD'): + self.logger.debug('Additionally placing copy of PROD result in job directory without group name') + + output_filename = f"sources_{config['StartString']}.csv" + output_path = f"{jobPath}/upload/{output_filename}" + + self.logger.debug(f"as {output_path}") + + copyfile(sources_path, output_path) else: # run python version without grouping surveys