@@ -30,19 +30,56 @@ What's New
30
30
v0.10.1 (unreleased)
31
31
--------------------
32
32
33
+ The minor release includes a number of bug-fixes and backwards compatible enhancements.
34
+
33
35
Documentation
34
36
~~~~~~~~~~~~~
35
37
36
- - Added apply_ufunc example to toy weather data page (:issue: `1844 `).
38
+ - Added a new guide on :ref: `contributing ` (:issue: `640 `)
39
+ By `Joe Hamman <https://github.com/jhamman >`_.
40
+ - Added apply_ufunc example to :ref: `toy weather data ` (:issue: `1844 `).
37
41
By `Liam Brannigan <https://github.com/braaannigan >`_.
38
42
- New entry `Why don’t aggregations return Python scalars? ` in the
39
43
:doc: `faq ` (:issue: `1726 `).
40
44
By `0x0L <https://github.com/0x0L >`_.
41
- - Added a new contributors guide (:issue: `640 `)
42
- By `Joe Hamman <https://github.com/jhamman >`_.
43
45
44
46
Enhancements
45
47
~~~~~~~~~~~~
48
+
49
+ **New functions and methods **:
50
+
51
+ - Added :py:meth: `DataArray.to_iris ` and
52
+ :py:meth: `DataArray.from_iris ` for
53
+ converting data arrays to and from Iris _ Cubes with the same data and coordinates
54
+ (:issue: `621 ` and :issue: `37 `).
55
+ By `Neil Parley <https://github.com/nparley >`_ and `Duncan Watson-Parris <https://github.com/duncanwp >`_.
56
+ - Experimental support for using `Zarr `_ as storage layer for xarray
57
+ (:issue: `1223 `).
58
+ By `Ryan Abernathey <https://github.com/rabernat >`_ and
59
+ `Joe Hamman <https://github.com/jhamman >`_.
60
+ - New :py:meth: `~xarray.DataArray.rank ` on arrays and datasets. Requires
61
+ bottleneck (:issue: `1731 `).
62
+ By `0x0L <https://github.com/0x0L >`_.
63
+ - ``.dt `` accessor can now ceil, floor and round timestamps to specified frequency.
64
+ By `Deepak Cherian <https://github.com/dcherian >`_.
65
+
66
+ **Plotting enhancements **:
67
+
68
+ - :func: `xarray.plot.imshow ` now handles RGB and RGBA images.
69
+ Saturation can be adjusted with ``vmin `` and ``vmax ``, or with ``robust=True ``.
70
+ By `Zac Hatfield-Dodds <https://github.com/Zac-HD >`_.
71
+ - :py:func: `~plot.contourf() ` learned to contour 2D variables that have both a
72
+ 1D coordinate (e.g. time) and a 2D coordinate (e.g. depth as a function of
73
+ time) (:issue: `1737 `).
74
+ By `Deepak Cherian <https://github.com/dcherian >`_.
75
+ - :py:func: `~plot() ` rotates x-axis ticks if x-axis is time.
76
+ By `Deepak Cherian <https://github.com/dcherian >`_.
77
+ - :py:func: `~plot.line() ` can draw multiple lines if provided with a
78
+ 2D variable.
79
+ By `Deepak Cherian <https://github.com/dcherian >`_.
80
+
81
+ **Other enhancements **:
82
+
46
83
- Reduce methods such as :py:func: `DataArray.sum() ` now handles object-type array.
47
84
48
85
.. ipython :: python
@@ -57,39 +94,17 @@ Enhancements
57
94
By `Keisuke Fujii <https://github.com/fujiisoup >`_.
58
95
- Added nodatavals attribute to DataArray when using :py:func: `~xarray.open_rasterio `. (:issue: `1736 `).
59
96
By `Alan Snow <https://github.com/snowman2 >`_.
60
- - :py:func: `~plot.contourf() ` learned to contour 2D variables that have both a
61
- 1D co-ordinate (e.g. time) and a 2D co-ordinate (e.g. depth as a function of
62
- time) (:issue: `1737 `).
63
- By `Deepak Cherian <https://github.com/dcherian >`_.
64
- - Added :py:meth: `DataArray.to_iris <xray.DataArray.to_iris> ` and :py:meth: `DataArray.from_iris <xray.DataArray.from_iris> ` for
65
- converting data arrays to and from Iris _ Cubes with the same data and coordinates (:issue: `621 ` and :issue: `37 `).
66
- By `Neil Parley <https://github.com/nparley >`_ and `Duncan Watson-Parris <https://github.com/duncanwp >`_.
67
97
- Use ``pandas.Grouper `` class in xarray resample methods rather than the
68
98
deprecated ``pandas.TimeGrouper `` class (:issue: `1766 `).
69
99
By `Joe Hamman <https://github.com/jhamman >`_.
70
- - Support for using `Zarr `_ as storage layer for xarray. (:issue: `1223 `).
71
- By `Ryan Abernathey <https://github.com/rabernat >`_ and
72
- `Joe Hamman <https://github.com/jhamman >`_.
73
- - Support for using `Zarr `_ as storage layer for xarray.
74
- By `Ryan Abernathey <https://github.com/rabernat >`_.
75
- - :func: `xarray.plot.imshow ` now handles RGB and RGBA images.
76
- Saturation can be adjusted with ``vmin `` and ``vmax ``, or with ``robust=True ``.
77
- By `Zac Hatfield-Dodds <https://github.com/Zac-HD >`_.
78
100
- Experimental support for parsing ENVI metadata to coordinates and attributes
79
101
in :py:func: `xarray.open_rasterio `.
80
102
By `Matti Eskelinen <https://github.com/maaleske >`_.
81
- - :py:func: `~plot() ` learned to rotate x-axis ticks if x-axis is time.
82
- By `Deepak Cherian <https://github.com/dcherian >`_.
83
- - :py:func: `~plot.line() ` learned to draw multiple lines if provided with a
84
- 2D variable.
85
- By `Deepak Cherian <https://github.com/dcherian >`_.
86
103
- Reduce memory usage when decoding a variable with a scale_factor, by
87
104
converting 8-bit and 16-bit integers to float32 instead of float64
88
105
(:pull: `1840 `), and keeping float16 and float32 as float32 (:issue: `1842 `).
89
106
Correspondingly, encoded variables may also be saved with a smaller dtype.
90
107
By `Zac Hatfield-Dodds <https://github.com/Zac-HD >`_.
91
- - `.dt ` accessor can now ceil, floor and round timestamps to specified frequency.
92
- By `Deepak Cherian <https://github.com/dcherian >`_.
93
108
- Speed of reindexing/alignment with dask array is orders of magnitude faster
94
109
when inserting missing values (:issue: `1847 `).
95
110
By `Stephan Hoyer <https://github.com/shoyer >`_.
@@ -104,12 +119,6 @@ Enhancements
104
119
105
120
.. _Iris : http://scitools.org.uk/iris
106
121
107
- **New functions/methods **
108
-
109
- - New :py:meth: `~xarray.DataArray.rank ` on arrays and datasets. Requires
110
- bottleneck (:issue: `1731 `).
111
- By `0x0L <https://github.com/0x0L >`_.
112
-
113
122
Bug fixes
114
123
~~~~~~~~~
115
124
- Support indexing with a 0d-np.ndarray (:issue: `1921 `).
@@ -138,7 +147,7 @@ Bug fixes
138
147
with size one in some dimension can now be plotted, which is good for
139
148
exploring satellite imagery (:issue: `1780 `).
140
149
By `Zac Hatfield-Dodds <https://github.com/Zac-HD >`_.
141
- - Fixed ``UnboundLocalError `` when opening netCDF file `` (:issue: `1781 `).
150
+ - Fixed ``UnboundLocalError `` when opening netCDF file (:issue: `1781 `).
142
151
By `Stephan Hoyer <https://github.com/shoyer >`_.
143
152
- The ``variables ``, ``attrs ``, and ``dimensions `` properties have been
144
153
deprecated as part of a bug fix addressing an issue where backends were
@@ -167,7 +176,7 @@ Bug fixes
167
176
match pandas (:issue: `1847 `). A combination of strings/numbers or
168
177
unicode/bytes now promote to object dtype, instead of strings or unicode.
169
178
By `Stephan Hoyer <https://github.com/shoyer >`_.
170
- - Fixed bug where :py:meth: `~xarray.DataArray.isnull ` was loading data
179
+ - Fixed bug where :py:meth: `~xarray.DataArray.isnull ` was loading data
171
180
stored as dask arrays (:issue: `1937 `).
172
181
By `Joe Hamman <https://github.com/jhamman >`_.
173
182
0 commit comments