mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5254 Support estimating RKB-diff from TVDMSL and MDRKB when first TVDMSL == 0
* Add warning when the RKB-diff cannot be estimated
This commit is contained in:
@@ -178,8 +178,15 @@ void RicNewWellBoreStabilityPlotFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
if ( !wellPath->wellPathGeometry() )
|
||||
{
|
||||
RiaLogging::warning( QString( "The well path %1 has no geometry. Cannot create a Well Bore Stability Plot" )
|
||||
.arg( wellPath->name() ) );
|
||||
RiaLogging::error( QString( "The well path %1 has no geometry. Cannot create a Well Bore Stability Plot" )
|
||||
.arg( wellPath->name() ) );
|
||||
return;
|
||||
}
|
||||
if ( wellPath->wellPathGeometry()->rkbDiff() == HUGE_VAL )
|
||||
{
|
||||
RiaLogging::error( QString( "The well path %1 has no datum elevation and we cannot estimate TVDRKB. Cannot "
|
||||
"create a Well Bore Stability Plot" )
|
||||
.arg( wellPath->name() ) );
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user