#6146 RFT plot: Use MD from Wells for Ensembles.

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2020-09-15 13:21:09 +02:00
1 parent 724131d310
commit 411adfd7e6
1 file changed
+3 -4
@@ -1014,15 +1014,14 @@ bool RimWellLogRftCurve::deriveMeasuredDepthValuesFromWellPath( const std::vecto
RimProject* proj = RimProject::current();
RimWellPath* wellPath = proj->wellPathByName( m_wellName );
std::vector<double> derivedMdValues;
if ( wellPath )
{
const std::vector<double>& mdValuesOfWellPath = wellPath->wellPathGeometry()->measureDepths();
std::vector<double> tvdValuesOfWellPath = wellPath->wellPathGeometry()->trueVerticalDepths();
const std::vector<double>& tvdValuesOfWellPath = wellPath->wellPathGeometry()->trueVerticalDepths();
derivedMdValues =
derivedMDValues =
RigWellPathGeometryTools::interpolateMdFromTvd( mdValuesOfWellPath, tvdValuesOfWellPath, tvDepthValues );
CVF_ASSERT( derivedMdValues.size() == tvDepthValues.size() );
CVF_ASSERT( derivedMDValues.size() == tvDepthValues.size() );
return true;
}
return false;