2 unit type count deficiencies

Bug #1025519 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Muharem Hrnjadovic

Bug Description

During a conference call with Vitor yesterday I realized that the branch implementing the unit type for exposure models (https://github.com/gem/oq-engine/pull/817) has 2 problems: it does not

    - allow the user to specify contents cost data when unit type is set to "count"
    - revise the per_asset_value() function to observe the unit type

Changed in openquake:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Muharem Hrnjadovic (al-maisan)
milestone: none → 0.8.1
tags: added: defect exposure risk
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

More information on the question how the per asset value should be calculated when the unit type is set to
"both":

Vitor commented: if unit type is set to "both" then the economic value is calculated exactly in the same way when one sets it to "economic_value".

Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
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.