The parameters z1pt0 and z2pt5 are exchanged in the call to hazardlib.site.Site in models.get_site_collection

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

Bug Description

In get_site_collection there is a call

            openquake.hazardlib.site.Site(pt, hc.reference_vs30_value,
                                          measured,
                                          hc.reference_depth_to_2pt5km_per_sec,
                                          hc.reference_depth_to_1pt0km_per_sec)

instead of the correct one

            openquake.hazardlib.site.Site(pt, hc.reference_vs30_value,
                                          measured,
                                          hc.reference_depth_to_1pt0km_per_sec,
                                          hc.reference_depth_to_2pt5km_per_sec)

That means that a lot of QA tests are testing against wrong numbers. This is critical.

Changed in oq-engine:
importance: Undecided → Critical
status: New → In Progress
assignee: nobody → Michele Simionato (michele-simionato)
milestone: none → 1.0.0
summary: The parameters z1pt0 and z2pt5 are exchanged in the call to
- hazardlib.site.Site in general.py
+ hazardlib.site.Site in models.get_site_collection
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.