safe.impact_functions.volcanic.volcano_point_building.metadata_definitions module

InaSAFE Disaster risk tool by Australian Aid - Volcano Point on Building Metadata Definitions.

Contact :


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_building.metadata_definitions.VolcanoPointBuildingFunctionMetadata[source]

Bases: safe.impact_functions.impact_function_metadata.ImpactFunctionMetadata

Metadata for VolcanoPointBuildingFunctionMetadata.

New in version 2.1.

We only need to re-implement as_dict(), all other behaviours are inherited from the abstract base class.

static as_dict()[source]

Return metadata as a dictionary.

This is a static method. You can use it to get the metadata in dictionary format for an impact function.

Returns:A dictionary representing all the metadata for the concrete impact function.
Return type:dict