Improve the validation of IMTs

Bug #1369555 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

The tricky case is when the IMTs are read from the risk models. One must treat correctly the duplicates. Moreover there is an issue when computing the GMFs with correlation: only PGA and SA are supported. This should be checked before starting the computation.

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

For instance in oq-lite there is still a problem if inside `intensity_measure_types_and_levels` you type "SA(0.750)", because later on the IMT will be referred as "SA(0.75)"

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

One must make sure that all IMTs are supported by all GSIMs. If not, an error must be raised in the pre_execute phase. The user is then expected to remove the unsupported IMTs (typically in the vulnerability model files), or to replace them with supported IMTs. Or, she can change the GSIMs.

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