Skip to content

Commit

Permalink
Fixup: Use engine="scipy" for migrating gendata
Browse files Browse the repository at this point in the history
  • Loading branch information
Yngve S. Kristiansen committed Sep 9, 2024
1 parent 9dc1c4f commit 21398bc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ert/storage/migration/to7.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 21398bc

Please sign in to comment.