Module: safe.engine.impact_functions_for_testing.general_ashload_impact
-
class safe.engine.impact_functions_for_testing.general_ashload_impact.TephraBuildingImpactFunction[source]
Risk plugin for tephra damage (FIXME: Origin?)
:param requires category==’hazard’ and subcategory.startswith(‘tephra’) and layertype==’raster’ and unit==’kg/m^2’
:param requires category==’exposure’ and subcategory==’structure’ and layertype==’vector’
-
generate_style(data)[source]
Generates and SLD file based on the data values
-
static run(layers)[source]
Risk plugin for tephra impact
This module forms part of the InaSAFE tool.