Learn R Programming

topmodel (version 0.7.5)

subcatch: Identify a hydrological catchment based on a single direction flow algorithm

Description

Identify a hydrological catchment based on a single direction flow algorithm

Usage

subcatch(DEM,outlet)

Value

A binary matrix of the same size as DEM.

Arguments

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.

Author

Wouter Buytaert, Imperial College London, based on an implementation from the Hydrology Group of Lancaster University

References

See https://github.com/ICHydro/topmodel for examples.

See Also

topmodel