(#541) Exporting well name as part of well info to LAS file

This commit is contained in:
Pål Hagen
2015-10-16 11:15:04 +02:00
parent 7bcbb80691
commit 3ecd6d8da7
6 changed files with 21 additions and 2 deletions

View File

@@ -270,6 +270,7 @@ bool RigWellLogFile::exportToLasFile(const RimWellLogPlotCurve* curve, const QSt
wellLogChannelName.replace(".", "_");
NRLib::LasWell lasFile;
lasFile.addWellInfo(QString("WELL .%1 :").arg(curve->wellName()).toStdString());
lasFile.AddLog("DEPTH", "M", "Depth in meters", curveData->measuredDepths());
lasFile.AddLog(wellLogChannelName.toStdString(), "NO_UNIT", "", wellLogValues);
lasFile.SetMissing(absentValue);