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

Fix int types when writing restart files #300

Merged
merged 1 commit into from
Nov 24, 2023
Merged

Conversation

johnomotani
Copy link
Collaborator

BOUT++ expects to read a C 'int', while Python defaults to writing an int64, causing an error when reading xbout-produced restart files.

Unfortunately, there seems to be another error, possibly related to a _FillValue attribute.

BOUT++ expects to read a C 'int', while Python defaults to writing an
int64, causing an error.
@johnomotani johnomotani added the bugfix Fix for a bug label Nov 24, 2023
@johnomotani johnomotani merged commit 86dbb32 into master Nov 24, 2023
13 checks passed
@johnomotani johnomotani deleted the to_restart-int-as-intc branch November 24, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix for a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants