Hydrology and Earth System Sciences (Oct 2023)

Technical note: Seamless extraction and analysis of river networks in R

  • L. Carraro,
  • L. Carraro

DOI
https://doi.org/10.5194/hess-27-3733-2023
Journal volume & issue
Vol. 27
pp. 3733 – 3742

Abstract

Read online

Spatially explicit mathematical models are key to a mechanistic understanding of environmental processes in rivers. Such models necessitate extended information on networks' morphology, which is often retrieved from geographic information system (GIS) software, thus hindering the establishment of replicable script-based workflows. Here I present rivnet, an R package for GIS-free extraction and analysis of river networks based on digital elevation models (DEMs). The package exploits TauDEM's flow direction algorithm in user-provided or online accessible DEMs, and allows for computing covariate values and assigning hydraulic variables across any network node. The package is designed so as to require minimal user input while allowing for customization for experienced users. It is specifically intended for application in models of ecohydrological, ecological or biogeochemical processes in rivers. As such, rivnet aims to make river network analysis accessible to users unfamiliar with GIS-based and geomorphological methods and therefore enhance the use of spatially explicit models in rivers.