Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outstanding Time Manager Issues #567

Open
5 of 8 tasks
apcraig opened this issue Feb 27, 2021 · 3 comments
Open
5 of 8 tasks

Outstanding Time Manager Issues #567

apcraig opened this issue Feb 27, 2021 · 3 comments

Comments

@apcraig
Copy link
Contributor

apcraig commented Feb 27, 2021

This is an attempt at aggregating outstanding time manager issues. Several have been fixed as a result of the new JRA55 implementation and the new time manager. But there are still a few outstanding questions/issues.

Feel free to edit (add/remove items) this list here while also commenting below.

@phil-blain
Copy link
Member

phil-blain commented Apr 1, 2021

We could add:

edited by tcraig on Aug 10, 2021. See below, but I think there may be reasons we want to keep istep0.

@phil-blain
Copy link
Member

 Still open question about whether we should advance at the beginning of the timestep in the standalone model. The coupled models advance at the beginning, but the standalone advances at the end of the timestep (including at the end of the initialization).

Tangentially related: this leads to the initial condition being written after the first time step...

Another minor thing I noticed: when using hist_avg = .true., the initial condition is also written as being "averaged" from "time = 0" to "time = after the first time step", which is kind of weird...

@apcraig
Copy link
Contributor Author

apcraig commented Aug 10, 2021

A couple comments. I don't think we should remove istep0. I see a use case where someone runs 100 years and then wants to start a new run from the restart at year 50 and run 50 years with a parameter change. It could be helpful to set istep0 to a value that allows direct comparison of the step numbers of the two runs.

The initial condition is written before the model state is advanced in standalone mode. The problem is that the timestep is advanced as the model is initialized. So the real problem is that the initial condition filename/date is incorrect even though the data is the initial data. I don't think there is a clean way around this. We do not want to subtract a timestep from the date/filename internally as that could create problems for models that don't advance their timestep at initialization. Ultimately, this comes back to the sequencing of time advancement in the model relative to other operations.

I am doing some testing/updates and I have confirmed that history files are written at step=1 with the updated time manager, so have checked that off the list above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants