Improves summary import for ensemble workflows

- Introducing a configuration system to automatically detect file patterns for restart and parameter files across ensemble realizations.
- Adding UI elements to control improved summary import settings.
- Modifying summary file reader to use the determined file patterns.
This commit is contained in:
Magne Sjaastad committed 2025-07-23 15:58:56 +02:00
1 parent f9f9b6b07b
commit b4e99e9a3a
25 files changed
+810 -313

No files matched your search

@@ -4,6 +4,7 @@
#include "RifCaseRealizationParametersReader.h"
#include "RifFileParseTools.h"
#include "RifOpmSummaryTools.h"
#include <QString>
#include <numeric>
@@ -102,7 +103,7 @@ TEST( RifCaseRealizationParametersReaderTest, FindRealizationNumber )
QString filePath = "d:/gitroot-ceesol/ResInsight-regression-test/ModelData/ensemble_reek_with_params/realization-"
"7/iter-0/eclipse/model/3_R001_REEK-7.SMSPEC";
int realisationNumber = RifCaseRealizationParametersFileLocator::realizationNumberFromFullPath( filePath );
EXPECT_EQ( 7, realisationNumber );
auto realisationNumber = RifOpmSummaryTools::extractRealizationNumber( filePath );
EXPECT_TRUE( realisationNumber.has_value() );
EXPECT_EQ( 7, realisationNumber.value() );
}