Skip to content

Commit

Permalink
Add tracker/genesis to forecast-only mode
Browse files Browse the repository at this point in the history
Also correct syntax for adding jobs to tasks.py

Refs NOAA-EMC#1988
  • Loading branch information
KateFriedman-NOAA committed Nov 9, 2023
1 parent 91ad811 commit 5f4e66e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions workflow/applications/gfs_forecast_only.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ def _get_app_configs(self):
if self.do_ocean or self.do_ice:
configs += ['ocnpost']

if self.do_atm and self.do_tracker:
configs += ['tracker']

if self.do_atm and self.do_genesis:
configs += ['genesis']

if self.do_atm and self.do_genesis_fsu:
configs += ['genesis_fsu']

if self.do_atm and self.do_metp:
configs += ['metp']

Expand Down Expand Up @@ -85,6 +94,15 @@ def get_task_names(self):
if self.do_atm:
tasks += ['vrfy']

if self.do_atm and self.do_tracker:
tasks += ['tracker']

if self.do_atm and self.do_genesis:
tasks += ['genesis']

if self.do_atm and self.do_genesis_fsu:
tasks += ['genesis_fsu']

if self.do_atm and self.do_metp:
tasks += ['metp']

Expand Down
2 changes: 1 addition & 1 deletion workflow/rocoto/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class Tasks:
'preplandobs', 'landanl',
'fcst', 'post', 'ocnpost',
'verfozn', 'verfrad', 'vminmon', 'vrfy', 'metp',
'tracker genesis genesis_fsu'
'tracker', 'genesis', 'genesis_fsu',
'postsnd', 'awips', 'gempak',
'waveawipsbulls', 'waveawipsgridded', 'wavegempak', 'waveinit',
'wavepostbndpnt', 'wavepostbndpntbll', 'wavepostpnt', 'wavepostsbs', 'waveprep']
Expand Down

0 comments on commit 5f4e66e

Please sign in to comment.