@@ -13,31 +13,42 @@ What's New
13
13
import xarray as xr
14
14
np.random.seed(123456 )
15
15
16
- .. _whats-new.0.12.4 :
16
+ .. _whats-new.0.13.0 :
17
17
18
- v0.12.4 (unreleased)
19
- -------------------
18
+ v0.13.0 (unreleased)
19
+ --------------------
20
20
21
21
This release increases the minimum required Python version from 3.5.0 to 3.5.3
22
22
(:issue: `3089 `). By `Guido Imperiale <https://github.com/crusaderky >`_.
23
23
24
24
New functions/methods
25
25
~~~~~~~~~~~~~~~~~~~~~
26
26
27
- - Added :py:meth: `DataArray.broadcast_like ` and :py:meth: `Dataset.broadcast_like `.
28
- By `Deepak Cherian <https://github.com/dcherian >`_ and `David Mertz
29
- <http://github.com/DavidMertz> `_.
27
+ - xarray can now wrap around any
28
+ `NEP18 <https://www.numpy.org/neps/nep-0018-array-function-protocol.html >`_ compliant
29
+ numpy-like library (important: read notes about NUMPY_EXPERIMENTAL_ARRAY_FUNCTION in
30
+ the above link). Added explicit test coverage for
31
+ `sparse <https://github.com/pydata/sparse >`_. (:issue: `3117 `, :issue: `3202 `)
32
+ By `Nezar Abdennur <https://github.com/nvictus >`_
33
+ and `Guido Imperiale <https://github.com/crusaderky >`_.
30
34
31
- - The xarray package is now discoverably by mypy (although typing hints
32
- coverage is not complete yet). mypy users can now remove from their setup.cfg
33
- the lines::
35
+ - The xarray package is now discoverable by mypy (although typing hints coverage is not
36
+ complete yet). mypy type checking is now enforced by CI. Libraries that depend on
37
+ xarray and use mypy can now remove from their setup.cfg the lines::
34
38
35
39
[mypy-xarray]
36
40
ignore_missing_imports = True
37
41
38
- By `Guido Imperiale <https://github.com/crusaderky>`_
42
+ (:issue: `2877 `, :issue: `3088 `, :issue: `3090 `, :issue: `3112 `, :issue: `3117 `,
43
+ :issue: `3207 `)
44
+ By `Guido Imperiale <https://github.com/crusaderky >`_
45
+ and `Maximilian Roos <https://github.com/max-sixty >`_.
39
46
40
- - Dataset plotting API for visualizing dependences between two `DataArray`s!
47
+ - Added :py:meth: `DataArray.broadcast_like ` and :py:meth: `Dataset.broadcast_like `.
48
+ By `Deepak Cherian <https://github.com/dcherian >`_ and `David Mertz
49
+ <http://github.com/DavidMertz> `_.
50
+
51
+ - Dataset plotting API for visualizing dependencies between two `DataArray`s!
41
52
Currently only :py:meth: `Dataset.plot.scatter ` is implemented.
42
53
By `Yohai Bar Sinai <https://github.com/yohai >`_ and `Deepak Cherian <https://github.com/dcherian >`_
43
54
@@ -62,6 +73,9 @@ Bug fixes
62
73
- XFAIL several tests which are expected to fail on ARM systems
63
74
due to a ``datetime `` issue in NumPy (:issue: `2334 `).
64
75
By `Graham Inggs <https://github.com/ginggs >`_.
76
+ - Fix KeyError that arises when using .sel method with float values
77
+ different from coords float type (:issue: `3137 `).
78
+ By `Hasan Ahmad <https://github.com/HasanAhmadQ7 >`_.
65
79
- Fixed bug in ``combine_by_coords() `` causing a `ValueError ` if the input had
66
80
an unused dimension with coordinates which were not monotonic (:issue: `3150 `).
67
81
By `Tom Nicholas <http://github.com/TomNicholas >`_.
0 commit comments