nhlib-based classical hazard calculator core, initialization
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Won't Fix
|
Medium
|
Lars Butler |
Bug Description
With the imminent completion of bug # 994033, we have the ability to load a classical hazard job profile from an INI file into the DB. Existing engine code was adapted (see engine.
Here is a rough outline of the steps required to run a calculation, in order of execution:
------
Engine
------
(The following 3 parts already exist, for the most part. Additional 'glue' code may be required.)
- parse job (from config file)
- validate job
- store job profile in database (this includes create initial records for input files: logic trees, site model, etc.; additional processing will be required--see below)
-------
initialize/
-------
- parse & store site model (the input model should already be partially stored in the database; see `uiapi.input` and `uiapi.
- parse source model logic tree, store sources (from xml to db), create `src2ltsrc` links
- initialize calc progress counters
- record job stats
-------
execute
-------
- if geometry of interest is a region, discretize it into sites (based on th `region_
- we can probably use nhlib geometry code for this; see `nhlib.
- distribute tasks and wait
------------
post_execute
------------
- clear progress counters
---------------
post_processing
---------------
- mean curves (if requested)
- quantile curves (if requested)
- hazard maps (if requested)
tags: | added: nhlib |
tags: | added: hazard |
Changed in openquake: | |
assignee: | nobody → Lars Butler (lars-butler) |
status: | New → In Progress |
importance: | Undecided → Medium |
milestone: | none → 0.8.1 |
description: | updated |
summary: |
- nhlib-based classical hazard calculator core + nhlib-based classical hazard calculator core, initialization |
description: | updated |
description: | updated |
Changed in openquake: | |
status: | In Progress → Won't Fix |