(#541) Using result name as well log channel name when exporting to LAS

This commit is contained in:
Pål Hagen
2015-10-15 14:37:57 +02:00
parent 707ddf15d7
commit f8c725e2b8
6 changed files with 48 additions and 22 deletions

View File

@@ -266,9 +266,12 @@ bool RigWellLogFile::exportToLasFile(const RimWellLogPlotCurve* curve, const QSt
}
}
QString wellLogChannelName = curve->wellLogChannelName();
wellLogChannelName.replace(".", "_");
NRLib::LasWell lasFile;
lasFile.AddLog("DEPTH", "m", "Depth [m]", curveData->yValues());
lasFile.AddLog(curve->name().trimmed().toStdString(), "NO_UNIT", "PARAMETERINFO", wellLogValues);
lasFile.AddLog(wellLogChannelName.toStdString(), "NO_UNIT", "PARAMETERINFO", wellLogValues);
lasFile.SetMissing(absentValue);
std::vector<std::string> commentHeader;