Skip to content
Snippets Groups Projects
Commit dcce1c71 authored by Peters, Wouter's avatar Peters, Wouter
Browse files

added a check to see if we are continuing within a series of DA windows, so...

added a check to see if we are continuing within a series of DA windows, so that istart gets set properly
parent e90da9a5
No related branches found
No related tags found
No related merge requests found
......@@ -339,8 +339,12 @@ def DaInitialize(rc_da_shell):
'das.input.dir' : rc_da_shell['dir.input']
}
if rc_da_shell['time.restart'] or rc_da_shell['time.sample.start'] != rc_da_shell['time.start']:
if rc_da_shell['time.restart']: # If this is a restart from a previous cycle, the TM5 model should do a restart
NewItems['istart'] = 3
if rc_da_shell['time.sample.window'] != 0: # If this is a restart from a previous time step wihtin the filter lag, the TM5 model should do a restart
NewItems['istart'] = 3
# If neither one is true, simply take the istart value from the tm5.rc file that was read
Tm5Model.ModifyRC(NewItems)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment