elev_to_channel: Calculate derivatives from the Channel module

View source: R/channel.R

elev_to_channelR Documentation

Calculate derivatives from the Channel module

Description

The main goal of this function is to calculate the Vertical Distance to the Channel Network vdcnw parameter, so it will calculate first chnet. However, it can be used to only calculate the Channel Network as well.

Usage

elev_to_channel(
  elev_sgrd,
  flow_sgrd,
  out_dir,
  prefix = "",
  envir,
  ...,
  chnet = TRUE,
  vdcnw = FALSE,
  init_value = 1e+06,
  chnet_shp = FALSE
)

Arguments

elev_sgrd

input, elevation raster data in SAGA format, can be created with elev_to_sgrd()

flow_sgrd

input, can be generated with elev_to_terrain_analysis()

out_dir

output directory

prefix

character prefix for output filenames

envir

environment to get SAGA installation, can be set with init_saga()

...

ignored, check help page for possible outputs

chnet

Channel Network: If a cell is part of a channel its value equals the channel order. Otherwise the cell is marked as no-data. Boolean, defaults to TRUE

vdcnw

Vertical Distance to Channel Network: Altitude above the channel network. Boolean, defaults to FALSE

init_value

Initiation flow accumulation value for channel network computation. Defaults to 1000000

chnet_shp

Calculate channel network in vector format


loreabad6/terrain documentation built on July 6, 2023, 6:44 a.m.