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
+52-9Lines changed: 52 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,45 @@ What's New
15
15
np.random.seed(123456)
16
16
17
17
18
-
.. _whats-new.0.16.2:
18
+
.. _whats-new.{0.16.3}:
19
19
20
-
v0.16.2 (unreleased)
21
-
--------------------
20
+
v{0.16.3} (unreleased)
21
+
----------------------
22
22
23
23
Breaking changes
24
24
~~~~~~~~~~~~~~~~
25
25
26
+
27
+
New Features
28
+
~~~~~~~~~~~~
29
+
30
+
31
+
Bug fixes
32
+
~~~~~~~~~
33
+
34
+
- :py:func:`merge` with ``combine_attrs='override'`` makes a copy of the attrs (:issue:`4627`).
35
+
36
+
Documentation
37
+
~~~~~~~~~~~~~
38
+
39
+
40
+
Internal Changes
41
+
~~~~~~~~~~~~~~~~
42
+
43
+
44
+
.. _whats-new.0.16.2:
45
+
46
+
v0.16.2 (30 Nov 2020)
47
+
---------------------
48
+
49
+
This release brings the ability to write to limited regions of ``zarr`` files, open zarr files with :py:func:`open_dataset` and :py:func:`open_mfdataset`, increased support for propagating ``attrs`` using the ``keep_attrs`` flag, as well as numerous bugfixes and documentation improvements.
50
+
51
+
Many thanks to the 31 contributors who contributed to this release:
52
+
Aaron Spring, Akio Taniguchi, Aleksandar Jelenak, alexamici, Alexandre Poux, Anderson Banihirwe, Andrew Pauling, Ashwin Vishnu, aurghs, Brian Ward, Caleb, crusaderky, Dan Nowacki, darikg, David Brochart, David Huard, Deepak Cherian, Dion Häfner, Gerardo Rivera, Gerrit Holl, Illviljan, inakleinbottle, Jacob Tomlinson, James A. Bednar, jenssss, Joe Hamman, johnomotani, Joris Van den Bossche, Julia Kent, Julius Busecke, Kai Mühlbauer, keewis, Keisuke Fujii, Kyle Cranmer, Luke Volpatti, Mathias Hauser, Maximilian Roos, Michaël Defferrard, Michal Baumgartner, Nick R. Papior, Pascal Bourgault, Peter Hausamann, PGijsbers, Ray Bell, Romain Martinez, rpgoldman, Russell Manser, Sahid Velji, Samnan Rahee, Sander, Spencer Clark, Stephan Hoyer, Thomas Zilio, Tobias Kölling, Tom Augspurger, Wei Ji, Yash Saboo, Zeb Nicholls,
53
+
54
+
Deprecations
55
+
~~~~~~~~~~~~
56
+
26
57
- :py:attr:`~core.accessor_dt.DatetimeAccessor.weekofyear` and :py:attr:`~core.accessor_dt.DatetimeAccessor.week`
27
58
have been deprecated. Use ``DataArray.dt.isocalendar().week``
28
59
instead (:pull:`4534`). By `Mathias Hauser <https://github.com/mathause>`_,
@@ -55,24 +86,27 @@ New Features
55
86
By `Julius Busecke <https://github.com/jbusecke>`_.
56
87
- Added the ``keep_attrs`` keyword to ``rolling_exp.mean()``; it now keeps attributes
57
88
per default. By `Mathias Hauser <https://github.com/mathause>`_ (:pull:`4592`).
89
+
- Added ``freq`` as property to :py:class:`CFTimeIndex` and into the
By `Aaron Spring <https://github.com/aaronspring>`_.
58
92
59
93
Bug fixes
60
94
~~~~~~~~~
61
95
62
-
- Fix bug where reference times without padded years (e.g. "since 1-1-1") would lose their units when
96
+
- Fix bug where reference times without padded years (e.g. ``since 1-1-1``) would lose their units when
63
97
being passed by :py:func:`encode_cf_datetime` (:issue:`4422`, :pull:`4506`). Such units are ambiguous
64
98
about which digit represents the years (is it YMD or DMY?). Now, if such formatting is encountered,
65
-
it is assumed that the first digit is the years, they are padded appropriately (to e.g. "since 0001-1-1")
99
+
it is assumed that the first digit is the years, they are padded appropriately (to e.g. ``since 0001-1-1``)
66
100
and a warning that this assumption is being made is issued. Previously, without ``cftime``, such times
67
101
would be silently parsed incorrectly (at least based on the CF conventions) e.g. "since 1-1-1" would
68
-
be parsed (via``pandas`` and ``dateutil``) to "since 2001-1-1".
102
+
be parsed (via``pandas`` and ``dateutil``) to ``since 2001-1-1``.
69
103
By `Zeb Nicholls <https://github.com/znicholls>`_.
70
104
- Fix :py:meth:`DataArray.plot.step`. By `Deepak Cherian <https://github.com/dcherian>`_.
71
105
- Fix bug where reading a scalar value from a NetCDF file opened with the ``h5netcdf`` backend would raise a ``ValueError`` when ``decode_cf=True`` (:issue:`4471`, :pull:`4485`).
72
106
By `Gerrit Holl <https://github.com/gerritholl>`_.
73
107
- Fix bug where datetime64 times are silently changed to incorrect values if they are outside the valid date range for ns precision when provided in some other units (:issue:`4427`, :pull:`4454`).
74
108
By `Andrew Pauling <https://github.com/andrewpauling>`_
75
-
- Fix silently overwriting the `engine` key when passing :py:func:`open_dataset` a file object
109
+
- Fix silently overwriting the ``engine`` key when passing :py:func:`open_dataset` a file object
76
110
to an incompatible netCDF (:issue:`4457`). Now incompatible combinations of files and engines raise
77
111
an exception instead. By `Alessandro Amici <https://github.com/alexamici>`_.
78
112
- The ``min_count`` argument to :py:meth:`DataArray.sum()` and :py:meth:`DataArray.prod()`
@@ -91,7 +125,9 @@ Documentation
91
125
~~~~~~~~~~~~~
92
126
- document the API not supported with duck arrays (:pull:`4530`).
93
127
By `Justus Magin <https://github.com/keewis>`_.
94
-
128
+
- Mention the possibility to pass functions to :py:meth:`Dataset.where` or
129
+
:py:meth:`DataArray.where` in the parameter documentation (:issue:`4223`, :pull:`4613`).
130
+
By `Justus Magin <https://github.com/keewis>`_.
95
131
- Update the docstring of :py:class:`DataArray` and :py:class:`Dataset`.
96
132
(:pull:`4532`);
97
133
By `Jimmy Westling <https://github.com/illviljan>`_.
@@ -104,6 +140,9 @@ Documentation
104
140
By `Sahid Velji <https://github.com/sahidvelji>`_.
105
141
- Update link to NumPy docstring standard in the :doc:`contributing` guide (:pull:`4558`).
106
142
By `Sahid Velji <https://github.com/sahidvelji>`_.
143
+
- Add docstrings to ``isnull`` and ``notnull``, and fix the displayed signature
144
+
(:issue:`2760`, :pull:`4618`).
145
+
By `Justus Magin <https://github.com/keewis>`_.
0 commit comments