gem/oq-engine — pull request #846 by matley (2012-08-22 18:17:18+00:00)
Title: Classical hazard calculator post processing (mean/quantile curve)

Addresses https://bugs.launchpad.net/openquake/+bug/1025204

It should be also a good starting point to add other results coming from individual hazard curve aggregations (e.g. maps).

Apart from minor changes, the additions could be divided into three groups:

1) code used for the computation of the aggregate results (in post_process.py)
2) code used for bulk serialization (to db) of such results (in aggregate_result_writer.py)
3) code used to query for individual curves

Implementation note: the computation of mean and aggregate results can be configured for local or distributed execution.