caf.cvt.functional_rules#

Apply functional rules to hazard and impact datasets, and normalise.

Functions

apply_functional_rules(config)

Apply functional rules to hazard datasets and spatially combine to generate risk indices.

box(minx, miny, maxx, maxy[, ccw])

Return a rectangular polygon with configurable normal vector.

min_max_scaling_pair(risk_data, pairs[, ...])

Scale paired columns jointly using Min-Max scaling.

reduce(function, iterable[, initial])

Apply a function of two arguments cumulatively to the items of a sequence or iterable, from left to right, so as to reduce the iterable to a single value.

Classes

Polygon([shell, holes])

A geometry type representing an area that is enclosed by a linear ring.