Skip to content

Commit

Permalink
update dependency of forecast task for cycled with waves
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed Jan 7, 2025
1 parent 5c8e9e6 commit 74ba63c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,11 @@ def _fcst_cycled(self):
dep = rocoto.add_dependency(dep_dict)
dependencies = rocoto.create_dependency(dep=dep)

if self.options['do_wave']:
wave_job = 'waveprep' if self.options['app'] in ['ATMW'] else 'waveinit'
dep_dict = {'type': 'task', 'name': f'{self.run}_{wave_job}'}
dependencies.append(rocoto.add_dependency(dep_dict))

if self.options['do_jediocnvar']:
dep_dict = {'type': 'task', 'name': f'{self.run}_marineanlfinal'}
dependencies.append(rocoto.add_dependency(dep_dict))
Expand Down

0 comments on commit 74ba63c

Please sign in to comment.