Whatโs New in Iris#
v3.7.0.dev512 (21 Feb 2025) [unreleased]#
This document explains the changes made to Iris for this release (View all changes.)
v3.7.0.dev512 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#
N/A
โจ Features#
N/A
@pp-mo added a new utility function
equalise_cubes(), to help with aligning cubes so they can merge / concatenate. (Issue #6248, PR #6257)@fnattino added the lazy median aggregator
iris.analysis.MEDIANbased on the implementation discussed by @rcomer and @stefsmeets in Issue #4039 (PR #6167).
๐ Bugs Fixed#
@rcomer added handling for string stash codes when saving pp files. (Issue #6239, PR #6289)
๐ฃ Incompatible Changes#
iris.tests.IrisTestis being replaced byiris.tests._shared_utils. Once conversion from unittest to pytest is completed,iris.tests.IrisTestclass will be deprecated.
๐ Performance Enhancements#
@bouweandela made loading
(:pull:`6229and PR #6252)@fnattino enabled lazy cube interpolation using the linear and nearest-neighbour interpolators (
iris.analysis.Linearandiris.analysis.Nearest). Note that this implementation removes performance benefits linked to caching an interpolator object. While this does not break previously suggested code (instantiating and re-using an interpolator object remains possible), this is no longer an advertised feature. (PR #6084)
๐ฅ Deprecations#
N/A
๐ Dependencies#
N/A
๐ Documentation#
@ESadek-MO and @trexfeathers created Converting From unittest to pytest as a guide for converting from
unittesttopytest. (PR #5785)@ESadek-MO and @trexfeathers created a style guide for
pytesttests, and consolidatedTest CategoriesandTesting Toolsinto Writing Tests (Issue #5574, PR #5785)
๐ผ Internal#
@ESadek-MO @pp-mo @bjlittle @trexfeathers and @HGWright have converted around a third of Irisโ
unitteststyle tests topytest. This is part of an ongoing effort to move fromunittesttopytest. (PR #6207, part of Issue #6212)@trexfeathers, @ESadek-MO and @HGWright heavily re-worked Release Do-Nothing Script to be more thorough and apply lessons learned from recent releases. (PR #6062)
@schlunma made lazy [smart weights](SciTools/iris#5084) used for cube aggregations have the same chunks as their parent cube if broadcasting is necessary. (Issue #6285, PR #6288)