What’s New in Iris 2.2

Release:2.2.0
Date:

This document explains the new/changed features of Iris in the release of version 2.2 (View all changes).

Iris 2.2 Features

2-Dimensional Coordinate Plotting

The Iris plot functions pcolor() and pcolormesh() now accommodate the plotting of 2-dimensional coordinates as well as 1-dimensional coordinates.

To enable this feature, each coordinate passed in for plotting will be automatically checked for contiguity. Coordinate bounds must either be contiguous, or the cube’s data must be masked at the discontiguities in order to avoid plotting errors.

The Iris plot function iris.plot.quiver() has been added, and this also works with 2-dimensional plot coordinates.

2-Dimensional Grid Vectors

The Iris functions iris.analysis.cartography.gridcell_angles() and iris.analysis.cartography.rotate_grid_vectors() have been added, allowing you to convert gridcell-oriented vectors to true-North/East ones.

NetCDF Data Variable Chunk Sizes

NetCDF data variable chunk sizes are now utilised at load time for significant performance improvements.

Iris 2.2 Dependency updates

  • Iris is now using the latest version release of dask (currently 0.19.3)
  • Proj4 has been temporarily pinned to version < 5 while problems with the Mollweide projection are addressed.
  • Matplotlib has been pinned to version < 3 temporarily while we account for its changes in all SciTools libraries.

Bugs Fixed

  • The bug has been fixed that prevented printing time coordinates with bounds when the time coordinate was measured on a long interval (that is, months or years).
  • “Gracefully filling…” warnings are now only issued when the coordinate or bound data is actually masked.
  • Iris can now correctly unpack a column of header objects when saving a pandas DataFrame to a cube.

Documentation Changes

  • Iris’ INSTALL document has been updated to include guidance for running tests.
  • A link has been added to the Developers’ Guide to make it easier to find the Pull Request Check List.