NHLIB Integration: Update Hazard Curve Schema (DB and NRML)

Bug #1020000 reported by Lars Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
Medium
Lars Butler

Bug Description

With the integration of NHLIB, we need to add a few attribute the hazard curve schema. This involves changes to the NRML XML schema as well as the DB schema. (Both schemas should be roughly equivalent.)

Here's a sketch of what the new NRML schema could look like: http://pastie.org/4126533

The DB schema needs the following changes.

hzrdr.hazard_curve:
  - lt_realization_id (optional if statistics != NULL)
  - investigation_time
  - statistics (mean, quantile, or NULL)
  - quantile (only use with statistics == quantile)
  - imt
  - imls
  - sa_period (only use with imt == “SA”)
  - sa_damping (only use with imt == “SA”)

hzrdr.hazard_curve_data: No changes required.

Changed in openquake:
assignee: nobody → Lars Butler (lars-butler)
importance: Undecided → Medium
status: New → Confirmed
milestone: none → 0.8.1
Revision history for this message
Lars Butler (lars-butler) wrote :
Revision history for this message
Lars Butler (lars-butler) wrote :

Pull request for the DB schema changes: https://github.com/gem/oq-engine/pull/802

Changed in openquake:
status: Confirmed → 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.