safe.impact_statistics.postprocessor_manager module

InaSAFE Disaster risk assessment tool by AusAid - Postprocessor Manager

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_statistics.postprocessor_manager.PostprocessorManager(aggregator)[source]

Bases: PyQt4.QtCore.QObject

A manager for post processing of impact function results.

get_output(aoi_mode)[source]

Returns the results of the post processing as a table.

Parameters:aoi_mode (bool) – aoi mode of the aggregator.
Returns:str - a string containing the html in the requested format.
remove_empty_columns()[source]

Removes empty columns from output, to reduce table width.

Note

This is intended to be a temporary solution to the excessive

amount of data in some of the postprocessors.

run()[source]

Run any post processors requested by the impact function.