safe.impact_functions.inundation.flood_raster_osm_building_impact.metadata_definitions module

InaSAFE Disaster risk tool by Australian Aid - Flood Raster Impact on OSM Buildings

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.inundation.flood_raster_osm_building_impact.metadata_definitions.FloodRasterBuildingMetadata[source]

Bases: safe.impact_functions.impact_function_metadata.ImpactFunctionMetadata

Metadata for Flood Raster Building Impact Function.

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