Skip to content
Snippets Groups Projects
Commit 89d5b44a authored by Christoph Knote's avatar Christoph Knote
Browse files

Fix restart timer

parent c99224bd
Branches master
No related tags found
No related merge requests found
......@@ -202,6 +202,7 @@ let metIncSec='metInc*3600'
# restartIntervals
let restartInc='fcstTime*60'
let restartIncSpinup='spinupTime*60'
let restartIncReal='restartInc+restartIncSpinup'
# start day as Julian day
startJDay=$(date -u --date="${dateTxt} ${spinupTime}hours ago" '+%j')
......@@ -283,7 +284,7 @@ s/__endDay__/${endDay}/g
s/__endHour__/${endHour}/g
s/__endDate__/${endDate}/g
s/__isRestart__/.false./g
s/__restartInterval__/${restartIncSpinup}/g
s/__restartInterval__/${restartIncReal}/g
EOF
# spinup only runs from -spinup to 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment