From 53ff68d466610b2e7c7ba89740e0e647b6c46623 Mon Sep 17 00:00:00 2001 From: jws52 <jws52@cam.ac.uk> Date: Tue, 7 Feb 2023 09:43:54 +0000 Subject: [PATCH] fix: Epi model bounds are now handled by EpiModel See EpiModel commit 728921c. --- coordinator/ProcessorEpidemiology.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/coordinator/ProcessorEpidemiology.py b/coordinator/ProcessorEpidemiology.py index 7ce7581..3dbd1d9 100644 --- a/coordinator/ProcessorEpidemiology.py +++ b/coordinator/ProcessorEpidemiology.py @@ -277,18 +277,12 @@ def process_in_job_epi(jobPath,status,config,component): config_for_lister = config.copy() config_for_lister.update(config_epi) - # get bounds of host map, to exclude redundant deposition datapoints - hostRasterFileName = config_for_lister["Host"]["HostRaster"] - with rio_open(hostRasterFileName) as hostRaster: - bounds = hostRaster.bounds - lister_kwargs = {} lister_kwargs['reference_date']=config['ReferenceTime'] loader_kwargs= {} loader_kwargs['VariableName']= config_for_lister['Deposition'].get('VariableName') loader_kwargs['VariableNameAlternative']= config_for_lister['Deposition'].get('VariableNameAlternative') - loader_kwargs['bounds'] = bounds try: -- GitLab