IntensityClassifierFlood

IntensityClassifierFlood classifies the intensity of a flood in three classes, 1 low, 2 medium and 3 high, from the maps of its water depth h and velocity v, as given by a 2D hydraulic model. The intensity of a cell is high where h or the specific discharge v·h is over its upper threshold, medium where one of them is over its lower threshold, low elsewhere. The default thresholds are 0.5 and 1 m for the depth, 0.5 and 1 m²/s for the specific discharge.

The intensity maps of the floods of 30, 100 and 200 years of return period are the input of HazardClassifier.

Cells with a depth of 0 are classified as low intensity: set the dry cells to novalue in the maps of depth and velocity, to keep them out of the map.

Details

The intensity of each cell is given by its water depth h and by the product of the depth and the velocity v·h, the specific discharge:

  • high (3), where h or v·h is over its upper threshold;

  • medium (2), where h or v·h is over its lower threshold, and none over the upper one;

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

The two maps have to cover the same cells: the cells where only one of them has a value are skipped, with a warning. The cells with a depth of 0 are classified as low intensity: to keep the dry cells out of the map, set them to novalue in the maps of depth and velocity.

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

Parameters

Classifies the intensity of a flood, from the maps of its water depth and velocity: 1 low, 2 medium, 3 high.

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

Inputs

Parameter

Type

Unit

Default

Description

inWaterDepth

raster file

m

The map of the water depth.

inVelocity

raster file

m/s

The map of the water velocity.

pUpperThresWaterdepth

Double

m

1.0

The water depth over which the intensity is high.

pUpperThresVelocityWaterdepth

Double

m2/s

1.0

The product of water depth and velocity over which the intensity is high.

pLowerThresWaterdepth

Double

m

0.5

The water depth over which the intensity is at least medium.

pLowerThresVelocityWaterdepth

Double

m2/s

0.5

The product of water depth and velocity over which the intensity is at least medium.

Outputs

Parameter

Type

Unit

Description

outIntensity

output file

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

Example

The example makes up the three floods on the synthetic river of the example of SaintGeo, river.tif: water surfaces parallel to the bottom of the valley, 5, 15 and 25 cm over the edge of the floodplain, and the velocity of a uniform flow of each depth. A real study would take the depth and the velocity from a hydraulic model:

import org.hortonmachine.modules.IntensityClassifierFlood
import org.hortonmachine.modules.Mapcalc

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

// the floods of 30, 100 and 200 years of return period on the river of the SaintGeo example,
// with a water surface parallel to the bottom, 5, 15 and 25 cm over the edge of the floodplain
var overbank = [30: 0.05, 100: 0.15, 200: 0.25]
for (tr in overbank.keySet()) {
    // the water depth, novalue where the cells are dry
    var depth = new Mapcalc()
    depth.inRaster1 = folder + "river.tif"
    depth.pFunction = """
images {
    river = read;
    depth = write;
}
h = 200 + 0.002 * (y() - ymin()) + ${overbank[tr]} - river;
depth = con(h > 0, h, null);
"""
    depth.outRaster = folder + "depth_tr" + tr + ".tif"
    depth.process()

    // the velocity of a uniform flow of that depth, with a Gauckler-Strickler coefficient
    // of 30 and the slope of 0.2% of the valley
    var velocity = new Mapcalc()
    velocity.inRaster1 = folder + "depth_tr" + tr + ".tif"
    velocity.pFunction = """
images {
    depth_tr${tr} = read;
    velocity = write;
}
velocity = 30 * depth_tr${tr} ^ (2.0 / 3.0) * sqrt(0.002);
"""
    velocity.outRaster = folder + "velocity_tr" + tr + ".tif"
    velocity.process()

    // the intensity, with the default thresholds: 0.5 and 1 m of depth, 0.5 and 1 m2/s of velocity by depth
    var classifier = new IntensityClassifierFlood()
    classifier.inWaterDepth = folder + "depth_tr" + tr + ".tif"
    classifier.inVelocity = folder + "velocity_tr" + tr + ".tif"
    classifier.outIntensity = folder + "intensity_tr" + tr + ".tif"
    classifier.process()
}
The intensity of the flood of 200 years over the river: high in the channel, deep and fast, a thin band of medium at its edges, low over the shallow water of the floodplain.

The intensity of the flood of 200 years over the river: high in the channel, deep and fast, a thin band of medium at its edges, low over the shallow water of the floodplain.