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
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+24-17Lines changed: 24 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -31,33 +31,37 @@ What's New
31
31
v0.10.4 (unreleased)
32
32
--------------------
33
33
34
+
The minor release includes a number of bug-fixes and backwards compatible
35
+
enhancements. A highlight is ``CFTimeIndex``, which offers support for
36
+
non-standard calendars used in climate modeling.
37
+
34
38
Documentation
35
39
~~~~~~~~~~~~~
36
-
- `FAQ <http://xarray.pydata.org/en/stable/faq.html#what-other-projects-leverage-xarray>`_ now lists projects that leverage xarray.
40
+
41
+
- New FAQ entry, :ref:`faq.other_projects`.
37
42
By `Deepak Cherian <https://github.com/dcherian>`_.
38
-
- `Assigning values with indexing <http://xarray.pydata.org/en/stable/indexing.html#assigning-values-with-indexing>`_ now includes examples on how to select and assign values to a :py:class:`~xarray.DataArray`.
43
+
- :ref:`assigning_values` now includes examples on how to select and assign
44
+
values to a :py:class:`~xarray.DataArray` with ``.loc``.
39
45
By `Chiara Lepore <https://github.com/chiaral>`_.
40
46
41
-
42
47
Enhancements
43
48
~~~~~~~~~~~~
44
49
45
-
- Slight modification in `rolling` with dask.array and bottleneck. Also, fixed a bug in rolling an
46
-
integer dask array.
47
-
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
48
50
- Add an option for using a ``CFTimeIndex`` for indexing times with
49
51
non-standard calendars and/or outside the Timestamp-valid range; this index
50
52
enables a subset of the functionality of a standard
- Allow for serialization of ``cftime.datetime`` objects (:issue:`789`,
55
59
:issue:`1084`, :issue:`2008`, :issue:`1252`) using the standalone ``cftime``
56
-
library. By `Spencer Clark
57
-
<https://github.com/spencerkclark>`_.
60
+
library.
61
+
By `Spencer Clark<https://github.com/spencerkclark>`_.
58
62
- Support writing lists of strings as netCDF attributes (:issue:`2044`).
59
63
By `Dan Nowacki <https://github.com/dnowacki-usgs>`_.
60
-
- :py:meth:`~xarray.Dataset.to_netcdf(engine='h5netcdf')` now accepts h5py
64
+
- :py:meth:`~xarray.Dataset.to_netcdf` with ``engine='h5netcdf'`` now accepts h5py
61
65
encoding settings ``compression`` and ``compression_opts``, along with the
62
66
NetCDF4-Python style settings ``gzip=True`` and ``complevel``.
63
67
This allows using any compression plugin installed in hdf5, e.g. LZF
@@ -66,7 +70,8 @@ Enhancements
66
70
This greatly boosts speed and allows chunking on the core dims.
67
71
The function now requires dask >= 0.17.3 to work on dask-backed data
68
72
(:issue:`2074`). By `Guido Imperiale <https://github.com/crusaderky>`_.
69
-
- ``plot.line()`` learned new kwargs: ``xincrease``, ``yincrease`` that change the direction of the respective axes.
73
+
- ``plot.line()`` learned new kwargs: ``xincrease``, ``yincrease`` that change
74
+
the direction of the respective axes.
70
75
By `Deepak Cherian <https://github.com/dcherian>`_.
71
76
72
77
- Added the ``parallel`` option to :py:func:`open_mfdataset`. This option uses
@@ -85,22 +90,24 @@ Enhancements
85
90
Bug fixes
86
91
~~~~~~~~~
87
92
88
-
- Now raises an Error if a coordinate with wrong size is assigned to a
89
-
:py:class:`~xarray.DataArray`. (:issue:`2112`)
93
+
- ``ValueError`` is raised when coordinates with the wrong size are assigned to
94
+
a :py:class:`DataArray`. (:issue:`2112`)
90
95
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
91
-
- Fixed a bug in `rolling` with bottleneck. Also, fixed a bug in rolling an
92
-
integer dask array. (:issue:`2113`)
96
+
- Fixed a bug in :py:meth:`~xarary.DatasArray.rolling` with bottleneck. Also,
97
+
fixed a bug in rolling an integer dask array. (:issue:`2113`)
93
98
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
94
99
- Fixed a bug where `keep_attrs=True` flag was neglected if
95
-
:py:func:`apply_func` was used with :py:class:`Variable`. (:issue:`2114`)
100
+
:py:func:`apply_ufunc` was used with :py:class:`Variable`. (:issue:`2114`)
96
101
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
97
102
- When assigning a :py:class:`DataArray` to :py:class:`Dataset`, any conflicted
98
103
non-dimensional coordinates of the DataArray are now dropped.
99
104
(:issue:`2068`)
100
105
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
101
106
- Better error handling in ``open_mfdataset`` (:issue:`2077`).
102
107
By `Stephan Hoyer <https://github.com/shoyer>`_.
103
-
- ``plot.line()`` does not call ``autofmt_xdate()`` anymore. Instead it changes the rotation and horizontal alignment of labels without removing the x-axes of any other subplots in the figure (if any).
108
+
- ``plot.line()`` does not call ``autofmt_xdate()`` anymore. Instead it changes
109
+
the rotation and horizontal alignment of labels without removing the x-axes of
110
+
any other subplots in the figure (if any).
104
111
By `Deepak Cherian <https://github.com/dcherian>`_.
105
112
- Colorbar limits are now determined by excluding ±Infs too.
106
113
By `Deepak Cherian <https://github.com/dcherian>`_.
0 commit comments