mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
#7488 RFT plot: Estimate MD/TVD for two or more observations
Not possible to estimate MD/TVD relationship for less than two samples
This commit is contained in:
1 parent
2f43a64d36
commit
7cf2ed2e8c
1 file changed
+4
@@ -1047,6 +1047,10 @@ bool RimWellLogRftCurve::deriveMeasuredDepthFromObservedData( const std::vector<
|
||||
|
||||
reader->values( tvdAddress, &tvdValuesOfObservedData );
|
||||
reader->values( mdAddress, &mdValuesOfObservedData );
|
||||
|
||||
// We are not able to estimate MD/TVD relationship for less than two samples
|
||||
if ( tvdValuesOfObservedData.size() < 2 ) return false;
|
||||
|
||||
derivedMDValues = RigWellPathGeometryTools::interpolateMdFromTvd( mdValuesOfObservedData,
|
||||
tvdValuesOfObservedData,
|
||||
tvDepthValues );
|
||||
|
||||
Reference in new issue
Block a user