Skip to content

Commit 89ad415

Browse files
authored
Merge branch 'main' into fix-netcdf4-remote-zarr-detection
2 parents c93df60 + 6aa48c3 commit 89ad415

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

doc/whats-new.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ New Features
1717
Breaking changes
1818
~~~~~~~~~~~~~~~~
1919

20+
- Xarray's default engine for reading/writing netCDF files has been reverted to
21+
prefer netCDF4, which was the default before v2025.09.1. This change
22+
had larger implications for the ecosystem than we anticipated. We are still
23+
considering changing the default in the future, but will be a bit more careful
24+
about the implications. See :issue:`10657` and linked issues for discussion.
25+
The behavior can still be customized, e.g., with
26+
``xr.set_options(netcdf_engine_order=['h5netcdf', 'netcdf4', 'scipy'])``.
27+
By `Stephan Hoyer <https://github.com/shoyer>`_.
2028

2129
Deprecations
2230
~~~~~~~~~~~~

xarray/core/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class T_Options(TypedDict):
5959
enable_cftimeindex: bool
6060
file_cache_maxsize: int
6161
keep_attrs: Literal["default"] | bool
62-
netcdf_engine_order: Sequence[Literal["h5netcdf", "scipy", "netcdf4"]]
62+
netcdf_engine_order: Sequence[Literal["netcdf4", "h5netcdf", "scipy"]]
6363
warn_for_unclosed_files: bool
6464
use_bottleneck: bool
6565
use_flox: bool

0 commit comments

Comments
 (0)