Skip to content

Commit

Permalink
per #2432, allow empty for domain_info.override_diags so an empty lis…
Browse files Browse the repository at this point in the history
…t can be provided to prevent error
  • Loading branch information
georgemccabe committed Nov 29, 2023
1 parent ca54d73 commit 29a1893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion metplus/wrappers/tc_diag_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def create_c_dict(self):
'n_azimuth': 'int',
'delta_range_km': 'float',
'diag_script': 'list',
'override_diags': 'list',
'override_diags': ('list', 'allow_empty'),
}
if not add_met_config_dict_list(config=self.config,
app_name=self.app_name,
Expand Down
4 changes: 2 additions & 2 deletions parm/use_cases/met_tool_wrapper/TCDiag/TCDiag.conf
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ TC_DIAG_DOMAIN_INFO1_DOMAIN = parent
TC_DIAG_DOMAIN_INFO1_N_RANGE = 150
TC_DIAG_DOMAIN_INFO1_N_AZIMUTH = 8
TC_DIAG_DOMAIN_INFO1_DELTA_RANGE_KM = 10.0
#TC_DIAG_DOMAIN_INFO1_DIAG_SCRIPT =
#TC_DIAG_DOMAIN_INFO1_OVERRIDE_DIAGS =
TC_DIAG_DOMAIN_INFO1_DIAG_SCRIPT = MET_BASE/python/tc_diag/compute_tc_diag.py MET_BASE/python/tc_diag/config/post_resample.yml MET_BASE/tc_data/v2023-04-07_gdland_table.dat
TC_DIAG_DOMAIN_INFO1_OVERRIDE_DIAGS =

TC_DIAG_DOMAIN_INFO2_DOMAIN = nest
TC_DIAG_DOMAIN_INFO2_N_RANGE = 150
Expand Down

0 comments on commit 29a1893

Please sign in to comment.