From 74ba63c4119e7c50cf920cffbac8d679bd247485 Mon Sep 17 00:00:00 2001 From: Jessica Meixner Date: Tue, 7 Jan 2025 21:17:53 +0000 Subject: [PATCH] update dependency of forecast task for cycled with waves --- workflow/rocoto/gfs_tasks.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/workflow/rocoto/gfs_tasks.py b/workflow/rocoto/gfs_tasks.py index 55207a01c5..9bc48becb3 100644 --- a/workflow/rocoto/gfs_tasks.py +++ b/workflow/rocoto/gfs_tasks.py @@ -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))