oq-engine: better organization of hazard output results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
High
|
Lars Butler |
Bug Description
To facilitate users in browsing hazard results generated by oq-engine, we need to better organize the hazard results when they are serialized to xml.
For each calculation a folder has to be generated, with the following structure:
- job_id:
- hazard_
- hazard_
- hazard_
For instance, for a classical PSHA calculation that requires hazard curves, hazard maps and uhs the output folder should look like (considering a source model logic tree containing a single source model with ID = 1, and a GSIM logic tree with two gmpes for a single tectonic region type with ID=1 and ID=2):
- job_1:
- hazard_curves:
- hazard_map:
- uhs:
For a event based calculation requiring stochastic event sets and ground motion fields and hazard curves and hazard maps (as computed from ground motion fields):
- job_1:
- stochastic_
- ground_
- hazard_curves:
- hazard_map:
For a disaggregation calculation:
- job_1:
- disaggregation_
For a scenario calculation:
- job_1:
- ground_
In the case of Monte-Carlo sampling of the logic trees, it's possible that there will be multiple files with the same branch IDs for a given IMT. For example:
- job_1:
- hazard_curves:
In this case, we can include "-ltrN", where N is the `ordinal` of the hzrdr.lt_
The same approach can be applied to the other outputs as well (not just hazard curves).
description: | updated |
description: | updated |
description: | updated |
Changed in openquake: | |
assignee: | nobody → Lars Butler (lars-butler) |
status: | New → In Progress |
milestone: | none → 1.0.0 |
description: | updated |
Changed in openquake: | |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
Whiteboard photo, detailing all of the various cases for each hazard output type.