Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct unit to units in AuxCoord docstring #6348

Merged
merged 2 commits into from
Mar 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ This document explains the changes made to Iris for this release

#. `@ESadek-MO`_ and `@trexfeathers`_ created a style guide for ``pytest`` tests,
and consolidated ``Test Categories`` and ``Testing Tools`` into
:ref:`contributing_tests` (:issue:`5574`, :pull:`5785`)
:ref:`contributing_tests`. (:issue:`5574`, :pull:`5785`)

#. `@jfrost-mo`_ corrected ``unit`` to ``units`` in the docstring for
:class:`iris.coords.AuxCoord`. (:issue:`6347`, :pull:`6348`)


💼 Internal
Expand Down Expand Up @@ -140,6 +143,7 @@ This document explains the changes made to Iris for this release
core dev names are automatically included by the common_links.inc:

.. _@fnattino: https://github.com/fnattino
.. _@jfrost-mo: https://github.com/jfrost-mo
.. _@jrackham-mo: https://github.com/jrackham-mo
.. _@stefsmeets: https://github.com/stefsmeets

Expand Down
2 changes: 1 addition & 1 deletion lib/iris/coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -2956,7 +2956,7 @@ def __init__(self, *args, **kwargs):
Descriptive name of the coordinate.
var_name : optional
The netCDF variable name for the coordinate.
unit : :class:`~cf_units.Unit`, optional
units : :class:`~cf_units.Unit`, optional
The :class:`~cf_units.Unit` of the coordinate's values.
Can be a string, which will be converted to a Unit object.
bounds : optional
Expand Down
Loading