IntensityClassifierDebrisFlowTN

IntensityClassifierDebrisFlowTN classifies the intensity of a debris flow in three classes, 1 low, 2 medium and 3 high, following the guidelines of the Autonomous Province of Trento (TN). Four maps describe the event: the depth of the flow, its velocity outside of the river bed, the thickness of its deposits and the depth of the erosion. Each has a lower and an upper threshold: the intensity is high where any of them is over its upper threshold, medium where any is over its lower one, low elsewhere.

The default thresholds are 0.5 and 1 m for the depth and the deposits, 0.5 and 1 m/s for the velocity, 0.5 and 2 m for the erosion. The intensity maps of the events of 30, 100 and 200 years of return period are the input of HazardClassifier.

Details

The intensity of each cell is given by four quantities, each with a lower and an upper threshold: the depth of the flow, its velocity outside of the river bed, the thickness of the deposits and the depth of the erosion. The intensity is:

  • high (3), where any of them is over its upper threshold;

  • medium (2), where any of them is over its lower threshold, and none over the upper one;

  • low (1), where all are within their lower thresholds.

The four maps have to cover the same cells: the cells where only some of them have a value are skipped, with a warning. The cells with all values 0 are classified as low intensity: to keep the cells not reached by the flow out of the map, set them to novalue.

The intensity maps of the events of different return periods are the input of HazardClassifier.

Parameters

Classifies the intensity of a debris flow, from the maps of its depth, velocity, deposits and erosion, following the guidelines of the Province of Trento (TN): 1 low, 2 medium, 3 high.

Toolbox folder: Hydro-Geomorphology
Status: Experimental
Keywords: Raster, Debris flow
Authors: Silvia Franceschi, Andrea Antonello
Class: org.hortonmachine.modules.IntensityClassifierDebrisFlowTN

Inputs

Parameter

Type

Unit

Default

Description

inWaterDepth

raster file

m

The map of the depth of the flow.

pUpperThresWaterdepth

Double

m

1.0

The depth over which the intensity is high.

pLowerThresWaterdepth

Double

m

0.5

The depth over which the intensity is at least medium.

inVelocity

raster file

m/s

The map of the velocity of the flow outside of the river bed.

pUpperThresVelocity

Double

m/s

1.0

The velocity over which the intensity is high.

pLowerThresVelocity

Double

m/s

0.5

The velocity over which the intensity is at least medium.

inDepositsThickness

raster file

m

The map of the thickness of the deposits outside of the river bed.

pUpperThresDepositsThickness

Double

m

1.0

The thickness of the deposits over which the intensity is high.

pLowerThresDepositsThickness

Double

m

0.5

The thickness of the deposits over which the intensity is at least medium.

inErosionDepth

raster file

m

The map of the depth of the erosion.

pUpperThresErosionDepth

Double

m

2.0

The depth of the erosion over which the intensity is high.

pLowerThresErosionDepth

Double

m

0.5

The depth of the erosion over which the intensity is at least medium.

Outputs

Parameter

Type

Unit

Description

outIntensity

output file

The map of the debris flow intensity: 1 low, 2 medium, 3 high.

Example

The example makes up the four maps of a debris flow on a fan of 500 m at the end of the main channel of the sample area, as a model of debris flows would give them: deep and fast at the apex, stopping at the edge, with the deposits thickest in the middle and the erosion only near the apex.

import org.hortonmachine.modules.IntensityClassifierDebrisFlowTN
import org.hortonmachine.modules.Mapcalc

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

// the maps of a debris flow, as a model of debris flows would give them: here simply made up,
// on a fan of 500 m at the end of the main channel of the valley, opening to the south-west.
// The flow is deep and fast at the apex and stops at the edge of the fan, deposits most
// in its middle and erodes only near the apex
var maps = [
    debris_depth   : "1.5 * (1 - r / 500)",
    debris_velocity: "2 * (1 - r / 500)",
    debris_deposits: "1.6 * r / 500 * (1 - r / 500)",
    debris_erosion : "con(r < 100, 2.5 * (1 - r / 100), 0)"
]
for (name in maps.keySet()) {
    var mapcalc = new Mapcalc()
    // the elevation model only gives the grid: its values are not used
    mapcalc.inRaster1 = folder + "dtm_flanginec.tif"
    mapcalc.pFunction = """
images { ${name} = write; }
dx = x() - 1638705;
dy = y() - 5112805;
r = sqrt(dx * dx + dy * dy);
${name} = con(dx < 0 && dy < 0 && r < 500, ${maps[name]}, null);
"""
    mapcalc.outRaster = folder + name + ".tif"
    mapcalc.process()
}

// the intensity, with the default thresholds
var classifier = new IntensityClassifierDebrisFlowTN()
classifier.inWaterDepth = folder + "debris_depth.tif"
classifier.inVelocity = folder + "debris_velocity.tif"
classifier.inDepositsThickness = folder + "debris_deposits.tif"
classifier.inErosionDepth = folder + "debris_erosion.tif"
classifier.outIntensity = folder + "debris_intensity.tif"
classifier.process()
The intensity of the made up debris flow: high near the apex, where the flow is deep and fast, medium in the middle of the fan, low at its edge.

The intensity of the made up debris flow: high near the apex, where the flow is deep and fast, medium in the middle of the fan, low at its edge.