Skip to content

Scarp Update - #1325

Merged
fso42 merged 1 commit into
OpenNHM:masterfrom
dwolfsch:ScarpUpdate
Aug 26, 2026
Merged

Scarp Update#1325
fso42 merged 1 commit into
OpenNHM:masterfrom
dwolfsch:ScarpUpdate

Conversation

@dwolfsch

@dwolfsch dwolfsch commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Azimuth corrected
Config file changed
Atrribute names changed
documentation added

PR Checklist

Please confirm before requesting review:

  • I ran pytest locally without fails
  • I added/updated tests where needed
  • I updated documentation where needed

Confirm before the final merge/rebase into master

  • Commits are sensibly squashed and rebased onto latest master
  • Standardtest run without difference (with recompiled cython code)

@fso42
fso42 self-requested a review August 12, 2026 12:23
@fso42 fso42 added the enhancement New feature or request label Aug 12, 2026

@fso42 fso42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check your example files AND propagate the change that you did in regards to the new attribute names also to the pytests:

  • they fail as they still got the old names
  • your example inputs POINTS now contains 2 files, which fails as only one is accepted
  • the default ellipsoid file still has the old attributes

-> so please tidy this up

Comment thread avaframe/com6RockAvalanche/scarp.py Outdated
Comment thread avaframe/com6RockAvalanche/scarp.py Outdated
Comment thread avaframe/com6RockAvalanche/scarp.py
Azimuth corrected
Config file changed
Atrribute names changed
documentation added

Scarp Update corrected

Shape File attribute check corrected, so that it checks for none values
pytest corrected
Redundant Scarp Shape testfiles deleted

fix(com6RockAvalanche): handle `None` values in nested attributes

Refined missing attribute validation to account for `None` values within nested lists of `shpData`. Updated corresponding test to ensure accurate behavior.

docs(com6RockAvalanche): expand documentation for inputs, configuration, and troubleshooting

- Added detailed explanations for configuration parameters, setup instructions, and common issues.
- Included information on using the QGIS connector, remeshing, and entrainment models.

docs(com6RockAvalanche): fix typo and update figures

- Corrected typo in dataset name from "Fuchthorn" to "Fluchthorn."
- Added new static figures to improve documentation (`com6_ellipsoid_crosssection.png`, `com6_ellipsoid_offset.png`, `com6_ellipsoid_topview.png`, `com6_plane_topview.png`, `com6_planes_crosssection.png`).
- Removed outdated `Com6_documentation.docx` file.
@fso42
fso42 merged commit aba313e into OpenNHM:master Aug 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants