mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
StimPlan Model: Improve error handling on missing pressure and porosity data.
This commit is contained in:
committed by
Magne Sjaastad
parent
92bd783a10
commit
7db9efe387
@@ -161,13 +161,18 @@ bool RimStimPlanModelPressureCalculator::extractValuesForProperty( RiaDefines::C
|
||||
else
|
||||
{
|
||||
// Extract the property we care about
|
||||
RimStimPlanModelWellLogCalculator::extractValuesForProperty( pressureCurveProperty,
|
||||
stimPlanModel,
|
||||
timeStep,
|
||||
values,
|
||||
measuredDepthValues,
|
||||
tvDepthValues,
|
||||
rkbDiff );
|
||||
if ( !RimStimPlanModelWellLogCalculator::extractValuesForProperty( pressureCurveProperty,
|
||||
stimPlanModel,
|
||||
timeStep,
|
||||
values,
|
||||
measuredDepthValues,
|
||||
tvDepthValues,
|
||||
rkbDiff ) )
|
||||
{
|
||||
RiaLogging::error( QString( "Unable to extract pressure values for property: %1" )
|
||||
.arg( caf::AppEnum<RiaDefines::CurveProperty>( curveProperty ).uiText() ) );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if ( targetTvds.size() != tvDepthValues.size() )
|
||||
|
||||
Reference in New Issue
Block a user