mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5219 Implement support for TVDRKB for well log depth
* Also show air gap in title when TVDRKB is selected and not otherwise
This commit is contained in:
@@ -435,11 +435,21 @@ void RimWellLogRftCurve::onLoadDataAndUpdate( bool updateParentPlot )
|
||||
measuredDepthVector = tvDepthVector;
|
||||
}
|
||||
|
||||
this->setValuesWithTVD( values,
|
||||
measuredDepthVector,
|
||||
tvDepthVector,
|
||||
RiaEclipseUnitTools::depthUnit( unitSystem ),
|
||||
false );
|
||||
RimProject* proj = RiaApplication::instance()->project();
|
||||
RimWellPath* wellPath = proj->wellPathByName( m_wellName );
|
||||
|
||||
double rkbDiff = 0.0;
|
||||
if ( wellPath )
|
||||
{
|
||||
rkbDiff = wellPath->wellPathGeometry()->rkbDiff();
|
||||
}
|
||||
|
||||
this->setValuesWithMdAndTVD( values,
|
||||
measuredDepthVector,
|
||||
tvDepthVector,
|
||||
rkbDiff,
|
||||
RiaEclipseUnitTools::depthUnit( unitSystem ),
|
||||
false );
|
||||
|
||||
RiaDefines::DepthUnitType displayUnit = RiaDefines::UNIT_METER;
|
||||
if ( wellLogPlot )
|
||||
|
||||
Reference in New Issue
Block a user