mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Always report unit for summary vectors
This commit is contained in:
parent
442abfea05
commit
60873e54f4
@ -126,11 +126,8 @@ std::string RifOpmHdf5Summary::unitName( const RifEclipseSummaryAddress& resultA
|
|||||||
auto index = it->second;
|
auto index = it->second;
|
||||||
auto node = m_eSmry->summaryNodeList()[index];
|
auto node = m_eSmry->summaryNodeList()[index];
|
||||||
|
|
||||||
if ( m_eSmry->hasKey( node.keyword ) )
|
auto stringFromFileReader = m_eSmry->get_unit( node );
|
||||||
{
|
return RiaStdStringTools::trimString( stringFromFileReader );
|
||||||
auto stringFromFileReader = m_eSmry->get_unit( node );
|
|
||||||
return RiaStdStringTools::trimString( stringFromFileReader );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -67,7 +67,6 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::unique_ptr<Opm::EclIO::ESmry> m_eSmry;
|
std::unique_ptr<Opm::EclIO::ESmry> m_eSmry;
|
||||||
std::vector<std::string> m_eSmryKeywords;
|
|
||||||
std::map<RifEclipseSummaryAddress, size_t> m_adrToSummaryNodeIndex;
|
std::map<RifEclipseSummaryAddress, size_t> m_adrToSummaryNodeIndex;
|
||||||
std::vector<time_t> m_timeSteps;
|
std::vector<time_t> m_timeSteps;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user