We released AvaFrame Version 2.2 (full changelog)
This release adds a new optimisation module, a much faster com4FlowPy engine, new debris-flow capabilities in com1DFA, and several bug fixes. Some changes are not backward compatible, so please check the breaking changes below before upgrading. A big thank you to all contributors, especially the 5 new ones!
Key changes:
-
New module ana6Optimisation: Morris sensitivity analysis and surrogate-based parameter optimisation for com8MoTPSA. com8 simulations now run in chunks and skip already finished simulations.
-
com4FlowPy Numba engine: An optional Numba compute engine delivers bit-identical results while being roughly 30-45 times faster. Further additions are validation of variable input rasters, benchmark tests, and the option to run com4FlowPy from external repositories.
-
Spatially variable Voellmy friction for com6RockAvalanche: Generate mu/xi rasters from a single
*_spatialVoellmy.shpand select them with--friction_calibration spatialVoellmy. -
Entrainable deposition in com1DFA: Deposited mass can now be re-entrained (
entrainableDeposition). Also new: a stopping option for implicit friction, the outputsfcChangeCum, hydrograph output functions, and an option to save resistance fields. -
Time-dependent release from coordinates: A csv with x, y, time, thickness and vx/vy/vz is enough to define a release, no release polygon required.
-
ana5 path generation: The DFA path can be extended to the deposit front (
extBottomOption = 1), and the thalweg extension and resampling now work for general x/y paths. -
Plots and logging: Improved asset handling in plots with a configurable no-asset value, and the standard tests now print a summary of comparison warnings in the log.
-
Bug fixes: Polygon winding detection was not rotation-invariant, which could shrink release areas instead of dilating them during rasterisation. In com4FlowPy, the 3D min-distance ignored the x-component and invalid PRA input values now fall back to defaults. Forest effects with remeshing in com8/com9,
nanhandling in config parsing (fixes the QGIS connector on Windows), and the particle analysis run script are fixed as well.
Breaking changes:
- Scarp: The shapefile attribute
dipdiris renamed todipdir_aziand the azimuth convention is corrected. - com8MoTPSA: New MoT-PSA input file format (version 2026-06-16) and several renamed config keys. Requires the matching MoT-PSA binary.
- com6RockAvalanche: New defaults
rhoEnt = 2000andentThIfMissingInShp = 0; the resistance parameters have been removed from the com6 config. - com4FlowPy API:
runCom4FlowPy.main()returns a status dict, andcheckInputParameterValues()requiresforestParamswhen forest is enabled. - Plots: Units are now written with
()instead of[].
Felix