Risk exposure Importer from nrml to db needed

Bug #817475 reported by Muharem Hrnjadovic
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Mattia Barbon

Bug Description

Now that we have the risk exposure model tables in the schema we need the logic to populate them from nrml files

Changed in openquake:
status: New → Confirmed
importance: Undecided → High
tags: added: database nrml risk
Changed in openquake:
assignee: nobody → Mattia Barbon (mattia.barbon)
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :

Double check:

- exposure_model.description is the gml:description child of exposureList
- assetDescription is discarded, so there is no way to export back the original model

Revision history for this message
Mattia Barbon (mattia.barbon) wrote :
Changed in openquake:
status: Confirmed → In Progress
John Tarter (toh2)
Changed in openquake:
milestone: none → 0.4.2
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :

Closed the pull request for now (we will likely switch so Django ORM and the pull request is all SQLAlchemy code); the branch might still be useful as a starting point.

John Tarter (toh2)
Changed in openquake:
milestone: 0.4.2 → 0.4.3
Changed in openquake:
status: In Progress → Confirmed
Changed in openquake:
status: Confirmed → In Progress
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :
Revision history for this message
Mattia Barbon (mattia.barbon) wrote :

Vulnerability function reference are ambiguous by themselves.

Might need a vulnerability model reference to be added to the NRML file.

Revision history for this message
Mattia Barbon (mattia.barbon) 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.