safe.impact_functions.volcanic.volcano_polygon_population.impact_function module

InaSAFE Disaster risk tool by Australian Aid - Volcano Polygon on Population Impact Function.

Contact : ole.moller.nielsen@gmail.com

Note

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

class safe.impact_functions.volcanic.volcano_polygon_population.impact_function.VolcanoPolygonPopulationFunction[source]

Bases: safe.impact_functions.bases.classified_vh_continuous_re.ClassifiedVHContinuousRE, safe.impact_reports.population_exposure_report_mixin.PopulationExposureReportMixin

Impact Function for Volcano Point on Building.

notes()[source]

Overwrite the notes section with this impact function’s notes.

Returns:The notes for this impact function’s report.
Return type:list
run()[source]

Run volcano population evacuation Impact Function.

Counts number of people exposed to volcano event.

Returns:

Map of population exposed to the volcano hazard zone. The returned dict will include a table with number of people evacuated and supplies required.

Return type:

dict

Raises:
  • Exception - When hazard layer is not vector layer

  • RadiiException - When radii are not valid (they need to be

    monotonically increasing)