Repository navigation
2.2
This release adds a new optimisation module, a much faster FlowPy engine, new debris-flow
capabilities in com1DFA, and several bug fixes.
Some changes are not backward compatible (scarp input attributes, com8MoTPSA input format,
com6RockAvalanche defaults and the com4FlowPy API); please check the breaking changes
section below before upgrading.
Also a big "THANKS" to all new contributors (see below)!
Highlights
- New module ana6Optimisation (#1245) - Morris sensitivity analysis and surrogate-based
parameter optimisation for com8MoTPSA. com8 simulations now run in
chunks and skip already finished simulations. - com4FlowPy: optional Numba engine (#1319) - bit-identical results, roughly 30-45x faster.
- Spatially variable Voellmy friction for com6RockAvalanche (#1074, #1312) - generate mu/xi
rasters from a single*_spatialVoellmy.shp; select via--friction_calibration spatialVoellmy. - Entrainable deposition in com1DFA (#1292, #1343) - deposited mass can be re-entrained
(entrainableDeposition); new stopping option for implicit friction and new output
sfcChangeCum. - Time-dependent release with coordinates and velocity components (#1334) - a csv with
x, y, time, thickness and vx/vy/vz is enough; no release polygon required. - ana5 path generation (#1296, #1323) - extend the DFA path to the deposit front
(extBottomOption = 1); thalweg extension and resampling for general x/y paths.
Further enhancements
- Hydrograph output functions in com1DFA (#1345)
- Asset handling in plots (#1277) and configurable no-asset value (#1324)
- Option to save resistance fields (#1290); remeshing interpolation option (
remeshInterpMethod) - com4FlowPy: validation of variable input rasters (#1328), benchmark tests (#1321),
run from external repos withoverwriteResults(#1298) - Standard tests: comparison-warning summary in the log (#1299)
Bug fixes
- Polygon winding detection was not rotation-invariant; release areas could shrink
instead of dilate during rasterisation (#1338) - com4FlowPy: 3D min-distance ignored the x-component (#1343, #1348); invalid PRA input
values now fall back to defaults (#1326) - Forest effects with remeshing in com8/com9 (#1329)
nanhandling in config parsing, fixes QGIS connector on Windows (#1308)- Particle analysis run script (#1302)
Breaking changes
- Scarp: shapefile attribute
dipdirrenamed todipdir_azi; azimuth convention
corrected (#1325) - com8MoTPSA: new MoT-PSA input file format (version 2026-06-16); several config keys
renamed. Requires the matching MoT-PSA binary (#1305, #1306) - com6RockAvalanche: new defaults
rhoEnt = 2000,entThIfMissingInShp = 0; resistance
parameters removed from the com6 config - com4FlowPy API:
runCom4FlowPy.main()returns a status dict;
checkInputParameterValues()requiresforestParamswhen forest is enabled (#1298, #1348) - Plot units now use
()instead of[](#1349)
What's Changed
- [com1]: add saving option for resistance fields by @awirb in #1290
- spatial Voellmy friction model: add VariableVoellmyShapeToRaster to generate rasters from shapes [com6] by @dwolfsch in #1074
- [ana5] Add extBottomOption to extend the DFA path to the deposit front by @NUForever in #1296
- [com1, com8]: add parameter to cfg by @awirb in #1297
- [log]: add collection and summary of comparison warnings by @fso42 in #1299
- [com1]: make deposition erodable (initially) by @PaulaSp3 in #1292
- [out3] Fix problem with runscript particleAnalysiy by @fso42 in #1302
- [com1]: call tif check from function by @awirb in #1300
- [com8]: adjust ini file by @awirb in #1305
- [com1; test]: add benchmark data for ent - time dep rel - standardtest by @PaulaSp3 in #1301
- [in3Utils]: cfgUtils handling of
nanby @JuLa96 in #1308 - [com1, out3] add debug plot by @awirb in #1303
- chore(workflows): add PR checklist template and enforce checklist completion in pull requests by @fso42 in #1309
- [out3Plot]: add functionality for assets by @awirb in #1277
- correct info on resistance in docs by @awirb in #1313
- save created files in tests to temporary path by @awirb in #1314
- [pytest] update
test_getGeneralConfigassertions by @fso42 in #1317 - [com1]: restrict entrainable deposition checks to specific modules by @fso42 in #1318
- [com1]: Update report com1 by @awirb in #1315
- [com4]: allow executing FlowPy from a different repo with cfg overwrite by @PaulaSp3 in #1298
- [com6]: add support for
spatialVoellmyfriction model by @fso42 in #1312 - fix(com4FlowPy): defining default as fallback by @MunsMan in #1326
- [com4]: Add com4 benchmark tests by @PaulaSp3 in #1321
- com4FlowPy: optional Numba compute engine (bit-identical, ~30-45x faster) by @jmasseysykes in #1319
- [ana6, com8]: Add ana6Optimisation Module, apply changes in com8MoTPSA by @RolandFischbacher in #1245
- [com8]: add changes in ini file - new format by @awirb in #1306
- [in1Data/com1DFA] Modification of basic functions by @JuLa96 in #1331
- [com8/9; com1]: ensure forest effects handle remeshing correctly by @fso42 in #1329
- Scarp Update by @dwolfsch in #1325
- [com1]: time dependent release file with x and y cooridnates and velocity components by @PaulaSp3 in #1334
- [com1] make no asset value a parameter to be set by @awirb in #1324
- com4FlowPy: variable raster value validation by @MunsMan in #1328
- [ana5]: add general thalweg extension & resampling by @PaulaSp3 in #1323
- [ana6]: remove index to get simName by @awirb in #1336
- [in3Utils, issue #1337] fix isCounterClockWise winding heuristic (not rotation-invariant) by @bskerlak in #1338
- [system]: matrix OS version for macOS in PyPi workflow by @fso42 in #1340
- fix(com4FlowPy): use dx in 3D min-distance calculation by @iamcipherdev in #1342
- [com1DFA] Add output hydrograph functions by @JuLa96 in #1345
- [com4FlowPy] Fix issue #1344 by @ahuber-bfw in #1348
- [com1]: stopping option for implicit friction; sfcChangeCum output file by @PaulaSp3 in #1343
- plots: change Unit brackets from [] to () by @PaulaSp3 in #1349
- chore(qgis): add Wayland workaround task for Linux by @fso42 in #1351
- test(DFAfunctionsCython): use allclose for friction force assertion by @fso42 in #1352
New Contributors
- @NUForever made their first contribution in #1296
- @MunsMan made their first contribution in #1326
- @jmasseysykes made their first contribution in #1319
- @bskerlak made their first contribution in #1338
- @iamcipherdev made their first contribution in #1342
Full Changelog: 2.1...2.2