gem / oq-platform

DEPRECATED. Please refer to https://github.com/gem/oq-platform2
8 stars 3 forks source link

IRV: handle layers with incomplete data #573

Closed ptormene closed 8 years ago

ptormene commented 8 years ago

Fixes https://github.com/gem/oq-platform/issues/571

Tests are green: https://ci.openquake.org/job/zdevel_oq-platform/245/

I've managed to display charts also in case of some missing data, but currently null values are displayed as 0. Instead of that, we should remove lines connected to that missing point or make it more evident to the user that that number is not a zero but a missing value. Median lines are not computed correctly, because the sum is divided by the total number of values, instead of taking into account only non-null values.

ptormene commented 8 years ago

I am replacing this with a new updated PR