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

Implement decaying D8 flow accumulation #389

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

phargogh
Copy link
Member

@phargogh phargogh commented Apr 10, 2024

This PR copies the modifications to D8 flow accumulation implemented for the NCI Water Quality project that allow for pixel loads to decay as they pass over the landscape. You could think of like a pollutant flowing across the landscape, where some fraction is absorbed due to landcover or some other factor.

Tests have been implemented and runtime should only trivially be affected when decaying accumulation is not in use. When decaying accumulation is used, there is an extra cost in memory and in iteration over the pollutant contributions to the pixel.

Fixes #386

…/386-add-decaying-flow-accumulation

Conflicts:
	HISTORY.rst
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.

Contribute Pollutant Decay to Flow Accumulation
2 participants