Osdu Well Log: cache channel meta data from Osdu.

This commit is contained in:
Kristian Bendiksen
2024-07-10 15:09:05 +02:00
parent 0d845938b6
commit ed7a3e98da
7 changed files with 192 additions and 13 deletions

View File

@@ -20,8 +20,8 @@
#include "RiaFieldHandleTools.h"
#include "RimOsduWellLogChannel.h"
#include "RimTools.h"
#include "RimWellLogChannel.h"
#include "RimWellPath.h"
#include "RimWellPathCollection.h"
#include "RimWellPlotTools.h"
@@ -146,15 +146,6 @@ RigOsduWellLogData* RimOsduWellLog::wellLogData()
void RimOsduWellLog::setWellLogData( RigOsduWellLogData* wellLogData )
{
m_wellLogData = wellLogData;
m_wellLogChannels.deleteChildren();
for ( const QString& wellLogName : wellLogData->wellLogChannelNames() )
{
RimWellLogChannel* wellLog = new RimWellLogChannel();
wellLog->setName( wellLogName );
m_wellLogChannels.push_back( wellLog );
}
}
//--------------------------------------------------------------------------------------------------
@@ -172,3 +163,11 @@ QString RimOsduWellLog::wellLogId() const
{
return m_wellLogId;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimOsduWellLog::addWellLogChannel( RimOsduWellLogChannel* channel )
{
m_wellLogChannels.push_back( channel );
}