Introduce a table with the sites of interest for a given hazard computation

Bug #1184603 reported by Michele Simionato
6
This bug affects 1 person
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://docs.google.com/a/openquake.org/document/d/19q-A6AJCMXflMfp9gKmtCqF2fk2EngfQvoQy7O6xUHQ/edit?usp=sharing

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
Revision history for this message
Michele Simionato (michele-simionato) wrote :
description: updated
Changed in oq-engine:
status: In Progress → Fix Committed
Changed in oq-engine:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.