mdbartos / pysheds

:earth_americas: Simple and fast watershed delineation in python.
GNU General Public License v3.0
706 stars 191 forks source link

Quantifying the amount of water upstream #150

Closed BradKML closed 2 years ago

BradKML commented 2 years ago

There is a blog recently that altitude and watersheds are related to obesity (due to water pollution).

Since using pure altitude alone is not useful in quantifying the amount of water a place has been affected, is there a good metric based on geography to determine who much water is upsteam?

Example metric: Area of watershed - Distance from the end of the stream to the location in question * the "width" of the watershed

mdbartos commented 2 years ago

Greetings,

Interesting, I saw that article as well.

What you're interested in is some (possibly weighted) version of the grid.accumulation function.

mdbartos commented 2 years ago

Please reopen an issue if you have more questions.

BradKML commented 2 years ago

@mdbartos thank you for the reply, this will come in really handy in handling related issues.