#10663 WBS Plot: Import well log from CSV file.

Also compute SH_MK_MIN/EXP/MAX and FG_MK_MIN/EXP results.
This commit is contained in:
Kristian Bendiksen committed 2024-01-29 15:05:08 +01:00
1 parent e83b2e92f3
commit a8c719b289
45 files changed
+1361 -259

No files matched your search

@@ -38,7 +38,7 @@
///
//--------------------------------------------------------------------------------------------------
RigWellLogLasFile::RigWellLogLasFile()
: cvf::Object()
: RigWellLogFile()
{
m_wellLogFile = nullptr;
}
@@ -223,42 +223,6 @@ QString RigWellLogLasFile::depthUnitString() const
return unit;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RigWellLogLasFile::wellLogChannelUnitString( const QString& wellLogChannelName, RiaDefines::DepthUnitType displayDepthUnit ) const
{
QString unit;
NRLib::LasWell* lasWell = dynamic_cast<NRLib::LasWell*>( m_wellLogFile );
if ( lasWell )
{
unit = QString::fromStdString( lasWell->unitName( wellLogChannelName.toStdString() ) );
}
if ( unit == depthUnitString() )
{
if ( displayDepthUnit != depthUnit() )
{
if ( displayDepthUnit == RiaDefines::DepthUnitType::UNIT_METER )
{
return "M";
}
else if ( displayDepthUnit == RiaDefines::DepthUnitType::UNIT_FEET )
{
return "FT";
}
else if ( displayDepthUnit == RiaDefines::DepthUnitType::UNIT_NONE )
{
CVF_ASSERT( false );
return "";
}
}
}
return unit;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -297,18 +261,3 @@ double RigWellLogLasFile::getMissingValue() const
{
return m_wellLogFile->GetContMissing();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RiaDefines::DepthUnitType RigWellLogLasFile::depthUnit() const
{
RiaDefines::DepthUnitType unitType = RiaDefines::DepthUnitType::UNIT_METER;
if ( depthUnitString().toUpper() == "F" || depthUnitString().toUpper() == "FT" )
{
unitType = RiaDefines::DepthUnitType::UNIT_FEET;
}
return unitType;
}