pypi xarray 2022.12.0
v2022.12.0

latest releases: 2024.3.0, 2024.2.0, 2024.1.1...
16 months ago

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 and origin arguments in :py:meth:DataArray.resample
    and :py:meth:Dataset.resample (:issue:7266, :pull:7284). By Spencer Clark <https://github.com/spencerkclark>_.
  • Add experimental support for Zarr's in-progress V3 specification. (:pull:6475).
    By Gregory Lee <https://github.com/grlee77>_ and Joe 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).
    By Joe Hamman <https://github.com/jhamman>_.

Bug fixes

  • Fix handling of coordinate attributes in :py:func:where. (:issue:7220, :pull:7229)
    By Sam Levang <https://github.com/slevang>_.
  • Import nc_time_axis when needed (:issue:7275, :pull:7276).
    By Michael Niklas <https://github.com/headtr1ck>_.
  • Fix static typing of :py:meth:xr.polyval (:issue:7312, :pull:7315).
    By Michael 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).
    By David Hoese <https://github.com/djhoese>_ and Wei Ji Leong <https://github.com/weiji14>_.
  • Fix :py:meth:Dataset.assign_coords resetting all dimension coordinates to default (pandas) index (:issue:7346, :pull:7347).
    By Benoî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)
    By Tom Nicholas <https://github.com/TomNicholas>_.

Don't miss a new xarray release

NewReleases is sending notifications on new releases.