Whatโs New in Iris#
v0.1.0.dev5407 (03 Oct 2022) [unreleased]#
This document explains the changes made to Iris for this release (View all changes.)
v0.1.0.dev5407 Release Highlights
The highlights for this major/minor release of Iris include:
N/A
And finally, get in touch with us on GitHub if you have any issues or feature requests for improving Iris. Enjoy!
๐ข Announcements#
Welcome to @ESadek-MO and @TTV-Intrepid who made their first contributions to Iris ๐
โจ Features#
@ESadek-MO edited
expand_filespecs()to allow expansion of non-existing paths, and added expansion functionality tosave(). (Issue #4772, PR #4913)
๐ Bugs Fixed#
@rcomer and @pp-mo (reviewer) factored masking into the returned sum-of-weights calculation from
SUM. (PR #4905)@schlunma fixed a bug which prevented using
iris.cube.Cube.collapsed()on coordinates whose number of bounds differs from 0 or 2. This enables the use of this method on mesh coordinates. (Issue #4672, PR #4870)@bjlittle and @lbdreyer (reviewer) fixed the building of the CF Standard Names module
iris.std_namesfor thesetup.pycommandsdevelopandstd_names. (Issue #4951, PR #4952)@lbdreyer and @pp-mo (reviewer) fixed the cube print out such that scalar ancillary variables are displayed in a dedicated section rather than being added to the vector ancillary variables section. Further, ancillary variables and cell measures that map to a cube dimension of length 1 are now included in the respective vector sections. (PR #4945)
๐ฃ Incompatible Changes#
N/A
๐ Performance Enhancements#
@rcomer and @pp-mo (reviewer) increased aggregation speed for
SUM,COUNTandPROPORTIONon real data. (PR #4905)@bouweandela made
iris.coords.Coord.cells()faster for time coordinates. This also affectsiris.cube.Cube.extract(),iris.cube.Cube.subset(), andiris.coords.Coord.intersect(). (PR #4969)
๐ฅ Deprecations#
N/A
๐ Dependencies#
@rcomer introduced the
dask >=2.26minimum pin, so that Iris can benefit from Daskโs support for NEP13 and NEP18. (PR #4905)@trexfeathers advanced the Cartopy pin to
>=0.21, as Cartopyโs change to default Transverse Mercator projection affects an Iris test. See SciTools/cartopy@fcb784d and SciTools/cartopy@8860a81 for more details. (PR #4968)@trexfeathers introduced the
netcdf4!=1.6.1pin to avoid a problem with segfaults. (PR #4968)@trexfeathers updated the Matplotlib colormap registration in
iris.palettein response to a deprecation warning. Using the new Matplotlib API also means amatplotlib>=3.5pin. (PR #4998)
๐ Documentation#
@ESadek-MO, @TTV-Intrepid and @trexfeathers added a gallery example for zonal means plotted parallel to a cartographic plot. (PR #4871)
@Esadek-MO added a key-terms Glossary page into the user guide. (PR #4902)
๐ผ Internal#
@rcomer removed the obsolete
setUpClassmethod from Iris testing. (PR #4927)@bjlittle and @lbdreyer (reviewer) removed support for
python setup.py test, which is a deprecated approach to executing package tests, see pypa/setuptools#1684. Also performed assortedsetup.pyscript hygiene. (PR #4948, PR #4949, PR #4950)@pp-mo split the module
iris.fileformats.netcdfinto separateloaderandsaversubmodules, just to make the code easier to handle.@trexfeathers adapted the benchmark for importing
iris.paletteto cope with new colormap behaviour in Matplotlib v3.6. (PR #4998)@rcomer removed a now redundant workaround for an old matplotlib bug, highlighted by Issue #4090. (PR #4999)