This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
start:hype_file_reference:state_save [2018/08/13 08:55] cpers |
start:hype_file_reference:state_save [2018/11/07 16:07] rcapell |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== state_saveyyyymmdd[HHMM].txt ====== | ====== state_saveyyyymmdd[HHMM].txt ====== | ||
- | State variables can be saved to a file and later used for starting a model simulation from that same point. This can be useful to shorten the simulation time, e.g to skip repeatedly simulate a warm-up period, or to simulate several forecasts after running the model up to date. | + | State variables can be saved to a file and later used for starting a model simulation from that same point. This can be useful to shorten the simulation time, e.g to skip repeatedly simulating a warm-up period, or to simulate several forecasts after running the model up to date. |
State-files are saved for the dates given by ''outstatedate'' in [[start:hype_file_reference:info.txt|info.txt]]. The files are written to the [[start:hype_file_reference:info.txt&#model_options|resultdir]] folder. To use a state-file as a starting state ''instate'' is set in [[start:hype_file_reference:info.txt|info.txt]]. A state-file with the date(time) given by ''bdate'' is expected and used as starting state. The starting state file is expected to be found in the [[start:hype_file_reference:info.txt&#model_options|modeldir]] folder. There is one file per time step with saved states: state_saveyyyymmdd[HHMM].txt yyyymmdd[HHMM] is the date(time) of the start of simulation (''bdate''). For daily time step only the date is used in the file name. | State-files are saved for the dates given by ''outstatedate'' in [[start:hype_file_reference:info.txt|info.txt]]. The files are written to the [[start:hype_file_reference:info.txt&#model_options|resultdir]] folder. To use a state-file as a starting state ''instate'' is set in [[start:hype_file_reference:info.txt|info.txt]]. A state-file with the date(time) given by ''bdate'' is expected and used as starting state. The starting state file is expected to be found in the [[start:hype_file_reference:info.txt&#model_options|modeldir]] folder. There is one file per time step with saved states: state_saveyyyymmdd[HHMM].txt yyyymmdd[HHMM] is the date(time) of the start of simulation (''bdate''). For daily time step only the date is used in the file name. |