I have a number of locations for which
I need to select all the upstream catchments using HydroAtlas level 12 (huc-12), a product derived from HydroSheds. I can't wrap my head around a piece of code in R that would just do that. Anyone aware of an open tool/routine that does that? Thanks