mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2003 Observed Data : Adjust minimum required headers based on presence of units and scaling
This commit is contained in:
@@ -613,6 +613,16 @@ std::vector<std::string> RifEclipseUserDataParserTools::findValidHeaderLines(std
|
||||
}
|
||||
}
|
||||
|
||||
if (isUnitText(line))
|
||||
{
|
||||
minimunRequiredExtraHeaderLines += 1;
|
||||
}
|
||||
|
||||
if (isScalingText(line))
|
||||
{
|
||||
minimunRequiredExtraHeaderLines += 1;
|
||||
}
|
||||
|
||||
if (columnCount == 0)
|
||||
{
|
||||
// Fist line with valid header data defines the number of columns
|
||||
|
||||
Reference in New Issue
Block a user