OPM/opm-common

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

svenn-t opened this issue · 1 comments

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?

This issue was resolved in the new release of the Python opm-common package (2024.10).