#8240 Improve error message when well path is not crossing sea level

This commit is contained in:
Magne Sjaastad 2021-11-09 09:07:19 +01:00
parent e9925ec65a
commit c8df7b4fdf

View File

@ -189,9 +189,11 @@ void RicNewWellBoreStabilityPlotFeature::onActionTriggered( bool isChecked )
}
if ( 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() ) );
RiaLogging::error(
QString( "The well path %1 has no datum elevation and we cannot estimate TVDRKB. Cannot "
"create a Well Bore Stability Plot\nTo solve this issue, please activate the Property Editor, "
"select Well Targets and activate Generate Well Target at Sea Level" )
.arg( wellPath->name() ) );
return;
}