spatial Voellmy friction model: add VariableVoellmyShapeToRaster to generate rasters from shapes [com6]#1074
Conversation
|
Hello @dwolfsch! Thanks for opening this PR.
Do see the Hitchhiker's guide to code style |
|
Code Climate has analyzed commit d5624ec and detected 1 issue on this pull request. Here's the issue category breakdown:
The test coverage on the diff in this pull request is 8.9% (50% is the threshold). This pull request will bring the total coverage in the repository to 69.0%. View more on Code Climate. |
d0b39ae to
db4517d
Compare
|
Coverage Impact ⬆️ Merging this pull request will increase total coverage on Modified Files with Diff Coverage (1)
🤖 Increase coverage with AI coding...🚦 See full report on Qlty Cloud » 🛟 Help
|
…enerate rasters from shapes Adds functionality for generating raster files for mu and xsi values from a DEM and shapefiles including: A main script to rasterize mu and xsi based on polygon shapefiles and attribute fields. A corresponding run script and configuration file for user customization.
- Updated `variableVoellmyShapeToRasterCfg.ini` to use `mu` and `xsi` instead of Unicode characters for clarity. - Modified `avaframeCfg.ini` to set a default path for `avalancheDir`.
…ShapeToRaster` workflow - Removed `variableVoellmyShapeToRaster` scripts and related configurations. - Introduced `spatialVoellmyInputs` for handling spatial Voellmy friction parameter generation. - Migrated default input values to `spatialVoellmyInputsCfg.ini` with updated defaults. - Replaced inline raster generation logic with standardized utility functions.
5edb6bc to
171fc17
Compare
…ing and improve docs - Replaced `float` casting with `getfloat` for cleaner configuration parsing. - Updated `_rasterizeShapefile` docstring to clarify default cell value behavior.

Adds functionality for generating raster files for mu and
xsi values from a DEM and shapefiles including:
A main script to rasterize mu and xsi based on polygon shapefiles and attribute fields.
A corresponding run script and configuration file for user customization