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

Remove t_start from diagnostics #3287

Merged
merged 2 commits into from
Sep 11, 2024
Merged

Remove t_start from diagnostics #3287

merged 2 commits into from
Sep 11, 2024

Conversation

Sbozzolo
Copy link
Member

@Sbozzolo Sbozzolo commented Sep 10, 2024

The diagnostic module was using t_start, but this was under the wrong assumption.

I was under the impression that integrator.t restarts from 0 upon restart, so that we needed to manually offset the time.

I think I got this (wrong) idea from ClimaLand, where t_start is used often.

Using t_start was (probably) leading to incorrect dates being written in NetCDF files when the simulation was restarted.

The diagnostic module was using `t_start`, but this was under the wrong
assumption.

I was under the impression that integrator.t restarts from 0 upon
restart, so that we needed to manually offset the time.

I think I got this idea from ClimaLand, where t_start is used often.

Using t_start was (probably) leading to incorrect dates being written in
NetCDF files when the simulation was restarted.
@Sbozzolo Sbozzolo added this pull request to the merge queue Sep 11, 2024
Merged via the queue into main with commit a22b643 Sep 11, 2024
13 of 16 checks passed
@Sbozzolo Sbozzolo deleted the gb/remove_tstart branch September 11, 2024 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants