gem / oq-irmt-qgis

QGIS plugin to drive the OpenQuake Engine, to develop Social Vulnerability and Integrated Risk composite indices, and to predict building recovery times following an earthquake
https://plugins.qgis.org/plugins/svir/
8 stars 3 forks source link

OpenQuake Data Viewer Labels for Aggregate Losses display incorrectly #810

Open alejocaldeGEM opened 1 year ago

alejocaldeGEM commented 1 year ago

Issue

In the same event_based_risk.zip from this issue, when the user uses the button Aggregate of the Average Asset Losses output, the OpenQuake Data Viewer displays the losses using labels that are not legible. See the following:

error2

Intended Behavior

Previously, the labels would be displayed correctly, letting the user know that the aggregate losses are per realization (in the case of a single event), or total in the case of an event-based calculation. See below:

intended_behavior2

ptormene commented 1 year ago

While in scenario calculations there is a 1-to-1 correspondence between realizations and gsims, in event-based things are a lot more complex. See https://docs.openquake.org/oq-engine/advanced/master/logic_trees.html?highlight=realizations#the-logic-tree-demo We need to discuss what we want to visualize. @micheles and I propose to postpone this after the release.