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):
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>_.
Write a release summary: ~50 words describing the high level features. This
will be used in the release emails, tweets, GitHub release notes, etc.
Look over whats-new.rst and the docs. Make sure "What's New" is complete
(check the date!) and add the release summary at the top.
Things to watch out for:
Important new features should be highlighted towards the top.
Function/method references should include links to the API docs.
Sometimes notes get added in the wrong section of whats-new, typically
due to a bad merge. Check for these before a release by using git diff,
e.g., git diff v{YYYY.MM.X-1} whats-new.rst where {YYYY.MM.X-1} is the previous
release.
Open a PR with the release summary and whatsnew changes; in particular the
release headline should get feedback from the team on what's important to include.
After merging, again ensure your main branch is synced to upstream:
git pull upstream main
If you have any doubts, run the full test suite one final time!
pytest
Check that the ReadTheDocs build is passing on the main branch.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on xarray to permit the latest version.
Release notes
Sourced from xarray's releases.
... (truncated)
Changelog
Sourced from xarray's changelog.
... (truncated)
Commits
38d335d
Whats-new: 2022.12.0 (#7345)8938d39
Fix assign_coords resetting all dimension coords to default index (#7347)92e7cb5
Support the new compression argument in netCDF4 > 1.6.0 (#6981)88e1aea
Remove setuptools-scm-git-archive, require setuptools-scm>=7 (#7253)edcd26d
Fix mypy failures (#7343)43ec7a9
Docs: add example of writing and reading groups to netcdf (#7338)ea9b3a5
Reset file pointer to 0 when reading file stream (#7304)0e5e3fe
Enable mypy warn unused ignores (#7335)0aee4fe
Optimize some copying (#7209)e4fe194
Add parse_dims func (#7051)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)