safe.impact_functions.inundation.flood_raster_road.impact_function module

Impact of flood on roads.

class safe.impact_functions.inundation.flood_raster_road.impact_function.FloodRasterRoadsFunction[source]

Bases: safe.impact_functions.bases.continuous_rh_classified_ve.ContinuousRHClassifiedVE, safe.impact_reports.road_exposure_report_mixin.RoadExposureReportMixin

Simple impact function for inundation for road.

notes()[source]

Return the notes section of the report.

Returns:The notes that should be attached to this impact report.
Return type:safe.messaging.Message
run()[source]

Run the impact function.

Returns:A new line layer with inundated roads marked.
Type:safe_layer