Interpolation error in the event-based/deterministic calculator

Bug #838967 reported by Vitor Silva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Critical
beatpanic

Bug Description

If a ground motion value is lower or greater then the minimum or maximum value of the vulnerability function respectively, an exception is thrown. The following should be implemented:

If ground_motion_value < min( Intensity measure levels from the vulnerability function) then:
Loss_ratio = 0

If ground_motion_value > max( Intensity measure levels from the vulnerability function) then:
Loss_ratio = max(loss_ratios from the vulnerability function)

I found this bug in both the probabilistic and deterministic event-based calculators.

John Tarter (toh2)
Changed in openquake:
importance: Undecided → Critical
milestone: none → 0.4.4
Revision history for this message
beatpanic (kpanic) wrote :

OpenQuake 0.4.3 should solve this bug, please verify on OATS when it's updated thanks!

beatpanic (kpanic)
Changed in openquake:
assignee: nobody → beatpanic (kpanic)
Revision history for this message
Vitor Silva (vitor-silva) wrote :

I tried even more extreme scenarios with this new version and I was not able to reproduce this bug. It seems like it's well fixed.

beatpanic (kpanic)
Changed in openquake:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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