Skip to content

Commit

Permalink
per #1489, read output path variables
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Aug 18, 2022
1 parent 50d4b86 commit 5a5a42f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metplus/wrappers/plot_point_obs_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,14 @@ def create_c_dict(self):
)
c_dict['GRID_INPUT_DIR'] = self.config.getdir(f'{app}_GRID_INPUT_DIR',
'')

# get output path
c_dict['OUTPUT_TEMPLATE'] = self.config.getraw(
'config',
f'{app}_OUTPUT_TEMPLATE'
)
c_dict['OUTPUT_DIR'] = self.config.getdir(f'{app}_OUTPUT_DIR', '')

# get optional title command line argument
c_dict['TITLE'] = self.config.getraw('config', f'{app}_TITLE')

Expand Down

0 comments on commit 5a5a42f

Please sign in to comment.