Problem exporting aggregate loss curves
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake Engine |
Fix Released
|
Critical
|
matley |
Bug Description
Let <hc> the ID of an hazard calculation. If you run an event based risk calculation by using such id you will get a number of aggregate loss curves. When you try to export one of it you will get the following error:
vsilva@
Traceback (most recent call last):
File "./bin/openquake", line 614, in <module>
main()
File "./bin/openquake", line 590, in main
export_
File "./bin/openquake", line 404, in export_risk
export(
File "./bin/openquake", line 417, in export
files = fn(output_id, target_dir)
File "/usr/local/
return [fn(output, os.path.
File "/usr/local/
return fn(output, target_dir)
File "/usr/local/
args = _export_
File "/usr/local/
metadata = output.
File "/usr/local/
' "%s"' % self.output_type
RuntimeError: Error getting hazard metadata: Unexpected output_type "agg_loss_curve"
Changed in oq-engine: | |
status: | New → Fix Committed |
Changed in oq-engine: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/gem/ oq-engine/ pull/1145