Skip to content

Commit

Permalink
Use offset_start_hour as atmos fhmin
Browse files Browse the repository at this point in the history
When REPLAY_ICS is set to YES, use offset_start_hour as the atmos fhmin.
  • Loading branch information
EricSinsky-NOAA committed Jul 23, 2024
1 parent b8fec2a commit c8b49e2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions workflow/rocoto/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,10 @@ def _get_forecast_hours(cdump, config, component='atmos') -> List[str]:
local_config['FHOUT_GFS'] = config['FHOUT_ICE_GFS']
local_config['FHOUT'] = config['FHOUT_ICE']

if component in ['atmos']:
fhmin = local_config['FHMIN_GFS']
replay_ics = local_config['REPLAY_ICS']
if replay_ics is True and component in ['atmos']:
offset_start_hour = local_config['OFFSET_START_HOUR']
fhmin = offset_start_hour
else:
fhmin = local_config['FHMIN']

Expand Down

0 comments on commit c8b49e2

Please sign in to comment.