openquake.engine.tools package

openquake.engine.tools.correct_complex_sources module

Correct complex fault sources to comply with Aki and Richards convention.

openquake.engine.tools.correct_complex_sources.fix(fname, outname=None)[source]
openquake.engine.tools.correct_complex_sources.fix_source_node(node)[source]
openquake.engine.tools.correct_complex_sources.make_edge(edge)[source]
openquake.engine.tools.correct_complex_sources.reverse(edge)[source]

openquake.engine.tools.make_html_report module

openquake.engine.tools.make_html_report.make_report(isodate='today')[source]

Build a HTML report with the computations performed at the given isodate. Return the name of the report, which is saved in the current directory.

openquake.engine.tools.make_html_report.make_tabs(tag_ids, tag_status, tag_contents)[source]

Return a HTML string containing all the tabs we want to display

openquake.engine.tools.viewlog module

An extremely simple log viewer, suitable for debugging

openquake.engine.tools.viewlog.viewlog(calc_id, host='localhost', port=8000)[source]

Extract the log of the given calculation ID from the WebUI

Module contents