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
* finalize release notes
* add contributors
* Tweak main what's new entry for time coding (#4)
---------
Co-authored-by: Spencer Clark <[email protected]>
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+23-17
Original file line number
Diff line number
Diff line change
@@ -16,14 +16,21 @@ What's New
16
16
17
17
.. _whats-new.2025.01.2:
18
18
19
-
v2025.01.2 (unreleased)
20
-
-----------------------
19
+
v2025.01.2 (Jan 31, 2025)
20
+
-------------------------
21
21
22
-
This release brings non-nanosecond datetime and timedelta resolution to xarray.
23
-
In the last couple of releases xarray has been prepared for that change. The
24
-
code had to be changed and adapted in numerous places, affecting especially the
25
-
test suite. The documentation has been updated accordingly and a new internal
26
-
chapter on :ref:`internals.timecoding` has been added.
22
+
This release brings non-nanosecond datetime and timedelta resolution to xarray,
23
+
sharded reading in zarr, suggestion of correct names when trying to access
24
+
non-existent data variables and bug fixes!
25
+
26
+
Thanks to the 16 contributors to this release:
27
+
Deepak Cherian, Elliott Sales de Andrade, Jacob Prince-Bieker, Jimmy Westling, Joe Hamman, Joseph Nowak, Justus Magin, Kai Mühlbauer, Mattia Almansi, Michael Niklas, Roelof Rietbroek, Salaheddine EL FARISSI, Sam Levang, Spencer Clark, Stephan Hoyer and Tom Nicholas
28
+
29
+
In the last couple of releases xarray has been prepared for allowing
30
+
non-nanosecond datetime and timedelta resolution. The code had to be changed
31
+
and adapted in numerous places, affecting especially the test suite. The
32
+
documentation has been updated accordingly and a new internal chapter
33
+
on :ref:`internals.timecoding` has been added.
27
34
28
35
To make the transition as smooth as possible this is designed to be fully
29
36
backwards compatible, keeping the current default of ``'ns'`` resolution on
@@ -63,8 +70,12 @@ eventually be deprecated.
63
70
64
71
New Features
65
72
~~~~~~~~~~~~
66
-
- Relax nanosecond datetime restriction in CF time decoding (:issue:`7493`, :pull:`9618`, :pull:`9977`, :pull:`9966`, :pull:`9999`).
67
-
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_ and `Spencer Clark <https://github.com/spencerkclark>`_.
73
+
- Relax nanosecond resolution restriction in CF time coding and permit
74
+
:py:class:`numpy.datetime64` or :py:class:`numpy.timedelta64` dtype arrays
75
+
with ``"s"``, ``"ms"``, ``"us"``, or ``"ns"`` resolution throughout xarray
76
+
(:issue:`7493`, :pull:`9618`, :pull:`9977`, :pull:`9966`, :pull:`9999`). By
77
+
`Kai Mühlbauer <https://github.com/kmuehlbauer>`_ and `Spencer Clark
78
+
<https://github.com/spencerkclark>`_.
68
79
- Enable the ``compute=False`` option in :py:meth:`DataTree.to_zarr`. (:pull:`9958`).
69
80
By `Sam Levang <https://github.com/slevang>`_.
70
81
- Improve the error message raised when no key is matching the available variables in a dataset. (:pull:`9943`)
@@ -76,12 +87,9 @@ New Features
76
87
:py:class:`pandas.DatetimeIndex` (:pull:`9965`). By `Spencer Clark
77
88
<https://github.com/spencerkclark>`_ and `Kai Mühlbauer
78
89
<https://github.com/kmuehlbauer>`_.
79
-
- :py:meth:`DatasetGroupBy.first` and :py:meth:`DatasetGroupBy.last` can now use ``flox`` if available. (:issue:`9647`)
80
-
By `Deepak Cherian <https://github.com/dcherian>`_.
81
-
82
-
Breaking changes
83
-
~~~~~~~~~~~~~~~~
84
-
90
+
- Adds shards to the list of valid_encodings in the zarr backend, so that
91
+
sharded Zarr V3s can be written (:issue:`9947`, :pull:`9948`).
92
+
By `Jacob Prince_Bieker <https://github.com/jacobbieker>`_
85
93
86
94
Deprecations
87
95
~~~~~~~~~~~~
@@ -92,10 +100,8 @@ Deprecations
92
100
data (:issue:`1621`, :pull:`9966`). By `Spencer Clark
93
101
<https://github.com/spencerkclark>`_.
94
102
95
-
96
103
Bug fixes
97
104
~~~~~~~~~
98
-
99
105
- Fix :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill` and :py:meth:`Dataset.bfill` when the limit is bigger than the chunksize (:issue:`9939`).
100
106
By `Joseph Nowak <https://github.com/josephnowak>`_.
101
107
- Fix issues related to Pandas v3 ("us" vs. "ns" for python datetime, copy on write) and handling of 0d-numpy arrays in datetime/timedelta decoding (:pull:`9953`).
0 commit comments