ESCOMP / mizuRoute

Reach-based river routing model
http://escomp.github.io/mizuRoute/
GNU General Public License v3.0
39 stars 51 forks source link

Enable to run at user specified routing time step rather than using coupling_frequency #429

Closed nmizukami closed 9 months ago

nmizukami commented 9 months ago

This is for CESM coupled run.

So far, mizuRoute runs at the same time step as coupling time step (== coupling frequency, now set to 1 days). IRF routing is ok to run at whatever time step. dt_qsim In control file is reset to coupling frequency (coupling_period) in initializing phase.

With this PR, dt_qsim In control file is kept and mizuRoute run at this time step. dt_qsim is smaller than coupling_period, mizuRoute run with the same runoff input at nsub (coupling_period/dt_qsim) time, called sub-cycling. dt_qsim should be less than 86400 second.

One caveat. Now, after sub-cycling, river volume is computed at last sub-time step is exported to the coupler, but what should be exported would be average over the coupling period?