prepare_streams_network: Prepare the stream network from the accumulation raster...

View source: R/prepare_streams_network.R

prepare_streams_networkR Documentation

Prepare the stream network from the accumulation raster (itself derived from the DEM)

Usage

prepare_streams_network(path_to_accumulation_raster,
  path_to_grassApplications_folder, threshold_accumulation_raster)

Details

Create the hydrographic network from the accumulation raster file. We threshold the accumulation raster file : consider that all cells with a value superior to a given threshold (provided as input parameter threshold_accumulation_raster) are the hydrographic network and all the cells with a value inferior to this threshold are not part of it. The threshold was determined visually by overlaying the accumulation raster file with a very high resolution satellite image. For additional information see the section 'example' of the article provided here: <https://grass.osgeo.org/grass76/manuals/r.thin.html>

param path_to_grassApplications_folder : Path to the GRASS application folder, for the setup of the rgrass7 package. Can be retrieved in the terminal with grass74 –config path . More info on the use of rgrass7 at https://grasswiki.osgeo.org/wiki/R_statistics/rgrass7


ptaconet/eodataflow documentation built on June 14, 2024, 6:43 p.m.