Introduce a table with the sites of interest for a given hazard computation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
High
|
Michele Simionato |
Bug Description
This is needed for the risk and in general it is useful even for the hazard. There is actually already a site table in the engine, called site_data: however, it is the transpose of the needed one, instead of storing (site_id, location, parameters) it stores arrays with the coordinates and the parameters. The ticket requires fixing the site_table data to be useful for the risk. It also asks to move it from the htemp schema into the hzrdi schema, since it becomes a persistent table.
For more info about the motivation, look at https:/
In short, the final goal is to remove the expensive aggregations by location
which are needed for the risk.
Changed in oq-engine: | |
importance: | Undecided → High |
assignee: | nobody → Michele Simionato (michele-simionato) |
milestone: | none → 1.0.0 |
status: | New → In Progress |
Changed in oq-engine: | |
status: | In Progress → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
Related pull requests:
https:/ /github. com/gem/ oq-hazardlib/ pull/123 /github. com/gem/ oq-engine/ pull/1192
https:/