Update -r e
logic to always create a restart file on the last timestep, independent of simEndTime in the filemanager
#517
Labels
enhancement
usability
changes designed to improve the usability of SUMMA (ie ease of running for different applications)
summa/build/source/driver/summa_alarms.f90
Lines 123 to 126 in fa9adf8
Currently, SUMMA checks if current_timestep == simEndTime (as specified in the filemanager) and writes a restart file if true.
In cases where the forcing timestep is set such that no simulation is run at exactly
simEndTime
, no restart file is written. Updating the logic to check whether a timestep is the last timestep (somehow), might avoid scenarios where-r e
doesn't work as expected. See example below, obtained from a test case with:Note how no simulation is run at exactly 23:00 (only at 21:00 and 00:00) and the restart flag is thus always False.
The text was updated successfully, but these errors were encountered: