mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 05:37:10 -06:00
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:
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() );
|
||||
}
|
||||
Reference in new issue
Block a user