diff --git a/ProcessorSurveys.py b/ProcessorSurveys.py index 686aac8aa7050cc2755d43c7fb9818833d3590b2..10d62989349d8be28bd6281210343c3673a32e8c 100644 --- a/ProcessorSurveys.py +++ b/ProcessorSurveys.py @@ -671,7 +671,7 @@ def get_WRSIS_form_as_csv(form_credentials: dict, jobPath: str, config: dict, st download_success = True - start_date = datetime.datetime.strptime('01-03-2022','%d-%m-%Y').strftime('%d-%m-%Y') #TODO: set start date + start_date = datetime.datetime.strptime(config['Survey']['SeasonStartString'],'%Y%m%d').strftime('%d-%m-%Y') end_date = datetime.datetime.strptime(config['StartString'], '%Y%m%d').strftime('%d-%m-%Y') logger.debug(f'Performing download from WRSIS between {start_date} and {end_date}') @@ -940,7 +940,7 @@ def process_in_job_survey(jobPath,status,config,component): Path(output_directory).mkdir(parents=True, exist_ok=True) if call_R: - + cluster_calc_path = "/storage/app/EWS_prod/code/wheat_source_generation/" # clear old output