Skip to content

Commit

Permalink
change gdasechgres dependency to just gdasefcs01 instead of gdasefmn (#…
Browse files Browse the repository at this point in the history
…933)

Replaces the dependency of `gdasechgres` on `gdasefmn` with `gdasefcs01`.

Presently, `gdasechgres` has 2 dependencies:
- `gdasfcst` - deterministic forecast
- `gdasefmn` - ensemble forecasts (all of them).

The work done in `gdasechgres` actually depends only on the `mem001/atmos/gdas.tHHz.atmf006.nc`.
This file is used as a template as well as obtaining `hgtsfc`.
As such, there is no reason to depend on the entire ensemble of forecasts to be complete before `gdasechgres` can start.
  • Loading branch information
aerorahul authored Jul 27, 2022
1 parent 490de7b commit f04f3ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions workflow/rocoto/workflow_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ def atmanalpost(self):
dep_dict = {'type': 'cycleexist', 'offset': '-06:00:00'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)

resources = self.get_resource('atmanalpost')
task = create_wf_task('atmanalpost', resources, cdump=self.cdump, envar=self.envars, dependency=dependencies)

Expand Down Expand Up @@ -999,7 +999,7 @@ def atmensanalpost(self):

resources = self.get_resource('atmensanalpost')
task = create_wf_task('atmensanalpost', resources, cdump=self.cdump, envar=self.envars, dependency=dependencies)

return task

def ecen(self):
Expand Down Expand Up @@ -1109,7 +1109,7 @@ def echgres(self):
deps = []
dep_dict = {'type': 'task', 'name': f'{self.cdump}fcst'}
deps.append(rocoto.add_dependency(dep_dict))
dep_dict = {'type': 'metatask', 'name': f'{self.cdump}efmn'}
dep_dict = {'type': 'task', 'name': f'{self.cdump}efcs01'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)

Expand Down

0 comments on commit f04f3ba

Please sign in to comment.