#3211 Ensemble statistics. Display warning when time range mismatch

This commit is contained in:
Bjørn Erik Jensen
2018-08-15 10:59:47 +02:00
parent 2ddc3d77df
commit 611cf998ae
5 changed files with 21 additions and 2 deletions

View File

@@ -1005,7 +1005,8 @@ void RimEnsembleCurveSet::updateStatisticsCurves(const std::vector<RimSummaryCas
addresses.push_back(SAddr::ensembleStatisticsAddress(ENSEMBLE_STAT_P50_QUANTITY_NAME, dataAddress.quantityName()));
if (m_statistics->showP90Curve() && m_ensembleStatCase->hasP90Data())
addresses.push_back(SAddr::ensembleStatisticsAddress(ENSEMBLE_STAT_P90_QUANTITY_NAME, dataAddress.quantityName()));
if (m_statistics->showMeanCurve()) addresses.push_back(SAddr::ensembleStatisticsAddress(ENSEMBLE_STAT_MEAN_QUANTITY_NAME, dataAddress.quantityName()));
if (m_statistics->showMeanCurve() && m_ensembleStatCase->hasMeanData())
addresses.push_back(SAddr::ensembleStatisticsAddress(ENSEMBLE_STAT_MEAN_QUANTITY_NAME, dataAddress.quantityName()));
}
deleteStatisticsCurves();
@@ -1166,6 +1167,14 @@ bool RimEnsembleCurveSet::hasP90Data() const
return m_ensembleStatCase->hasP90Data();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RimEnsembleCurveSet::hasMeanData() const
{
return m_ensembleStatCase->hasMeanData();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------