From 72dc90c8299e47c972d1413d1c1994f88c9c5f3e Mon Sep 17 00:00:00 2001 From: "Yngve S. Kristiansen" Date: Thu, 5 Sep 2024 09:57:06 +0200 Subject: [PATCH] Fixup: Use engine="scipy" for migrating gendata --- src/ert/storage/migration/to7.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ert/storage/migration/to7.py b/src/ert/storage/migration/to7.py index 1b8745127ce..5581261ff6f 100644 --- a/src/ert/storage/migration/to7.py +++ b/src/ert/storage/migration/to7.py @@ -125,7 +125,9 @@ def _migrate_response_datasets(path: Path) -> None: gen_data_combined = _ensure_coord_order( xr.concat([ds for _, ds in gen_data_datasets], dim="name") ) - gen_data_combined.to_netcdf(real_dir / "gen_data.nc") + gen_data_combined.to_netcdf( + real_dir / "gen_data.nc", engine="scipy" + ) for p in [ds_path for ds_path, _ in gen_data_datasets]: os.remove(p)