The ordering of the sources should be fixed

Bug #1352372 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
High
Michele Simionato

Bug Description

At the moment if a user exchange the order of two sources in the model she will get different numbers in the event based calculator, since the seeds will be exchanged. Moreover, optimizations such as filtering the sources in parallel are impossible, since they change the ordering. The solution is to use a fixed order. My proposal is to order by trt_model_id and then, for a given tectonic region type, to order by source_id.

Revision history for this message
Michele Simionato (michele-simionato) wrote :
Changed in oq-engine:
assignee: nobody → Michele Simionato (michele-simionato)
importance: Undecided → High
status: New → In Progress
milestone: none → 1.0.1
Revision history for this message
Michele Simionato (michele-simionato) wrote :
Changed in oq-engine:
status: In Progress → Fix Committed
Changed in oq-engine:
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.