DownSlopeConnectivity

Calculates the downslope component of the index of sediment connectivity of Cavalli et al. (2013): how easily the sediment detached in a cell can reach the network. Following the flow path of the cell down to the first channel cell, it sums the length d of each step divided by the weight W and the slope S of the cell it leaves: D = Σ d / (W · S).

Long, gentle and rough paths give high values, poorly connected cells; short and steep paths low values. The cells of the network have 0.

The weight is the impedance to the sediment flow, from 0 to 1. Cavalli et al. derive it from the roughness of the surface, as 1 - roughness / maximum roughness; any other map of the land cover can be used. Without a map, a constant weight gives a connectivity that depends only on the flow lengths and the slopes. The slopes below 0.005 are raised to 0.005, as in the paper, to avoid infinite values in the flat areas.

The full index also has an upslope component, the mean slope and weight of the area that drains into the cell, which this module does not compute.

Parameters

Calculates the downslope component of the index of sediment connectivity of Cavalli et al.: for each cell, the sum along its flow path down to the network of the length of each step divided by the weight and the slope of its cell. Low values mark the cells well connected to the network.

Toolbox folder: Hillslope
Status: Draft
Keywords: connectivity, sediment, raster
Authors: Andrea Antonello, Silvia Franceschi
Class: org.hortonmachine.modules.DownSlopeConnectivity

Inputs

Parameter

Type

Unit

Default

Description

inFlow

raster file

The map of the D8 flowdirections.

inNet

raster file

The map of the network, the target of the connectivity.

inSlope

raster file

m/m

The map of the slope, as from Slope. Values below 0.005 are raised to 0.005.

inWeights

raster file

The optional map of the weights, the impedance to the sediment flow, from 0 to 1, as 1 - roughness / maximum roughness in Cavalli et al.

pWeight

Double

The constant weight, used if the map of the weights is not given.

Outputs

Parameter

Type

Unit

Description

outConnectivity

output file

The downslope component of the connectivity: the sum of the flow lengths divided by weight and slope, along the flow path down to the network. It is 0 on the network, and novalue where the path leaves the map or the data before reaching it.

References

  • Cavalli M., Trevisani S., Comiti F., Marchi L., 2013. Geomorphometric assessment of spatial sediment connectivity in small Alpine catchments. Geomorphology, 188, 31-41. https://doi.org/10.1016/j.geomorph.2012.05.007

Example

The example runs on the sample elevation model of the manual, dtm_flanginec.tif in docs/manual/modules/maps/data, each module on the outputs of the previous ones:

import org.hortonmachine.modules.DownSlopeConnectivity

// the folder with the elevation model: change it to yours
var folder = "/data/flanginec/"

var connectivity = new DownSlopeConnectivity()
connectivity.inFlow = folder + "drain.tif"
connectivity.inNet = folder + "net.tif"
connectivity.inSlope = folder + "slope.tif"
// the same weight everywhere: only the flow lengths and the slopes count
connectivity.pWeight = 1.0
connectivity.outConnectivity = folder + "connectivity.tif"
connectivity.process()
The downslope connectivity of the sample area, with a constant weight: low values near the channels and on the steep slopes, high values on the gentle terrain far from the network.

The downslope connectivity of the sample area, with a constant weight: low values near the channels and on the steep slopes, high values on the gentle terrain far from the network. The cells whose path leaves the map before reaching the network have no value.