(#489) Handling both "F" and "FT" as unit names for foot

Converting to meter if depth unit is "F" or "FT". Can be both, according
to comments in NRLib code.
This commit is contained in:
Pål Hagen 2015-09-24 11:14:34 +02:00
parent c78fdffeaf
commit d7a1094893

View File

@ -164,7 +164,7 @@ std::vector<double> RigWellLogFile::values(const QString& name) const
if (m_wellLogFile->HasContLog(name.toStdString()))
{
if (name == m_depthLogName && depthUnit().toUpper() == "FT")
if (name == m_depthLogName && depthUnit().toUpper() == "F" || depthUnit().toUpper() == "FT")
{
std::vector<double> footValues = m_wellLogFile->GetContLog(name.toStdString());