ert icon indicating copy to clipboard operation
ert copied to clipboard

Summary data saved to storage with ert<8.4 is loaded as float64

Open eivindjahren opened this issue 1 year ago • 1 comments

This can be reproduced by removing the astype(np.float32) from the following line: https://github.com/equinor/ert/blob/0d1b285e0b88c70770ffad820cec1ccf02fe10a0/tests/integration_tests/test_storage_migration.py#L141

eivindjahren avatar Mar 08 '24 09:03 eivindjahren

We need to migrate storages from older versions by converting the summary data from float64 to float32. This problem occured originally because it was read in float32, but converted to float64 by resdata, and we just saved what we got.

oyvindeide avatar Apr 08 '24 07:04 oyvindeide