Use taxonomy reference to associate assets and vulnerability functions
Bug #812757 reported by
Muharem Hrnjadovic
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
We will stop using vulnerability function references and start making use of taxonomy references instead. The vulnerability function to be selected for an asset is the one with the matching taxonomy reference.
This change affects the database schema for risk as well as the risk calculators.
tags: | added: database risk |
Changed in openquake: | |
milestone: | none → 0.5.1 |
Changed in openquake: | |
milestone: | 0.5.1 → 0.5.0 |
milestone: | 0.5.0 → 0.6.0 |
Changed in openquake: | |
status: | New → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This will also affect the way we sample de loss ratio when considering the vulnerability correlation. Before, we used the structure type label in the exposure model to carry out this task. Now, the structure type label will be replaced for the taxonomy reference and this code should be used to correlate the assets.