Quantile hazard calculation fails when multiple logic tree branches are enumerated
Bug #1052837 reported by
Lars Butler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Critical
|
Lars Butler |
Bug Description
Applies to classical hazard quantile post-processing.
In the case of end-branch enumeration with more than 1 branch, numpy.interp (used in quantile_
Numpy throws back this error: "TypeError: array cannot be safely cast to required type". This doesn't appear to be a problem when there is only a single end branch in the logic tree (and so the single weight is 1.0).
Changed in openquake: | |
milestone: | none → 0.8.3 |
assignee: | nobody → Lars Butler (lars-butler) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in openquake: | |
importance: | Medium → Critical |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch: https:/ /github. com/gem/ oq-engine/ pull/879