Skip to content

Commit

Permalink
add support for more MET config variables for WaveletStat wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
georgemccabe committed Nov 15, 2023
1 parent 8ae12ac commit 1d852ac
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion metplus/wrappers/wavelet_stat_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,23 @@ def create_c_dict(self):

self.add_met_config_dict('title', {
'width': 'int',
'location': 'float', # TODO: create dict list for location
'location': ('dictlist', '', {'x_ll': 'int', 'y_ll': 'int'})
})

self.add_met_config_dict('wavelet', {
'type': ('string', 'remove_quotes,uppercase'),
'member': 'int'
})

self.add_met_config(name='ps_plot_flag', data_type='bool')

for config_name in ('fcst_raw_plot', 'obs_raw_plot', 'wvlt_plot'):
self.add_met_config_dict(config_name, {
'color_table': 'string',
'plot_min': 'float',
'plot_max': 'float',
})

self.add_met_config(name='output_prefix', data_type='string')

return c_dict

0 comments on commit 1d852ac

Please sign in to comment.