Interpolation error in the event-based/deterministic calculator
Bug #838967 reported by
Vitor Silva
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.
Changed in openquake: | |
importance: | Undecided → Critical |
milestone: | none → 0.4.4 |
Changed in openquake: | |
assignee: | nobody → beatpanic (kpanic) |
Changed in openquake: | |
status: | New → Fix Released |
To post a comment you must log in.
OpenQuake 0.4.3 should solve this bug, please verify on OATS when it's updated thanks!