@@ -21,6 +21,8 @@ v2025.02.0 (unreleased)
2121
2222New Features
2323~~~~~~~~~~~~
24+ - Added :py:meth: `tutorial.open_datatree ` and :py:meth: `tutorial.load_datatree `
25+ By `Eni Awowale <https://github.com/eni-awowale >`_.
2426- Added :py:meth: `DataTree.filter_like ` to conveniently restructure a DataTree like another DataTree (:issue: `10096 `, :pull: `10097 `).
2527 By `Kobe Vandelanotte <https://github.com/kobebryant432 >`_.
2628- Added :py:meth: `Coordinates.from_xindex ` as convenience for creating a new :py:class: `Coordinates ` object
@@ -32,11 +34,25 @@ New Features
3234 By `Justus Magin <https://github.com/keewis >`_.
3335- Added experimental support for coordinate transforms (not ready for public use yet!) (:pull: `9543 `)
3436 By `Benoit Bovy <https://github.com/benbovy >`_.
37+ - Similar to our :py:class: `numpy.datetime64 ` encoding path, automatically
38+ modify the units when an integer dtype is specified during eager cftime
39+ encoding, but the specified units would not allow for an exact round trip
40+ (:pull: `9498 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
3541- Support reading to `GPU memory with Zarr <https://zarr.readthedocs.io/en/stable/user-guide/gpu.html >`_ (:pull: `10078 `).
3642 By `Deepak Cherian <https://github.com/dcherian >`_.
3743
44+ Performance
45+ ~~~~~~~~~~~
46+ - :py:meth: `DatasetGroupBy.first ` and :py:meth: `DatasetGroupBy.last ` can now use ``flox `` if available. (:issue: `9647 `)
47+ By `Deepak Cherian <https://github.com/dcherian >`_.
48+
3849Breaking changes
3950~~~~~~~~~~~~~~~~
51+ - Rolled back code that would attempt to catch integer overflow when encoding
52+ times with small integer dtypes (:issue: `8542 `), since it was inconsistent
53+ with xarray's handling of standard integers, and interfered with encoding
54+ times with small integer dtypes and missing values (:pull: `9498 `). By
55+ `Spencer Clark <https://github.com/spencerkclark >`_.
4056- Warn instead of raise if phony_dims are detected when using h5netcdf-backend and ``phony_dims=None `` (:issue: `10049 `, :pull: `10058 `)
4157 By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_.
4258
@@ -62,6 +78,12 @@ Bug fixes
6278- Fix DataArray().drop_attrs(deep=False) and add support for attrs to
6379 DataArray()._replace(). (:issue: `10027 `, :pull: `10030 `). By `Jan
6480 Haacker <https://github.com/j-haacker> `_.
81+ - Fix bug preventing encoding times with missing values with small integer
82+ dtype (:issue: `9134 `, :pull: `9498 `). By `Spencer Clark
83+ <https://github.com/spencerkclark> `_.
84+ - More robustly raise an error when lazily encoding times and an integer dtype
85+ is specified with units that do not allow for an exact round trip
86+ (:pull: `9498 `). By `Spencer Clark <https://github.com/spencerkclark >`_.
6587- Prevent false resolution change warnings from being emitted when decoding
6688 timedeltas encoded with floating point values, and make it clearer how to
6789 silence this warning message in the case that it is rightfully emitted
@@ -157,8 +179,6 @@ New Features
157179 :py:class: `pandas.DatetimeIndex ` (:pull: `9965 `). By `Spencer Clark
158180 <https://github.com/spencerkclark> `_ and `Kai Mühlbauer
159181 <https://github.com/kmuehlbauer> `_.
160- - :py:meth: `DatasetGroupBy.first ` and :py:meth: `DatasetGroupBy.last ` can now use ``flox `` if available. (:issue: `9647 `)
161- By `Deepak Cherian <https://github.com/dcherian >`_.
162182
163183Breaking changes
164184~~~~~~~~~~~~~~~~
@@ -1473,7 +1493,7 @@ Bug fixes
14731493 special case ``NaT `` handling in :py:meth: `~core.accessor_dt.DatetimeAccessor.isocalendar `
14741494 (:issue: `7928 `, :pull: `8084 `).
14751495 By `Kai Mühlbauer <https://github.com/kmuehlbauer >`_.
1476- - Fix :py:meth: `~core .rolling.DatasetRolling.construct ` with stride on Datasets without indexes.
1496+ - Fix :py:meth: `~computation .rolling.DatasetRolling.construct ` with stride on Datasets without indexes.
14771497 (:issue: `7021 `, :pull: `7578 `).
14781498 By `Amrest Chinkamol <https://github.com/p4perf4ce >`_ and `Michael Niklas <https://github.com/headtr1ck >`_.
14791499- Calling plot with kwargs ``col ``, ``row `` or ``hue `` no longer squeezes dimensions passed via these arguments
@@ -2488,8 +2508,8 @@ New Features
24882508
24892509- The ``zarr `` backend is now able to read NCZarr.
24902510 By `Mattia Almansi <https://github.com/malmans2 >`_.
2491- - Add a weighted ``quantile `` method to :py:class: `~core .weighted.DatasetWeighted ` and
2492- :py:class: `~core .weighted.DataArrayWeighted ` (:pull: `6059 `).
2511+ - Add a weighted ``quantile `` method to :py:class: `.computation .weighted.DatasetWeighted ` and
2512+ :py:class: `~computation .weighted.DataArrayWeighted ` (:pull: `6059 `).
24932513 By `Christian Jauvin <https://github.com/cjauvin >`_ and `David Huard <https://github.com/huard >`_.
24942514- Add a ``create_index=True `` parameter to :py:meth: `Dataset.stack ` and
24952515 :py:meth: `DataArray.stack ` so that the creation of multi-indexes is optional
@@ -2871,7 +2891,7 @@ Thomas Nicholas, Tomas Chor, Tom Augspurger, Victor Negîrneac, Zachary Blackwoo
28712891
28722892New Features
28732893~~~~~~~~~~~~
2874- - Add ``std ``, ``var ``, ``sum_of_squares `` to :py:class: `~core .weighted.DatasetWeighted ` and :py:class: `~core .weighted.DataArrayWeighted `.
2894+ - Add ``std ``, ``var ``, ``sum_of_squares `` to :py:class: `~computation .weighted.DatasetWeighted ` and :py:class: `~computation .weighted.DataArrayWeighted `.
28752895 By `Christian Jauvin <https://github.com/cjauvin >`_.
28762896- Added a :py:func: `get_options ` method to xarray's root namespace (:issue: `5698 `, :pull: `5716 `)
28772897 By `Pushkar Kopparla <https://github.com/pkopparla >`_.
@@ -3507,7 +3527,7 @@ New Features
35073527 By `Justus Magin <https://github.com/keewis >`_.
35083528- Allow installing from git archives (:pull: `4897 `).
35093529 By `Justus Magin <https://github.com/keewis >`_.
3510- - :py:class: `~core .rolling.DataArrayCoarsen ` and :py:class: `~core .rolling.DatasetCoarsen `
3530+ - :py:class: `~computation .rolling.DataArrayCoarsen ` and :py:class: `~computation .rolling.DatasetCoarsen `
35113531 now implement a ``reduce `` method, enabling coarsening operations with custom
35123532 reduction functions (:issue: `3741 `, :pull: `4939 `).
35133533 By `Spencer Clark <https://github.com/spencerkclark >`_.
@@ -4352,8 +4372,8 @@ New Features
43524372- :py:meth: `Dataset.quantile `, :py:meth: `DataArray.quantile ` and ``GroupBy.quantile ``
43534373 now work with dask Variables.
43544374 By `Deepak Cherian <https://github.com/dcherian >`_.
4355- - Added the ``count `` reduction method to both :py:class: `~core .rolling.DatasetCoarsen `
4356- and :py:class: `~core .rolling.DataArrayCoarsen ` objects. (:pull: `3500 `)
4375+ - Added the ``count `` reduction method to both :py:class: `~computation .rolling.DatasetCoarsen `
4376+ and :py:class: `~computation .rolling.DataArrayCoarsen ` objects. (:pull: `3500 `)
43574377 By `Deepak Cherian <https://github.com/dcherian >`_
43584378- Add ``meta `` kwarg to :py:func: `~xarray.apply_ufunc `;
43594379 this is passed on to :py:func: `dask.array.blockwise `. (:pull: `3660 `)
@@ -4705,7 +4725,7 @@ Bug fixes
47054725- Fix error in concatenating unlabeled dimensions (:pull: `3362 `).
47064726 By `Deepak Cherian <https://github.com/dcherian >`_.
47074727- Warn if the ``dim `` kwarg is passed to rolling operations. This is redundant since a dimension is
4708- specified when the :py:class: `~core .rolling.DatasetRolling ` or :py:class: `~core .rolling.DataArrayRolling ` object is created.
4728+ specified when the :py:class: `~computation .rolling.DatasetRolling ` or :py:class: `~computation .rolling.DataArrayRolling ` object is created.
47094729 (:pull: `3362 `). By `Deepak Cherian <https://github.com/dcherian >`_.
47104730
47114731Documentation
@@ -5936,7 +5956,7 @@ Enhancements
59365956 supplied list, returning a bool array. See :ref: `selecting values with isin `
59375957 for full details. Similar to the ``np.isin `` function.
59385958 By `Maximilian Roos <https://github.com/max-sixty >`_.
5939- - Some speed improvement to construct :py:class: `~xarray.core .rolling.DataArrayRolling `
5959+ - Some speed improvement to construct :py:class: `~xarray.computation .rolling.DataArrayRolling `
59405960 object (:issue: `1993 `)
59415961 By `Keisuke Fujii <https://github.com/fujiisoup >`_.
59425962- Handle variables with different values for ``missing_value `` and
@@ -6016,8 +6036,8 @@ Enhancements
60166036 NumPy. By `Stephan Hoyer <https://github.com/shoyer >`_.
60176037
60186038- Improve :py:func: `~xarray.DataArray.rolling ` logic.
6019- :py:func: `~xarray.core .rolling.DataArrayRolling ` object now supports
6020- :py:func: `~xarray.core .rolling.DataArrayRolling.construct ` method that returns a view
6039+ :py:func: `~xarray.computation .rolling.DataArrayRolling ` object now supports
6040+ :py:func: `~xarray.computation .rolling.DataArrayRolling.construct ` method that returns a view
60216041 of the DataArray / Dataset object with the rolling-window dimension added
60226042 to the last axis. This enables more flexible operation, such as strided
60236043 rolling, windowed rolling, ND-rolling, short-time FFT and convolution.
@@ -6791,7 +6811,7 @@ Enhancements
67916811 By `Stephan Hoyer <https://github.com/shoyer >`_ and
67926812 `Phillip J. Wolfram <https://github.com/pwolfram >`_.
67936813
6794- - New aggregation on rolling objects :py:meth: `~core .rolling.DataArrayRolling.count `
6814+ - New aggregation on rolling objects :py:meth: `~computation .rolling.DataArrayRolling.count `
67956815 which providing a rolling count of valid values (:issue: `1138 `).
67966816
67976817Bug fixes
0 commit comments