unexpected nan numbers in loss curves
Bug #1157072 reported by
Miriam Colombi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Critical
|
Lars Butler |
Bug Description
Once I run seismic risk assessment I got some nan numbers as PoEs in some of the loss curves. In the zip folder "MiriamColombi" attached there are my input files.
Changed in openquake: | |
assignee: | nobody → Lars Butler (lars-butler) |
Changed in openquake: | |
importance: | Undecided → Critical |
status: | Confirmed → In Progress |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I can reproduce this issue.
Something else I've noticed: when I try to export `loss_curve` artifacts from the DB, I get the following error.
Traceback (most recent call last): risk(output_ id, expanduser( target_ dir)) risk_export. export, risk_output_id, target_dir) larsbutler/ proj/oq- engine/ openquake/ engine/ export/ risk.py" , line 52, in export expanduser( target_ dir))] larsbutler/ proj/oq- engine/ openquake/ engine/ export/ core.py" , line 56, in wrapped larsbutler/ proj/oq- engine/ openquake/ engine/ export/ risk.py" , line 109, in export_ loss_curve_ xml LossCurveXMLWri ter(**args) .serialize( data) larsbutler/ proj/oq- nrmllib/ openquake/ nrmllib/ risk/writers. py", line 64, in __init__ larsbutler/ proj/oq- nrmllib/ openquake/ nrmllib/ risk/writers. py", line 898, in validate_ hazard_ metadata logic_tree_ metadata( source_ model_tree_ path, gsim_tree_path) larsbutler/ proj/oq- nrmllib/ openquake/ nrmllib/ risk/writers. py", line 926, in _check_ logic_tree_ metadata model_tree_ path` and `gsim_tree_path` must be specified.
File "bin/openquake", line 588, in <module>
main()
File "bin/openquake", line 572, in main
export_
File "bin/openquake", line 386, in export_risk
export(
File "bin/openquake", line 399, in export
files = fn(output_id, target_dir)
File "/Users/
return [fn(output, os.path.
File "/Users/
return fn(output, target_dir)
File "/Users/
writers.
File "/Users/
statistics, quantile_value)
File "/Users/
_check_
File "/Users/
raise ValueError("When specifying a logic tree branch, "
ValueError: When specifying a logic tree branch, both `source_