Skip to content

Commit

Permalink
Whatsnew for effects on aux factories of units defaulting to 'unknown…
Browse files Browse the repository at this point in the history
…'. (#3870)

* Whatsnew for effects on aux factories of units defaulting to 'unknown'.

* Update docs/iris/src/whatsnew/latest.rst

Co-authored-by: Martin Yeo <[email protected]>

Co-authored-by: stephenworsley <[email protected]>
Co-authored-by: Martin Yeo <[email protected]>
  • Loading branch information
3 people authored Sep 18, 2020
1 parent b333700 commit 441264e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/iris/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ This document explains the changes made to Iris for this release

* `@stephenworsley`_ changed Iris objects loaded from NetCDF-CF files to have
``units='unknown'`` where the corresponding NetCDF variable has no ``units``
property. Previously these cases defaulted to ``units='1'``. (:pull:`3795`)
property. Previously these cases defaulted to ``units='1'``.
This affects loading of coordinates whose file variable has no "units"
attribute (not valid, under `CF units rules`_): These will now have units
of `"unknown"`, rather than `"1"`, which **may prevent the creation of
a hybrid vertical coordinate**. While these cases used to "work", this was
never really correct behaviour. (:pull:`3795`)

* `@SimonPeatman`_ added attribute ``var_name`` to coordinates created by the
:func:`iris.analysis.trajectory.interpolate` function. This prevents
Expand Down Expand Up @@ -279,6 +284,7 @@ This document explains the changes made to Iris for this release

.. _Read the Docs: https://scitools-iris.readthedocs.io/en/latest/
.. _Matplotlib: https://matplotlib.org/
.. _CF units rules: https://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#units
.. _CF Ancillary Data: https://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#ancillary-data
.. _Quality Flags: https://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#flags
.. _iris-grib: https://github.com/SciTools/iris-grib
Expand Down

0 comments on commit 441264e

Please sign in to comment.