mizuRoute icon indicating copy to clipboard operation
mizuRoute copied to clipboard

Need to specify simulation starting datetime for continue run?

Open nmizukami opened this issue 1 year ago • 2 comments

It seems like simulation start time (simStart) needs to be specified for continue run for standalone run. This is to read runoff input at correct time. Similarly, restart file the needs to be specified in fname_state_in in control file.

For cesm coupled run, the simulation start time is coming from the coupler, so it is ok. and fname_state_in is read in from rpointer file.

Erik (@ekluzek), do you think it is better to have the code figure out start time for continue run?

nmizukami avatar Feb 20 '24 02:02 nmizukami

To have the code figure out the start time for a continue run, you'll need to add some similar infrastructure as in CESM to handle this. I think it is worthwhile, but might take some effort. I suppose maybe the easiest/best thing to do would be to use the CESM restart infrastructure for both cesm-coupled and standalone. It would take some work to figure it out, but then it would be something that's the same between standalone and coupled and that would be a good thing.

ekluzek avatar Apr 10 '24 20:04 ekluzek

Just looking into the codes, fixing this needs some moving around of several subroutines, sosimStart and fname_state_in are populated accordingly from rpointer file (and restart file to get simStart information)

nmizukami avatar Sep 05 '24 22:09 nmizukami