@@ -14,19 +14,27 @@ What's New
1414
1515 np.random.seed(123456 )
1616
17- .. _whats-new.2022.03.1 :
17+ .. _whats-new.2022.06.0rc0 :
1818
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 `)
2129
2230New Features
2331~~~~~~~~~~~~
2432
2533- The `zarr ` backend is now able to read NCZarr.
2634 By `Mattia Almansi <https://github.com/malmans2 >`_.
2735- 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 >`_.
3038- Add a ``create_index=True `` parameter to :py:meth: `Dataset.stack ` and
3139 :py:meth: `DataArray.stack ` so that the creation of multi-indexes is optional
3240 (:pull: `5692 `).
@@ -41,8 +49,8 @@ New Features
4149- Allow passing chunks in ``**kwargs `` form to :py:meth: `Dataset.chunk `, :py:meth: `DataArray.chunk `, and
4250 :py:meth: `Variable.chunk `. (:pull: `6471 `)
4351 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 `)
4654 By `Tom Nicholas <https://github.com/TomNicholas >`_.
4755- :py:meth: `xr.polyval ` now supports :py:class: `Dataset ` and :py:class: `DataArray ` args of any shape,
4856 is faster and requires less memory. (:pull: `6548 `)
@@ -108,7 +116,8 @@ Bug fixes
108116 coordinates. See the corresponding pull-request on GitHub for more details. (:pull: `5692 `).
109117 By `Benoît Bovy <https://github.com/benbovy >`_.
110118- 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 >`_.
112121- Omit warning about specified dask chunks separating chunks on disk when the
113122 underlying array is empty (e.g., because of an empty dimension) (:issue: `6401 `).
114123 By `Joseph K Aicher <https://github.com/jaicher >`_.
@@ -124,18 +133,18 @@ Bug fixes
124133- Allow passing both ``other `` and ``drop=True `` arguments to ``xr.DataArray.where ``
125134 and ``xr.Dataset.where `` (:pull: `6466 `, :pull: `6467 `).
126135 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 >`_.
131140- Dark themes are now properly detected in Furo-themed Sphinx documents (:issue: `6500 `, :pull: `6501 `).
132141 By `Kevin Paul <https://github.com/kmpaul >`_.
133142- :py:meth: `isel ` with `drop=True ` works as intended with scalar :py:class: `DataArray ` indexers.
134143 (:issue: `6554 `, :pull: `6579 `)
135144 By `Michael Niklas <https://github.com/headtr1ck >`_.
136145- 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 >`_.
139148
140149Documentation
141150~~~~~~~~~~~~~
@@ -157,8 +166,7 @@ Performance
157166- Substantially improved GroupBy operations using `flox <https://flox.readthedocs.io/en/latest/ >`_.
158167 This is auto-enabled when ``flox `` is installed. Use ``xr.set_options(use_flox=False) `` to use
159168 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 >`_.
162170
163171Internal Changes
164172~~~~~~~~~~~~~~~~
0 commit comments