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
By `Richard Kleijn <https://github.com/rhkleijn>`_.
104
107
- Add a ``combine_attrs`` parameter to :py:func:`open_mfdataset` (:pull:`4971`).
@@ -107,7 +110,8 @@ New Features
107
110
:py:meth:`DataArray.clip` & :py:meth:`Dataset.clip`; these methods now use
108
111
:py:func:`xarray.apply_ufunc`; (:pull:`5184`).
109
112
By `Maximilian Roos <https://github.com/max-sixty>`_.
110
-
- Disable the `cfgrib` backend if the `eccodes` library is not installed (:pull:`5083`). By `Baudouin Raoult <https://github.com/b8raoult>`_.
113
+
- Disable the `cfgrib` backend if the `eccodes` library is not installed (:pull:`5083`).
114
+
By `Baudouin Raoult <https://github.com/b8raoult>`_.
111
115
- Added :py:meth:`DataArray.curvefit` and :py:meth:`Dataset.curvefit` for general curve fitting applications. (:issue:`4300`, :pull:`4849`)
112
116
By `Sam Levang <https://github.com/slevang>`_.
113
117
- Add options to control expand/collapse of sections in display of Dataset and
@@ -118,15 +122,16 @@ New Features
118
122
pre-defined limit (:pull:`5126`).
119
123
By `Tom White <https://github.com/tomwhite>`_.
120
124
- Significant speedups in :py:meth:`Dataset.interp` and :py:meth:`DataArray.interp`.
121
-
(:issue:`4739`, :pull:`4740`). By `Deepak Cherian <https://github.com/dcherian>`_.
125
+
(:issue:`4739`, :pull:`4740`).
126
+
By `Deepak Cherian <https://github.com/dcherian>`_.
122
127
- Prevent passing `concat_dim` to :py:func:`xarray.open_mfdataset` when
123
128
`combine='by_coords'` is specified, which should never have been possible (as
124
129
:py:func:`xarray.combine_by_coords` has no `concat_dim` argument to pass to).
125
130
Also removes unneeded internal reordering of datasets in
126
131
:py:func:`xarray.open_mfdataset` when `combine='by_coords'` is specified.
127
132
Fixes (:issue:`5230`).
128
133
By `Tom Nicholas <https://github.com/TomNicholas>`_.
129
-
- Implement ``__setitem__`` for :py:class:`core.indexing.DaskIndexingAdapter` if
134
+
- Implement ``__setitem__`` for ``xarray.core.indexing.DaskIndexingAdapter`` if
130
135
dask version supports item assignment. (:issue:`5171`, :pull:`5174`)
131
136
By `Tammas Loughran <https://github.com/tammasloughran>`_.
132
137
@@ -152,8 +157,8 @@ Breaking changes
152
157
- Functions that are identities for 0d data return the unchanged data
153
158
if axis is empty. This ensures that Datasets where some variables do
154
159
not have the averaged dimensions are not accidentially changed
155
-
(:issue:`4885`, :pull:`5207`). By `David Schwörer
156
-
<https://github.com/dschwoerer>`_
160
+
(:issue:`4885`, :pull:`5207`).
161
+
By `David Schwörer <https://github.com/dschwoerer>`_.
157
162
- :py:attr:`DataArray.coarsen` and :py:attr:`Dataset.coarsen` no longer support passing ``keep_attrs``
158
163
via its constructor. Pass ``keep_attrs`` via the applied function, i.e. use
159
164
``ds.coarsen(...).mean(keep_attrs=False)`` instead of ``ds.coarsen(..., keep_attrs=False).mean()``.
@@ -184,10 +189,15 @@ Deprecations
184
189
Bug fixes
185
190
~~~~~~~~~
186
191
- Properly support :py:meth:`DataArray.ffill`, :py:meth:`DataArray.bfill`, :py:meth:`Dataset.ffill`, :py:meth:`Dataset.bfill` along chunked dimensions.
By `Deepak Cherian <https://github.com/dcherian>`_.
188
194
- Fix 2d plot failure for certain combinations of dimensions when `x` is 1d and `y` is
189
-
2d (:issue:`5097`, :pull:`5099`). By `John Omotani <https://github.com/johnomotani>`_.
190
-
- Ensure standard calendar times encoded with large values (i.e. greater than approximately 292 years), can be decoded correctly without silently overflowing (:pull:`5050`). This was a regression in xarray 0.17.0. By `Zeb Nicholls <https://github.com/znicholls>`_.
195
+
2d (:issue:`5097`, :pull:`5099`).
196
+
By `John Omotani <https://github.com/johnomotani>`_.
197
+
- Ensure standard calendar times encoded with large values (i.e. greater than
198
+
approximately 292 years), can be decoded correctly without silently overflowing
199
+
(:pull:`5050`). This was a regression in xarray 0.17.0.
200
+
By `Zeb Nicholls <https://github.com/znicholls>`_.
191
201
- Added support for `numpy.bool_` attributes in roundtrips using `h5netcdf` engine with `invalid_netcdf=True` [which casts `bool`s to `numpy.bool_`] (:issue:`4981`, :pull:`4986`).
192
202
By `Victor Negîrneac <https://github.com/caenrigen>`_.
193
203
- Don't allow passing ``axis`` to :py:meth:`Dataset.reduce` methods (:issue:`3510`, :pull:`4940`).
@@ -204,11 +214,14 @@ Bug fixes
204
214
- Warn on passing ``keep_attrs`` to ``resample`` and ``rolling_exp`` as they are ignored, pass ``keep_attrs``
205
215
to the applied function instead (:pull:`5265`). By `Mathias Hauser <https://github.com/mathause>`_.
206
216
217
+
(:issue:`5093`, :pull:`5180`).
218
+
By `Spencer Clark <https://github.com/spencerkclark>`_.
207
219
208
220
Documentation
209
221
~~~~~~~~~~~~~
210
222
- New section on :ref:`add_a_backend` in the "Internals" chapter aimed to backend developers
211
-
(:issue:`4803`, :pull:`4810`). By `Aureliana Barghini <https://github.com/aurghs>`_.
223
+
(:issue:`4803`, :pull:`4810`).
224
+
By `Aureliana Barghini <https://github.com/aurghs>`_.
212
225
- Add :py:meth:`Dataset.polyfit` and :py:meth:`DataArray.polyfit` under "See also" in
213
226
the docstrings of :py:meth:`Dataset.polyfit` and :py:meth:`DataArray.polyfit`
214
227
(:issue:`5016`, :pull:`5020`).
@@ -219,7 +232,8 @@ Documentation
219
232
Internal Changes
220
233
~~~~~~~~~~~~~~~~
221
234
- Enable displaying mypy error codes and ignore only specific error codes using
222
-
``# type: ignore[error-code]`` (:pull:`5096`). By `Mathias Hauser <https://github.com/mathause>`_.
235
+
``# type: ignore[error-code]`` (:pull:`5096`).
236
+
By `Mathias Hauser <https://github.com/mathause>`_.
223
237
- Replace uses of ``raises_regex`` with the more standard
224
238
``pytest.raises(Exception, match="foo")``;
225
239
(:pull:`5188`), (:pull:`5191`).
@@ -380,7 +394,8 @@ Bug fixes
380
394
- Resolve intervals before appending other metadata to labels when plotting (:issue:`4322`, :pull:`4794`).
381
395
By `Justus Magin <https://github.com/keewis>`_.
382
396
- Fix regression when decoding a variable with a ``scale_factor`` and ``add_offset`` given
383
-
as a list of length one (:issue:`4631`) by `Mathias Hauser <https://github.com/mathause>`_.
397
+
as a list of length one (:issue:`4631`).
398
+
By `Mathias Hauser <https://github.com/mathause>`_.
384
399
- Expand user directory paths (e.g. ``~/``) in :py:func:`open_mfdataset` and
0 commit comments