Index: wflow-py/wflow/wflow_bmi.py =================================================================== diff -u -r04b94635e18ea02ab3ae22351140177d3b8f4c99 -r4f4ff3435f9fc4b4ca330df875571fd5991ecb41 --- wflow-py/wflow/wflow_bmi.py (.../wflow_bmi.py) (revision 04b94635e18ea02ab3ae22351140177d3b8f4c99) +++ wflow-py/wflow/wflow_bmi.py (.../wflow_bmi.py) (revision 4f4ff3435f9fc4b4ca330df875571fd5991ecb41) @@ -12,7 +12,7 @@ class wflowbmi_light(object): """ Deltares specific light version of the BMI. Used for internal model linkage - Deltares specific light version of the BMI. Used for internal model linkage + """ def __init__(self): @@ -571,14 +571,14 @@ if curtime > time: timespan = curtime - time nrstepsback = int(timespan/self.dynModel.timestepsecs) - self.bmilogger.debug('update_until: update timesteps back ' + str(nrstepsback) + ' to ' + str(curtime)) + self.bmilogger.debug('update_until: update timesteps back ' + str(nrstepsback) + ' to ' + str(curtime + timespan)) if nrstepsback > 1: raise ValueError("Time more than one timestep before current time.") self.dynModel.wf_QuickResume() else: timespan = time - curtime nrsteps = int(timespan/self.dynModel.timestepsecs) - self.bmilogger.debug('update_until: update timesteps foreward ' + str(nrsteps) + ' to ' + str(curtime)) + self.bmilogger.debug('update_until: update ' + str(nrsteps) + 'timesteps forward from ' + str(curtime) + ' to ' + str(curtime + timespan)) self.dynModel._runDynamic(self.currenttimestep, self.currenttimestep + nrsteps -1) self.currenttimestep = self.currenttimestep + nrsteps