Skip to content

Commit

Permalink
Add missing component subfolder to fcst dependency
Browse files Browse the repository at this point in the history
The free-forecast mode fcst job data dependency file path was missing
the component "atmos" subfolder. Added and tested in experiment on
Hera.

Refs: NOAA-EMC#178
  • Loading branch information
KateFriedman-NOAA committed Jan 29, 2021
1 parent a7391d7 commit b251164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ush/rocoto/setup_workflow_fcstonly.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,10 +299,10 @@ def get_workflow(dict_configs, cdump='gdas'):

# fcst
deps = []
data = '&ROTDIR;/&CDUMP;.@Y@m@d/@H/INPUT/sfc_data.tile6.nc'
data = '&ROTDIR;/&CDUMP;.@Y@m@d/@H/atmos/INPUT/sfc_data.tile6.nc'
dep_dict = {'type':'data', 'data':data}
deps.append(rocoto.add_dependency(dep_dict))
data = '&ROTDIR;/&CDUMP;.@Y@m@d/@H/RESTART/@Y@m@[email protected]_data.tile6.nc'
data = '&ROTDIR;/&CDUMP;.@Y@m@d/@H/atmos/RESTART/@Y@m@[email protected]_data.tile6.nc'
dep_dict = {'type':'data', 'data':data}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='or', dep=deps)
Expand Down

0 comments on commit b251164

Please sign in to comment.