Skip to content
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

Slope calculation as steepest downward slope on planar triangular facets #49

Open
debpal opened this issue Jul 26, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@debpal
Copy link

debpal commented Jul 26, 2024

Kind of request

Adding new functionality

Enhancement Description

I have seen a slope function 'pyflwdir.dem.slope'. But it seems to me like slope of D8 flow direction. I need to calculate the slope of D-inf flow direction. I guess some changes in the code of 'pyflwdir.dem.slope' can calculate slope of D-inf flow direction. I don't understand how to do. Could someone help me please?

Use case

No response

Additional Context

No response

@DirkEilander DirkEilander added the enhancement New feature or request label Dec 19, 2024
@DirkEilander
Copy link
Contributor

Thanks for your request.
The slope is calculated using 2nd order partial derivatives.

Pyflwdir only supports D8 flow at this time, and there are currently no plans to add D-inf flow. I would however be open to suggestions how to implement this from the user community.

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

No branches or pull requests

2 participants