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

bug in same out, different freq scenario #2981

Closed
mahf708 opened this issue Sep 3, 2024 · 0 comments · Fixed by #2986
Closed

bug in same out, different freq scenario #2981

mahf708 opened this issue Sep 3, 2024 · 0 comments · Fixed by #2986
Assignees
Labels
bug Something isn't working I/O priority:high

Comments

@mahf708
Copy link
Contributor

mahf708 commented Sep 3, 2024

Consider two IO streams with different frequency; let's say IO stream 1 has nc at 3-hourly and IO stream 2 has qc at 6-hourly. The user sets these two IO streams with the same name of "clouds"

All well and good until a restart, one of the rhist files will overwrite the other, introducing a runtime error upon restart of a missing variable (either nc or qc).

In summary, same filename for "same output but different freq" --> same rhists --> overwriting --> bug.

Arguably, the user can sidestep this pretty easily, but we should harden our IO logic to avoid it altogether.

Discovered accidentally (and took me a good half hour to realize it) while setting up E3SM-Project/E3SM#6580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working I/O priority:high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants