Refactor: add RimWellLogFile interface

This commit is contained in:
Kristian Bendiksen
2023-10-02 16:07:54 +02:00
parent 651235b352
commit 55eeccf7c5
9 changed files with 223 additions and 42 deletions

View File

@@ -54,6 +54,7 @@
#include "RimWellLogCurve.h"
#include "RimWellLogCurveCommonDataSource.h"
#include "RimWellLogFileChannel.h"
#include "RimWellLogFileUtil.h"
#include "RimWellLogLasFile.h"
#include "RimWellLogPlot.h"
#include "RimWellLogPlotCollection.h"
@@ -872,7 +873,7 @@ void RimWellLogExtractionCurve::findAndLoadWbsParametersFromFiles( const RimWell
QString lasUnits;
std::vector<std::pair<double, double>> lasFileValues =
RimWellLogLasFile::findMdAndChannelValuesForWellPath( wellPath, lasAddress, &lasUnits );
RimWellLogFileUtil::findMdAndChannelValuesForWellPath( *wellPath, lasAddress, &lasUnits );
if ( !lasFileValues.empty() )
{
QString extractorUnits = RigGeoMechWellLogExtractor::parameterInputUnits( parameter );