You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change default netCDF engine to use h5netcdf and add netcdf_engine_order (#10755)
* Add option for netcdf_engine_order
The default `engine` when reading/writing netCDF files is now h5netcdf
or scipy, which are typically faster than the prior default of netCDF4-python.
You can control this default behavior explicitly via the new
`netcdf_engine_order` parameter in `set_options()`, e.g.,
`xr.set_options(netcdf_engine_order=['netcdf4', 'scipy', 'h5netcdf'])` to
restore the prior defaults.
I've also updated the documentation page which misled @lesserwhirls
about Xarray supporting invalid netCDF files without
`invalid_netcdf=True`.
Fixes#10657
* Fix test failures
* Automatically support NCZarr
* Revert "Automatically support NCZarr"
This reverts commit 18fe84f.
* Reapply "Automatically support NCZarr"
This reverts commit 4131449.
* Fix mypy
* spelling
* Improve typing for _normalize_path()
* hard code engine="netcdf4" for test_encoding_enum__no_fill_value
* Fix reading netcdf3 files with open_datatree
* Set engine in test_encoding_enum__multiple_variable_with_enum
* set yet another test to only use netcdf4
0 commit comments