Skip to content

Commit

Permalink
Set correct endtime in prepare_data
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Oct 24, 2023
1 parent b65ebd1 commit e06f5f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jobs/prepare_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ def set_cfg_variables(cfg, starttime, hstart, hstop):
cfg.ini_datetime_string = (
starttime + timedelta(hours=hstart)).strftime('%Y-%m-%dT%H:00:00Z')
cfg.end_datetime_string = (
starttime + timedelta(hours=hstart) +
timedelta(hours=hstop)).strftime('%Y-%m-%dT%H:00:00Z')
starttime + timedelta(hours=hstop)).strftime('%Y-%m-%dT%H:00:00Z')

return cfg

Expand Down

0 comments on commit e06f5f2

Please sign in to comment.