UHS: Calculator functions the same with output_type=db or xml
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenQuake (deprecated) |
Fix Released
|
Low
|
Lars Butler |
Bug Description
[et=0.5h]
[at=0.5h]
Whether you specify --output_type=xml or =db, the UHS calculator functions the same (spits out XML and HDF5 only; no db artifacts).
This could cause confusion to users and should be fixed.
Update:
This issue has changed slightly but is still relevant. The UHS calculator functions exactly the same no matter what --output-type you specify. All of the calculation result artifacts produced by the UHS calc are exported as a separate action once the calculation is finished.
(See bug # 888175 and bug # 888176.)
This needs some cleanup. Eventually, the --output-type option should go away (in my opinion) and results should only be produced via an exporter.
Update:
It actually occurred to me that we could simply hook in the UHS export to the post_execute function of the UHS calculator. Easy.
Changed in openquake: | |
milestone: | none → 0.6.0 |
importance: | Undecided → Medium |
description: | updated |
Changed in openquake: | |
importance: | Medium → Low |
Changed in openquake: | |
assignee: | nobody → Lars Butler (lars-butler) |
status: | New → In Progress |
description: | updated |
description: | updated |
Changed in openquake: | |
status: | In Progress → Fix Committed |
Changed in openquake: | |
status: | Fix Committed → Fix Released |
Pull request: https:/ /github. com/gem/ openquake/ pull/708