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

opm-common Python package and Numpy v2(.1.1) #4187

Open
svenn-t opened this issue Sep 10, 2024 · 0 comments
Open

opm-common Python package and Numpy v2(.1.1) #4187

svenn-t opened this issue Sep 10, 2024 · 0 comments

Comments

@svenn-t
Copy link
Contributor

svenn-t commented Sep 10, 2024

If I installed opm-common via PyPI and the latest Numpy (v2.1.1 for me at least) and request the INTEHEAD array from a restart file, I only get an array of zeros. However, downgrading Numpy to say v1.24.1, or not installing Numpy at all, the INTEHEAD array outputs correctly with the expected values. As far as I can see, arrays that output other types (float32 etc) work regardless of Numpy version.

So I was wondering if anybody else have experienced this?

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

No branches or pull requests

1 participant