mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
#1168, #1171 Added new depth types to RimWellLogPlot, with handling of unit type "none" as well. Made Well Alloc Plots make only "Connection Number" available on its WellLogPlot
This commit is contained in:
@@ -203,6 +203,11 @@ public:
|
||||
{
|
||||
lasFile->AddLog("DEPTH", "FT", "Depth in feet", firstCurveData->measuredDepths());
|
||||
}
|
||||
else if ( firstCurveData->depthUnit() == RimDefines::UNIT_NONE )
|
||||
{
|
||||
CVF_ASSERT(false);
|
||||
lasFile->AddLog("DEPTH", "", "Depth in Connection number", firstCurveData->measuredDepths());
|
||||
}
|
||||
|
||||
if (firstCurveData->tvDepths().size())
|
||||
{
|
||||
@@ -225,6 +230,12 @@ public:
|
||||
{
|
||||
lasFile->AddLog("TVDRKB", "FT", "True vertical depth (Rotary Kelly Bushing)", tvdrkbValues);
|
||||
}
|
||||
else if ( firstCurveData->depthUnit() == RimDefines::UNIT_NONE )
|
||||
{
|
||||
CVF_ASSERT(false);
|
||||
lasFile->AddLog("TVDRKB", "", "", tvdrkbValues);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -243,6 +254,10 @@ public:
|
||||
{
|
||||
lasFile->setDepthUnit("FT");
|
||||
}
|
||||
else if ( firstCurveData->depthUnit() == RimDefines::UNIT_NONE )
|
||||
{
|
||||
CVF_ASSERT(false);
|
||||
}
|
||||
|
||||
double absentValue = SingleLasFileMetaData::createAbsentValue(m_minimumCurveValue);
|
||||
lasFile->SetMissing(absentValue);
|
||||
|
||||
Reference in New Issue
Block a user