safe.impact_functions.earthquake.pager_earthquake_fatality_model.metadata_definitions module

InaSAFE Disaster risk tool by Australian Aid - Metadata for PAGER Earthquake Impact Function on Population.

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.earthquake.pager_earthquake_fatality_model.metadata_definitions.PAGFatalityMetadata[source]

Bases: safe.impact_functions.earthquake.itb_earthquake_fatality_model.metadata_definitions.ITBFatalityMetadata

Metadata for PAG Fatality 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