Skip to content

Commit

Permalink
add fcst dependency to ocnanalprep
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewEichmann-NOAA committed Jun 27, 2024
1 parent 9476c12 commit a5473fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,9 @@ def ocnanalprep(self):
deps = []
dep_dict = {'type': 'task', 'name': f'{self.cdump}prepoceanobs'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep=deps)
dep_dict = {'type': 'task', 'name': f'{self.cdump}fcst', 'offset': f"-{timedelta_to_HMS(self._base['cycle_interval'])}"}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)

resources = self.get_resource('ocnanalprep')
task_name = f'{self.cdump}ocnanalprep'
Expand Down

0 comments on commit a5473fa

Please sign in to comment.