ANTS 2.2 (September 2025)#
For a full list of changes see the release ticket MOSRS #2716.
Features#
MOSRS #2615 The handling of the
historyattribute has been improved to allow combining of multiple different ancillaries that have come through different processing chains into a single NetCDF file.MOSRS #2617 Horizontal regrid extrapolation mode is now configurable through the configuration file using the
extrapolation_modesetting in the[ants_regridding_horizontal]section.MOSRS #2658
pad_widthis now configurable for decomposition. This may solve issues with region overlap when decomposing polar domains.MOSRS #1643
ants.tests.stockhas been refactored to be more configurable. The functions inants.tests.stockhave the same interface but now rely on cube construction using the newants.utils.cube.CubeBuilder.
Bugs fixed#
MOSRS #2547 Fixed raster load to use
numpy.linspace()to prevent differing output lengths ofnumpy.arange(). This was done in response to a user encountering issues when loading a GeoTIFF file.
Incompatible changes#
MOSRS #2719 The cache location for cartopy data is no longer configurable via the environment variable
ANTS_CARTOPY_CACHE(previously added in MOSRS #2381). Cartopy can be configured directly if needed, for example via theCARTOPY_DATA_DIRenvironment variable. For guidance on configuring cartopy, see the cartopy documentation.MOSRS #2221 The
proc_antspackage has been removed from core ANTS. All application-specific code fromproc_antshas been moved to Contrib. Any generic code has been moved to a relevant location within theantspackage. In particular, the functionsextract_region_by_geometry()andfetch_seed_index()were relocated fromproc_antstoants.MOSRS #2437 Non-generic cover mapping code has been moved from core ANTS to Contrib. In particular,
ants.fileformats.cover_mappinghas been entirely moved from core ANTS to the LCT application in Contrib. Generic functions remain inants.analysis.cover_mapping.MOSRS #2656 The Raymond filter has been moved from core ANTS to the
Orographydirectory in Contrib. Attempting to useants.analysis.filters.raymond()will result in an error.MOSRS #2588 Source data files for rose stem testing have been removed from the repository and now are pointed to from a central location using the
ANTS_SOURCES_DIRECTORY_OVERRIDEenvironment variable. See Managing Sources.MOSRS #2733
ants.analysis.calc_grad()has been moved to Contrib due to the implementation being specific to orography.
Deprecations#
MOSRS #2734
ants.analysis.find_small_feature_seed_points()has been deprecated due to no known usage.
Infrastructure#
MOSRS #2346 ANTS has been updated to use
pyproject.tomlrather thansetup.pyfor installation.MOSRS #2521 ANTS rose stem test suite is no longer reliant on
rose ana. Instead it uses direct calls tomule-cumfandnccmpfor KGO validation.
Documentation#
MOSRS #2312 An accessibility statement has been added to the documentation.
MOSRS #2559 The ANTS installation instructions have been updated to clarify how to run the full set of unit tests on the installed package.