|
44 | 44 | [VERIF_CASE_STEP_abbrev+'_precip_var_list'] \
|
45 | 45 | .split(' '))
|
46 | 46 |
|
47 |
| -# Set up METplus job command dictionary |
48 |
| -metplus_cmd_prefix = ( |
49 |
| - os.path.join(METPLUS_PATH, 'ush', 'run_metplus.py') |
50 |
| - +' -c '+os.path.join(PARMevs, 'metplus_config', 'machine.conf') |
51 |
| - +' -c '+os.path.join(PARMevs, 'metplus_config', COMPONENT, |
52 |
| - RUN+'_'+VERIF_CASE, STEP) |
53 |
| - +'/' |
54 |
| -) |
55 |
| - |
56 | 47 | VERIF_CASE_STEP = VERIF_CASE+'_'+STEP
|
57 | 48 | start_date_dt = datetime.datetime.strptime(start_date, '%Y%m%d')
|
58 | 49 | end_date_dt = datetime.datetime.strptime(end_date, '%Y%m%d')
|
|
64 | 55 | 'means': {},
|
65 | 56 | 'ozone': {},
|
66 | 57 | 'precip': {'24hrCCPA': {'env': {},
|
67 |
| - 'commands': [metplus_cmd_prefix |
68 |
| - +'PCPCombine_obs24hrCCPA.conf']}}, |
| 58 | + 'commands': [gda_util.metplus_command( |
| 59 | + 'PCPCombine_obs24hrCCPA.conf' |
| 60 | + )]}}, |
69 | 61 | 'sea_ice': {},
|
70 | 62 | 'snow': {},
|
71 | 63 | 'sst': {},
|
|
77 | 69 | 'precip': {'24hrAccum': {'env': {'valid_hr': '12',
|
78 | 70 | 'MODEL_template': ('{MODEL}.precip.'
|
79 | 71 | +'{init?fmt=%Y%m%d%H}.'
|
80 |
| - +'f{lead?fmt=%HHH}')}, |
81 |
| - 'commands': [metplus_cmd_prefix |
82 |
| - +'PCPCombine_fcstGLOBAL_DET_' |
83 |
| - +'24hrAccum_precip.conf']}}, |
| 72 | + +'f{lead?fmt=%HHH}') |
| 73 | + }, |
| 74 | + 'commands': [gda_util.metplus_command( |
| 75 | + 'PCPCombine_fcstGLOBAL_DET_' |
| 76 | + +'24hrAccum_precip.conf' |
| 77 | + )]}}, |
84 | 78 | 'sea_ice': {},
|
85 | 79 | 'snow': {'24hrAccum_WaterEqv': {'env': {'valid_hr': '12',
|
86 | 80 | 'MODEL_var': 'WEASD'},
|
87 |
| - 'commands': [metplus_cmd_prefix |
88 |
| - +'PCPCombine_fcstGLOBAL_DET_' |
89 |
| - +'24hrAccum_snow.conf']}, |
| 81 | + 'commands': [gda_util.metplus_command( |
| 82 | + 'PCPCombine_fcstGLOBAL_' |
| 83 | + +'DET_24hrAccum_snow.conf' |
| 84 | + )]}, |
90 | 85 | '24hrAccum_Depth': {'env': {'valid_hr': '12',
|
91 | 86 | 'MODEL_var': 'SNOD'},
|
92 |
| - 'commands': [metplus_cmd_prefix |
93 |
| - +'PCPCombine_fcstGLOBAL_DET_' |
94 |
| - +'24hrAccum_snow.conf']}}, |
| 87 | + 'commands': [gda_util.metplus_command( |
| 88 | + 'PCPCombine_fcstGLOBAL_' |
| 89 | + +'DET_24hrAccum_snow.conf' |
| 90 | + )]}}, |
95 | 91 | 'sst': {},
|
96 | 92 | }
|
97 | 93 |
|
|
0 commit comments