Compute ground motion values on the fly for risk event based calculations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Critical
|
matley |
Bug Description
We need to support the calculation of ground motion values on the fly to be used in a risk event based calculation.
Given the id <foo> of an output of type "ses" computed by a hazard event based calculation it should be possible to run:
./bin/openquake --rr job_risk.ini --ho <foo>
Implementation proposal:
We enhance the GroundMotionVal
As the ground motion values are values deriving from a stochastic process we need to ensure that the correlation between such numbers are not lost.
Roughly speaking, as in a Risk Event Based calculator the computation is split across assets (i.e. sites) we need to ensure that all the random numbers generated in a task (e.g. a total stddev residual for a particular rupture) is computed properly (e.g. the same rupture gets the same residual in different tasks). Similar attention should be taken for managing the generation of intra-event, inter-event residuals (as for the former spatial correlation has to be considered).
The proposed solution involves the generation upfront of a number of seed values used to initialize the random number generator in the different tasks. Then, we use a simplified version of `openquake.
As to compute ground motion values, the full ProbabilisticRu
Related issue: https:/
description: | updated |
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/gem/ oq-engine/ pull/1234/