Skip to content

Commit

Permalink
minor comment tweak + whatsnew
Browse files Browse the repository at this point in the history
  • Loading branch information
rcomer committed Jan 27, 2021
1 parent 2264a2e commit 4bc52f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/iris/gallery_code/meteorology/plot_COP_maps.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def cop_metadata_callback(cube, field, filename):
filename.
"""

# Extract the experiment name (such as a1b or e1) from the filename (in
# Extract the experiment name (such as A1B or E1) from the filename (in
# this case it is just the start of the file name, before the first ".").
fname = os.path.basename(filename) # filename without path.
experiment_label = fname.split(".")[0]
Expand Down
7 changes: 5 additions & 2 deletions docs/iris/src/whatsnew/latest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,11 @@ This document explains the changes made to Iris for this release
🐛 Bugs Fixed
=============

* `@gcaria`_ fixed :meth:`~iris.cube.Cube.cell_measure_dims` to also accept the string name of a :class:`~iris.coords.CellMeasure`. (:pull:`3931`)
* `@gcaria`_ fixed :meth:`~iris.cube.Cube.ancillary_variable_dims` to also accept the string name of a :class:`~iris.coords.AncillaryVariable`. (:pull:`3931`)
* `@gcaria`_ fixed :meth:`~iris.cube.Cube.cell_measure_dims` to also accept the
string name of a :class:`~iris.coords.CellMeasure`. (:pull:`3931`)
* `@gcaria`_ fixed :meth:`~iris.cube.Cube.ancillary_variable_dims` to also
accept the string name of a :class:`~iris.coords.AncillaryVariable`.
(:pull:`3931`)


💣 Incompatible Changes
Expand Down

0 comments on commit 4bc52f9

Please sign in to comment.