Skip to content

Commit

Permalink
Add EDATE_GFS for metp tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Jul 26, 2024
1 parent fa9507b commit e12a4a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1794,7 +1794,8 @@ def metp(self):

metpenvars = self.envars.copy()
if self.app_config.mode in ['cycled']:
metpenvar_dict = {'SDATE_GFS': self._base.get('SDATE_GFS').strftime("%Y%m%d%H")}
metpenvar_dict = {'SDATE_GFS': self._base.get('SDATE_GFS').strftime("%Y%m%d%H"),
'EDATE_GFS': self._base.get('EDATE_GFS').strftime("%Y%m%d%H")}
elif self.app_config.mode in ['forecast-only']:
metpenvar_dict = {'SDATE_GFS': self._base.get('SDATE').strftime("%Y%m%d%H")}
metpenvar_dict['METPCASE'] = '#metpcase#'
Expand Down

0 comments on commit e12a4a6

Please sign in to comment.