@@ -14,19 +14,27 @@ What's New
14
14
15
15
np.random.seed(123456 )
16
16
17
- .. _whats-new.2022.03.1 :
17
+ .. _whats-new.2022.06.0rc0 :
18
18
19
- v2022.03.1 (unreleased)
20
- -----------------------
19
+ v2022.06.0rc0 (unreleased)
20
+ --------------------------
21
+
22
+ This pre-release brings a number of bug fixes and improvements, most notably a major internal
23
+ refactor of the indexing functionality and the `flox `_ in ``groupby `` operations. It also stops
24
+ testing support for the abandoned PyNIO.
25
+
26
+ Known Regressions
27
+ -----------------
28
+ - `reset_coords(drop=True) ` does not create indexes (:issue: `6607 `)
21
29
22
30
New Features
23
31
~~~~~~~~~~~~
24
32
25
33
- The `zarr ` backend is now able to read NCZarr.
26
34
By `Mattia Almansi <https://github.com/malmans2 >`_.
27
35
- Add a weighted ``quantile `` method to :py:class: `~core.weighted.DatasetWeighted ` and
28
- :py:class: `~core.weighted.DataArrayWeighted ` (:pull: `6059 `). By
29
- `Christian Jauvin <https://github.com/cjauvin >`_ and `David Huard <https://github.com/huard >`_.
36
+ :py:class: `~core.weighted.DataArrayWeighted ` (:pull: `6059 `).
37
+ By `Christian Jauvin <https://github.com/cjauvin >`_ and `David Huard <https://github.com/huard >`_.
30
38
- Add a ``create_index=True `` parameter to :py:meth: `Dataset.stack ` and
31
39
:py:meth: `DataArray.stack ` so that the creation of multi-indexes is optional
32
40
(:pull: `5692 `).
@@ -41,8 +49,8 @@ New Features
41
49
- Allow passing chunks in ``**kwargs `` form to :py:meth: `Dataset.chunk `, :py:meth: `DataArray.chunk `, and
42
50
:py:meth: `Variable.chunk `. (:pull: `6471 `)
43
51
By `Tom Nicholas <https://github.com/TomNicholas >`_.
44
- - Expose ` inline_array ` kwarg from `dask.array.from_array ` in :py:func: `open_dataset `, :py:meth: ` Dataset.chunk `,
45
- :py:meth: `DataArray.chunk `, and :py:meth: `Variable.chunk `. (:pull: `6471 `)
52
+ - Expose the `` inline_array `` kwarg from :py:func: `dask.array.from_array ` in :py:func: `open_dataset `,
53
+ :py:meth: `Dataset.chunk `, :py:meth: ` DataArray.chunk `, and :py:meth: `Variable.chunk `. (:pull: `6471 `)
46
54
By `Tom Nicholas <https://github.com/TomNicholas >`_.
47
55
- :py:meth: `xr.polyval ` now supports :py:class: `Dataset ` and :py:class: `DataArray ` args of any shape,
48
56
is faster and requires less memory. (:pull: `6548 `)
@@ -108,7 +116,8 @@ Bug fixes
108
116
coordinates. See the corresponding pull-request on GitHub for more details. (:pull: `5692 `).
109
117
By `Benoît Bovy <https://github.com/benbovy >`_.
110
118
- Fixed "unhashable type" error trying to read NetCDF file with variable having its 'units'
111
- attribute not ``str `` (e.g. ``numpy.ndarray ``) (:issue: `6368 `). By `Oleh Khoma <https://github.com/okhoma >`_.
119
+ attribute not ``str `` (e.g. ``numpy.ndarray ``) (:issue: `6368 `).
120
+ By `Oleh Khoma <https://github.com/okhoma >`_.
112
121
- Omit warning about specified dask chunks separating chunks on disk when the
113
122
underlying array is empty (e.g., because of an empty dimension) (:issue: `6401 `).
114
123
By `Joseph K Aicher <https://github.com/jaicher >`_.
@@ -124,18 +133,18 @@ Bug fixes
124
133
- Allow passing both ``other `` and ``drop=True `` arguments to ``xr.DataArray.where ``
125
134
and ``xr.Dataset.where `` (:pull: `6466 `, :pull: `6467 `).
126
135
By `Michael Delgado <https://github.com/delgadom >`_.
127
- - Ensure dtype encoding attributes are not added or modified on variables that
128
- contain datetime-like values prior to being passed to
129
- :py:func: ` xarray.conventions.decode_cf_variable ` ( :issue: ` 6453 `,
130
- :pull: ` 6489 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
136
+ - Ensure dtype encoding attributes are not added or modified on variables that contain datetime-like
137
+ values prior to being passed to :py:func: ` xarray.conventions.decode_cf_variable ` ( :issue: ` 6453 `,
138
+ :pull: ` 6489 `).
139
+ By `Spencer Clark <https://github.com/spencerkclark >`_.
131
140
- Dark themes are now properly detected in Furo-themed Sphinx documents (:issue: `6500 `, :pull: `6501 `).
132
141
By `Kevin Paul <https://github.com/kmpaul >`_.
133
142
- :py:meth: `isel ` with `drop=True ` works as intended with scalar :py:class: `DataArray ` indexers.
134
143
(:issue: `6554 `, :pull: `6579 `)
135
144
By `Michael Niklas <https://github.com/headtr1ck >`_.
136
145
- Fixed silent overflow issue when decoding times encoded with 32-bit and below
137
- unsigned integer data types (:issue: `6589 `, :pull: `6598 `). By ` Spencer Clark
138
- <https://github.com/spencerkclark> `_.
146
+ unsigned integer data types (:issue: `6589 `, :pull: `6598 `).
147
+ By ` Spencer Clark <https://github.com/spencerkclark >`_.
139
148
140
149
Documentation
141
150
~~~~~~~~~~~~~
@@ -157,8 +166,7 @@ Performance
157
166
- Substantially improved GroupBy operations using `flox <https://flox.readthedocs.io/en/latest/ >`_.
158
167
This is auto-enabled when ``flox `` is installed. Use ``xr.set_options(use_flox=False) `` to use
159
168
the old algorithm. (:issue: `4473 `, :issue: `4498 `, :issue: `659 `, :issue: `2237 `, :pull: `271 `).
160
- By `Deepak Cherian <https://github.com/dcherian >`_,`Anderson Banihirwe <https://github.com/andersy005>`_,
161
- `Jimmy Westling <https://github.com/illviljan >`_.
169
+ By `Deepak Cherian <https://github.com/dcherian >`_, `Anderson Banihirwe <https://github.com/andersy005 >`_, `Jimmy Westling <https://github.com/illviljan >`_.
162
170
163
171
Internal Changes
164
172
~~~~~~~~~~~~~~~~
0 commit comments