mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1982 RFT plot. Support for TVDMSL when showing well log file curve
This commit is contained in:
@@ -115,6 +115,10 @@ bool RigWellLogFile::open(const QString& fileName, QString* errorMessage)
|
||||
{
|
||||
m_depthLogName = logName;
|
||||
}
|
||||
else if (logName.toUpper() == "TVDMSL")
|
||||
{
|
||||
m_tvdMslLogName = logName;
|
||||
}
|
||||
}
|
||||
|
||||
m_wellLogChannelNames = wellLogNames;
|
||||
@@ -172,6 +176,14 @@ std::vector<double> RigWellLogFile::depthValues() const
|
||||
return values(m_depthLogName);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RigWellLogFile::tvdMslValues() const
|
||||
{
|
||||
return values(m_tvdMslLogName);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -339,6 +351,14 @@ bool RigWellLogFile::exportToLasFile(const RimWellLogCurve* curve, const QString
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RigWellLogFile::hasTvdChannel() const
|
||||
{
|
||||
return !m_tvdMslLogName.isEmpty();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user