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

DownslopeFlowpathLength: optional output in number of cells instead of unit of distance #308

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jfbourdon
Copy link
Contributor

Adds a --cells optional switch to get the output as a number of cells instead of the default unit of distance.

I was looking in a way to get the opposite of that the D8 flow accumulation does, instead of counting for the upstream cells, counting from the downstream cells. This tool was already doing that, just not un the unit I wanted. Simply reversing all direction in a D8 pointer file and computing the flow accumulation cannot work directly because of the values at both ends of each flowpath (must be a 0 at the upstream and not at the downstream in this case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant