-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add r.slopeunits module #1279
Add r.slopeunits module #1279
Conversation
core module
…ows-1.x Update pre-commit hook mundialis/github-workflows to v1.2.0
fix string formatting
Start linting
Add script to calculate metric
test01 completed
Linting Part 2
Split into multimodule
Fix a few typos
Small fixes
add options for r.watershed
make plainsmap optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
black
[black] reported by reviewdog 🐶
grass-addons/src/raster/r.slopeunits/r.slopeunits.optimize/r.slopeunits.optimize.py
Lines 342 to 344 in 45b67a7
grass.message( | |
f"Writing to calcd.dat: {cvmin} {areamin} {out1} {out2} ..." | |
) |
[black] reported by reviewdog 🐶
grass-addons/src/raster/r.slopeunits/r.slopeunits.optimize/r.slopeunits.optimize.py
Lines 368 to 370 in 45b67a7
grass.message( | |
f"Writing to current.txt: {ico} {cvmin} {areamin} {out1} {out2} ..." | |
) |
Can I suggest looking at the contributing guidelines: Specifically, there are several best practices that may be relevant here: |
flake: max-line-length = 88 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Apply suggestions by AP
src/raster/r.slopeunits/r.slopeunits.clean/r.slopeunits.clean.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.clean/r.slopeunits.clean.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.create/r.slopeunits.create.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.create/r.slopeunits.create.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.create/r.slopeunits.create.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
Outdated
Show resolved
Hide resolved
src/raster/r.slopeunits/r.slopeunits.metrics/r.slopeunits.metrics.py
Outdated
Show resolved
Hide resolved
flake: max line length = 88 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This PR adds
r.slopeunits
which is a GRASS GIS addon toolset that creates, cleans and calculate metrics for slope units. Additionally, optimal input values can be determined.AUTHORS: