UHS: Calculator functions the same with output_type=db or xml

Bug #898101 reported by Lars Butler
6
This bug affects 1 person
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.

John Tarter (toh2)
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
Revision history for this message
Lars Butler (lars-butler) wrote :
Changed in openquake:
status: In Progress → Fix Committed
Changed in openquake:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.