Skip to content

Commit

Permalink
change deprecated filename_templates section name to config, ci-run-a…
Browse files Browse the repository at this point in the history
…ll-diff
  • Loading branch information
georgemccabe committed Jan 31, 2022
1 parent fb98504 commit 00622e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metplus/wrappers/ensemble_stat_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 00622e1

Please sign in to comment.