gem/oq-engine — pull request #903 by larsbutler (2012-10-23 09:54:36+00:00)
Title: Engine risk updates

Another patch for https://bugs.launchpad.net/openquake/+bug/1069732

This patch adds functionality to the engine (engine2.py) and related to code to get the risk engine standing up.

There's a sample demo file: `demos/classical_psha_based_risk/job.ini`. This can be run with the new command-line UI, although it only executes a fake a calculation with an empty risk calculator. But this is enough for us to start building the new versions of the risk calcs.

Some of this stuff is a little rough, with TODOs and all. This will get polished up once we start dropping in the new calculators.

All prior related pull requests need to land first, as this patch is a derivative.