opm-common icon indicating copy to clipboard operation
opm-common copied to clipboard

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

Open svenn-t opened this issue 1 year ago • 0 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?

svenn-t avatar Sep 10 '24 12:09 svenn-t