Skip to content

Commit f04f3ba

Browse files
authored
change gdasechgres dependency to just gdasefcs01 instead of gdasefmn (#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.
1 parent 490de7b commit f04f3ba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

workflow/rocoto/workflow_tasks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def atmanalpost(self):
437437
dep_dict = {'type': 'cycleexist', 'offset': '-06:00:00'}
438438
deps.append(rocoto.add_dependency(dep_dict))
439439
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)
440-
440+
441441
resources = self.get_resource('atmanalpost')
442442
task = create_wf_task('atmanalpost', resources, cdump=self.cdump, envar=self.envars, dependency=dependencies)
443443

@@ -999,7 +999,7 @@ def atmensanalpost(self):
999999

10001000
resources = self.get_resource('atmensanalpost')
10011001
task = create_wf_task('atmensanalpost', resources, cdump=self.cdump, envar=self.envars, dependency=dependencies)
1002-
1002+
10031003
return task
10041004

10051005
def ecen(self):
@@ -1109,7 +1109,7 @@ def echgres(self):
11091109
deps = []
11101110
dep_dict = {'type': 'task', 'name': f'{self.cdump}fcst'}
11111111
deps.append(rocoto.add_dependency(dep_dict))
1112-
dep_dict = {'type': 'metatask', 'name': f'{self.cdump}efmn'}
1112+
dep_dict = {'type': 'task', 'name': f'{self.cdump}efcs01'}
11131113
deps.append(rocoto.add_dependency(dep_dict))
11141114
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)
11151115

0 commit comments

Comments
 (0)