#820 Export of TVD along with MD to LAS file

Now the tvd data is always put into the RigWellLogCurveData
Existing tvd data is written to LAS file.
This commit is contained in:
Jacob Støren
2016-09-12 16:43:31 +02:00
parent 382bf84036
commit 2ea167337f
5 changed files with 50 additions and 32 deletions

View File

@@ -279,6 +279,12 @@ bool RigWellLogFile::exportToLasFile(const RimWellLogCurve* curve, const QString
else if (curveData->depthUnit() == RimDefines::UNIT_FEET)
{
lasFile.AddLog("DEPTH", "FT", "Depth in feet", curveData->measuredDepths());
}
if(curveData->tvDepths().size())
{
lasFile.AddLog("TVD", "M", "True vertical depth in meters", curveData->tvDepths());
}
lasFile.AddLog(wellLogChannelName.trimmed().toStdString(), "NO_UNIT", "", wellLogValues);