mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#541) Using result name as well log channel name when exporting to LAS
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user