subcatch {topmodel} | R Documentation |
Identify a hydrological catchment based on a single direction flow algorithm
subcatch(DEM,outlet)
DEM |
A matrix representing a digital elevation model [m] with equally sized pixels and equal x and y resolution |
outlet |
A vector containing the row and column indices of the pixel representing the catchment outlet. |
A binary matrix of the same size as DEM
.
Wouter Buytaert, Imperial College London, based on an implementation from the Hydrology Group of Lancaster University
See http://paramo.cc.ic.ac.uk/topmodel_tutorial for examples.