mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5238 Ensemble RFT : Hide P50 from statistics
This commit is contained in:
@@ -549,8 +549,17 @@ void RimWellRftPlot::updateCurvesInPlot( const std::set<RiaRftPltCurveDefinition
|
||||
std::set<RifEclipseRftAddress> rftAddresses =
|
||||
ensemble->rftStatisticsReader()->eclipseRftAddresses( m_wellPathNameOrSimWellName,
|
||||
curveDefToAdd.timeStep() );
|
||||
for ( auto rftAddress : rftAddresses )
|
||||
for ( const auto& rftAddress : rftAddresses )
|
||||
{
|
||||
if ( rftAddress.wellLogChannel() == RifEclipseRftAddress::PRESSURE_P50 )
|
||||
{
|
||||
// Default statistics curves are P10, P50, P90 and mean
|
||||
// It is not common to use P50 for ensemble RFT, so skip display of P50 to avoid confusion with mean
|
||||
// https://github.com/OPM/ResInsight/issues/5238
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( rftAddress.wellLogChannel() != RifEclipseRftAddress::TVD )
|
||||
{
|
||||
auto curve = new RimWellLogRftCurve();
|
||||
|
||||
@@ -35,7 +35,7 @@ RimEnsembleStatistics::RimEnsembleStatistics()
|
||||
{
|
||||
CAF_PDM_InitObject( "Ensemble Curve Filter", ":/EnsembleCurveSet16x16.png", "", "" );
|
||||
|
||||
CAF_PDM_InitField( &m_active, "Active", true, "Show statistics curves", "", "", "" );
|
||||
CAF_PDM_InitField( &m_active, "Active", true, "Show Statistics Curves", "", "", "" );
|
||||
CAF_PDM_InitField( &m_hideEnsembleCurves, "HideEnsembleCurves", false, "Hide Ensemble Curves", "", "", "" );
|
||||
CAF_PDM_InitField( &m_basedOnFilteredCases, "BasedOnFilteredCases", false, "Based on Filtered Cases", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showP10Curve, "ShowP10Curve", true, "P90", "", "", "" ); // Yes, P90
|
||||
|
||||
Reference in New Issue
Block a user