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

Small fixes to restart utils #99

Merged
merged 3 commits into from
Dec 20, 2023
Merged

Small fixes to restart utils #99

merged 3 commits into from
Dec 20, 2023

Conversation

bendudson
Copy link
Contributor

  • nz doesn't need to be a power of 2
  • Ensure that hist_hi in restart files is a scalar, when read from iteration in dump files.

Can be useful to have other values e.g powers of 3
`iteration` is now an array in the dump file; previously was a scalar.
Check for __getitem__ attribute rather than try..except

Set the "bout_type" attribute to "Field3D" rather than "Field3D_t"
so that the dimensions are labelled (x,y,z) rather than (t,x,y)
@bendudson bendudson merged commit a043a2b into master Dec 20, 2023
9 checks passed
@bendudson bendudson deleted the restart-fixes branch December 20, 2023 21:15
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.

None yet

1 participant