mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
parent
2f43a64d36
commit
7cf2ed2e8c
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user