gem/openquake — pull request #591 by larsbutler (2011-11-30 16:56:06+00:00)
Title: UHS Core calculation @task

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

Okay, this is really a lot bigger than I originally intended. Sorry. A big chunk of the changes are purely in test code.

Other changes:

(Note: I will update these once the other open pull requests are closed and I have a clean diff; it's all a blur right now.)

- Updates the modes in `openquake.job.params.py` (just overlooked when I first added UHS params).
- A few updates to some database contraints (again, some stuff I overlooked in the initial branch to add UHS junk to the db schema).
- Added a new overload to `GmpeLogicTreeData.java` to support UHS calculations (the PERIOD param is not used in UHS).
- Updated the interface of the `UHSCalculator` and introduced a `UHSResults` class.
- The `openquake.java.py` module had the `jexception` and `unpack_exception` decorators which both did the _exact_ same thing; so, now it's just `unpack_exception`.