Skip to content

Commit

Permalink
fix docstrings/whats-new.rst after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuehlbauer committed Jan 4, 2025
1 parent 4537a0c commit 25be3fe
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions doc/whats-new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ v2025.01.1 (unreleased)

New Features
~~~~~~~~~~~~
- Split out :py:class:`coders.CFDatetimeCoder` as public API in ``xr.coders``, make ``decode_times`` keyword argument
consume :py:class:`coders.CFDatetimeCoder`.


Breaking changes
Expand Down Expand Up @@ -69,8 +71,6 @@ New Features
- Add ``unit`` - keyword argument to :py:func:`date_range` and ``microsecond`` parsing to
iso8601-parser (:pull:`9885`).
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
- Split out :py:class:`coders.CFDatetimeCoder` as public API in ``xr.coders``, make ``decode_times`` keyword argument
consume :py:class:`coders.CFDatetimeCoder`.


Breaking changes
Expand Down
8 changes: 4 additions & 4 deletions xarray/backends/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def open_dataset(
to toggle this feature per-variable individually.
This keyword may not be supported by all the backends.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
concat_characters : bool or dict-like, optional
Expand Down Expand Up @@ -796,7 +796,7 @@ def open_dataarray(
decode times to ``np.datetime64[ns]`` objects; if this is not possible
raise an error. This keyword may not be supported by all the backends.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
concat_characters : bool, optional
Expand Down Expand Up @@ -1009,7 +1009,7 @@ def open_datatree(
to toggle this feature per-variable individually.
This keyword may not be supported by all the backends.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
concat_characters : bool or dict-like, optional
Expand Down Expand Up @@ -1235,7 +1235,7 @@ def open_groups(
to toggle this feature per-variable individually.
This keyword may not be supported by all the backends.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
concat_characters : bool or dict-like, optional
Expand Down
4 changes: 2 additions & 2 deletions xarray/conventions.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def decode_cf_variable(
decode times to ``np.datetime64[ns]`` objects; if this is not possible
raise an error.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
Returns
Expand Down Expand Up @@ -510,7 +510,7 @@ def decode_cf(
decode times to ``np.datetime64[ns]`` objects; if this is not possible
raise an error.
.. deprecated:: 2025.01.0
.. deprecated:: 2025.01.1
Please pass a :py:class:`coders.CFDatetimeCoder` instance initialized with ``use_cftime`` to the ``decode_times`` kwarg instead.
decode_timedelta : bool, optional
Expand Down

0 comments on commit 25be3fe

Please sign in to comment.