gem/openquake — pull request #654 by al-maisan (2012-01-17 13:23:03+00:00)
Title: Parallel results collection writes hazard curve/maps files more than once

https://bugs.launchpad.net/openquake/+bug/914614

The branch at hand fixes the hazard curve/map NRML serialization logic so that the resulting XML files are written exactly once.

Pieces of this branch have been broken out and reviewed separately in order to make the review process of the overall change lass "traumatic"

- debug statistics counters: https://github.com/gem/openquake/pull/653
- ad-hoc objects: https://github.com/gem/openquake/pull/652

The best to review the actual/remaining diff for this branch is as follows:

git diff -M90 ee01ab3a1f8d...HEAD | filterdiff -x '*stats*' -x '*general*' -x '*cfg*' | colordiff | less

Please let me know what you think. Thanks!