Skip to content

Commit

Permalink
Fix setting of 'SDATE_GFS' for free forecast XML
Browse files Browse the repository at this point in the history
In the workflow XML for free forecasts there is no SDATE_GFS
variable. The 'SDATE_GFS' variable was changed to be set to the
value of 'SDATE'.

Refs: #315
  • Loading branch information
malloryprow committed Apr 23, 2021
1 parent d34b99d commit 7cd6e0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/rocoto/setup_workflow_fcstonly.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ def get_workflow(dict_configs, cdump='gdas'):
dep_dict = {'type':'task', 'name':'%sarch' % cdump, 'offset':'-&INTERVAL;'}
deps.append(rocoto.add_dependency(dep_dict))
dependencies = rocoto.create_dependency(dep_condition='and', dep=deps)
sdate_gfs = rocoto.create_envar(name='SDATE_GFS', value='&SDATE_GFS;')
sdate_gfs = rocoto.create_envar(name='SDATE_GFS', value='&SDATE;')
metpcase = rocoto.create_envar(name='METPCASE', value='#metpcase#')
metpenvars = envars + [sdate_gfs] + [metpcase]
varname1 = 'metpcase'
Expand Down

0 comments on commit 7cd6e0e

Please sign in to comment.