[Bug 1100371] [NEW] Port Scenario Damage writer to nrml 0.4

0 views
Skip to first unread message

matley

unread,
Jan 16, 2013, 11:53:33 AM1/16/13
to oqb...@foldr3.com
Public bug reported:

With the release of the nrml 0.4 we need to port and update the previous
nrml writers to the new version (in the nrml repository).

Examples and schema of the 4 requested output format:

https://github.com/gem/nrml/blob/master/examples/collapse-map.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-per-asset.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-per-taxonomy.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-total.xml

Link to the previous implementation (in the oq-engine):
https://github.com/gem/oq-
engine/blob/legacy/openquake/output/scenario_damage.py


In this context, mind that we need to perform the following updates:

1) remove endBranchLabel as it does not make any sense.
2) in collapse map add mean and stdDev as attribute of <cf> instead of
using a proper tag
3) in collapse map remove unused gml:id attributes
4) (minor) remove the site container and move the gml:Point such that it
becomes a child of DDNode

** Affects: openquake
Importance: Undecided
Status: New

--
You received this bug notification because you are subscribed to
OpenQuake.
Matching subscriptions: openquake-bugs
https://bugs.launchpad.net/bugs/1100371

Title:
Port Scenario Damage writer to nrml 0.4

Status in OpenQuake:
New

Bug description:
With the release of the nrml 0.4 we need to port and update the
previous nrml writers to the new version (in the nrml repository).

Examples and schema of the 4 requested output format:

https://github.com/gem/nrml/blob/master/examples/collapse-map.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-per-asset.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-per-taxonomy.xml
https://github.com/gem/nrml/blob/master/examples/dmg-dist-total.xml

Link to the previous implementation (in the oq-engine):
https://github.com/gem/oq-
engine/blob/legacy/openquake/output/scenario_damage.py


In this context, mind that we need to perform the following updates:

1) remove endBranchLabel as it does not make any sense.
2) in collapse map add mean and stdDev as attribute of <cf> instead of
using a proper tag
3) in collapse map remove unused gml:id attributes
4) (minor) remove the site container and move the gml:Point such that it
becomes a child of DDNode

To manage notifications about this bug go to:
https://bugs.launchpad.net/openquake/+bug/1100371/+subscriptions
Reply all
Reply to author
Forward
0 new messages