From 00622e18f499fcef4eb238636ec2dff46131394d Mon Sep 17 00:00:00 2001 From: George McCabe <23407799+georgemccabe@users.noreply.github.com> Date: Mon, 31 Jan 2022 15:57:09 -0700 Subject: [PATCH] change deprecated filename_templates section name to config, ci-run-all-diff --- metplus/wrappers/ensemble_stat_wrapper.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/metplus/wrappers/ensemble_stat_wrapper.py b/metplus/wrappers/ensemble_stat_wrapper.py index 453946a3b..91c108405 100755 --- a/metplus/wrappers/ensemble_stat_wrapper.py +++ b/metplus/wrappers/ensemble_stat_wrapper.py @@ -172,14 +172,14 @@ def create_c_dict(self): self.config.getdir('OBS_ENSEMBLE_STAT_POINT_INPUT_DIR', '') c_dict['OBS_POINT_INPUT_TEMPLATE'] = \ - self.config.getraw('filename_templates', + self.config.getraw('config', 'OBS_ENSEMBLE_STAT_POINT_INPUT_TEMPLATE') c_dict['OBS_GRID_INPUT_DIR'] = \ self.config.getdir('OBS_ENSEMBLE_STAT_GRID_INPUT_DIR', '') c_dict['OBS_GRID_INPUT_TEMPLATE'] = \ - self.config.getraw('filename_templates', + self.config.getraw('config', 'OBS_ENSEMBLE_STAT_GRID_INPUT_TEMPLATE') # The ensemble forecast files input directory and filename templates @@ -527,7 +527,7 @@ def find_model_members(self, time_info): msg = 'Found more files than expected! ' +\ 'Found {} expected {}. '.format(len(ens_members_path), self.c_dict['N_MEMBERS']) +\ - 'Adjust wildcard expression in [filename_templates] '+\ + 'Adjust wildcard expression in [config] '+\ 'FCST_ENSEMBLE_STAT_INPUT_TEMPLATE or adjust [config] '+\ 'ENSEMBLE_STAT_N_MEMBERS. Files found: {}'.format(ens_members_path) self.log_error(msg)