v2022.12.0
This release includes a number of bug fixes and experimental support for Zarr V3.
Thanks to the 16 contributors to this release:
Deepak Cherian, Francesco Zanetta, Gregory Lee, Illviljan, Joe Hamman, Justus Magin, Luke Conibear, Mark Harfouche, Mathias Hauser,
Mick, Mike Taves, Sam Levang, Spencer Clark, Tom Nicholas, Wei Ji, templiert
New Features
- Enable using
offset
andorigin
arguments in :py:meth:DataArray.resample
and :py:meth:Dataset.resample
(:issue:7266
, :pull:7284
). BySpencer Clark <https://github.com/spencerkclark>
_. - Add experimental support for Zarr's in-progress V3 specification. (:pull:
6475
).
ByGregory Lee <https://github.com/grlee77>
_ andJoe Hamman <https://github.com/jhamman>
_.
Breaking changes
-
The minimum versions of some dependencies were changed (:pull:
7300
):========================== ========= ========
Package Old New
========================== ========= ========
boto 1.18 1.20
cartopy 0.19 0.20
distributed 2021.09 2021.11
dask 2021.09 2021.11
h5py 3.1 3.6
hdf5 1.10 1.12
matplotlib-base 3.4 3.5
nc-time-axis 1.3 1.4
netcdf4 1.5.3 1.5.7
packaging 20.3 21.3
pint 0.17 0.18
pseudonetcdf 3.1 3.2
typing_extensions 3.10 4.0
========================== ========= ========
Deprecations
- The PyNIO backend has been deprecated (:issue:
4491
, :pull:7301
).
ByJoe Hamman <https://github.com/jhamman>
_.
Bug fixes
- Fix handling of coordinate attributes in :py:func:
where
. (:issue:7220
, :pull:7229
)
BySam Levang <https://github.com/slevang>
_. - Import
nc_time_axis
when needed (:issue:7275
, :pull:7276
).
ByMichael Niklas <https://github.com/headtr1ck>
_. - Fix static typing of :py:meth:
xr.polyval
(:issue:7312
, :pull:7315
).
ByMichael Niklas <https://github.com/headtr1ck>
_. - Fix multiple reads on fsspec S3 files by resetting file pointer to 0 when reading file streams (:issue:
6813
, :pull:7304
).
ByDavid Hoese <https://github.com/djhoese>
_ andWei Ji Leong <https://github.com/weiji14>
_. - Fix :py:meth:
Dataset.assign_coords
resetting all dimension coordinates to default (pandas) index (:issue:7346
, :pull:7347
).
ByBenoît Bovy <https://github.com/benbovy>
_.
Documentation
- Add example of reading and writing individual groups to a single netCDF file to I/O docs page. (:pull:
7338
)
ByTom Nicholas <https://github.com/TomNicholas>
_.