safe.impact_functions.volcanic.volcano_point_population.impact_function module

InaSAFE Disaster risk tool by Australian Aid - Volcano Point 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_point_population.impact_function.VolcanoPointPopulationFunction[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 Population.

notes()[source]

Return the notes section of the report.

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

Run volcano point 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)