ifrc_da_shell['time.restart']:# If this is a restart from a previous cycle, the TM5 model should do a restart
ifDaCycle.da_settings['time.restart']:# If this is a restart from a previous cycle, the TM5 model should do a restart
NewItems['istart']=3
ifrc_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
ifDaCycle.da_settings['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)
self.ModifyRC(NewItems)
Tm5Model.WriteRc()
self.WriteRc()
Tm5Model.WriteRunRc()
self.WriteRunRc()
# Copy the pre-compiled MPI wrapper to the execution directory