The GMF exported from the scenario hazard calculator should be grouped for GMF, not for location

Bug #1152172 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake (deprecated)
Fix Released
High
Michele Simionato

Bug Description

The XML should have a form like this:

<nrml xmlns:gml="http://www.opengis.net/gml" xmlns="http://openquake.org/xmlns/nrml/0.4">
  <gmfSet>
    <gmf IMT="PGA">
      <node gmv="0.0754214232865" lon="0.0" lat="0.2"/>
      <node gmv="0.174205566494" lon="0.0" lat="0.1"/>
      <node gmv="0.571052978176" lon="0.0" lat="0.0"/>
    </gmf>
  ...
  <gmfSet>
</nrml>

If the GMF has 10 realizations and 3 sites, there should be 10 blocks, each block containing all the sites. This is consistent
with the exported XML in other hazard calculators. Now instead the XML contains a block for each site, with 10 realizations per site.

Revision history for this message
Michele Simionato (michele-simionato) wrote :

Notice: inside a block the nodes are ordered by gmv, in ascending order.

Revision history for this message
matley (matley) wrote :

is it still valid?

Changed in openquake:
status: New → Fix Committed
status: Fix Committed → Fix Released
milestone: none → 1.0.0
assignee: nobody → Michele Simionato (michele-simionato)
importance: Undecided → High
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.