Skip to content

Commit

Permalink
Add bmat task dependency to marine LETKF task (#3224)
Browse files Browse the repository at this point in the history
Adds bmat task dependency to marine LETKF task as the latter requires
the ensemble to be staged, which is what the bmat task does.

Resolves #3222
  • Loading branch information
AndrewEichmann-NOAA authored Jan 16, 2025
1 parent 827cf39 commit 3acea88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,10 +641,10 @@ def prepoceanobs(self):
def marineanlletkf(self):

deps = []
dep_dict = {'type': 'metatask', 'name': f'enkfgdas_fcst', 'offset': f"-{timedelta_to_HMS(self._base['interval_gdas'])}"}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'task', 'name': f'{self.run}_prepoceanobs'}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'task', 'name': f'{self.run}_marinebmat'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)

resources = self.get_resource('marineanlletkf')
Expand Down

0 comments on commit 3acea88

Please sign in to comment.