Commit Graph

60 Commits

Author SHA1 Message Date
Markus Blatt
87b501f7b0 Fixed spelling eror in compareECL 2022-11-01 23:32:24 +01:00
Markus Blatt
1ab30d9182 Fix typos: spesific -> specific 2022-11-01 23:32:24 +01:00
Torbjørn Skille
cc6769c1a2 adding new file type RSM to compareECL
When using -t SMRY  the RSM file is not checked
When using -t RSM   the SMRY files is not checked

when running without -t option both RSM and SMRY files are checked together with restart, grid, init and rft file.
2022-10-04 08:51:36 +02:00
Torbjørn Skille
16af572080 additional output from compareECL related to rsm files 2022-10-03 19:16:41 +02:00
Arne Morten Kvarving
068bff1ebc clean up stream includes 2022-07-27 16:05:01 +02:00
Markus Blatt
7d66ff7c12 Spelling fixes (valied -> valid). 2022-04-27 14:08:53 +02:00
Torbjørn Skille
9255a7831c update list of blacklisted keywords 2021-12-21 10:47:12 +01:00
Torbjørn Skille
d94b809814 fixing -x option for compareECL program 2021-12-21 09:24:33 +01:00
Atgeirr Flø Rasmussen
1a0c81fbd4 Add missing include, and copyright header. 2021-12-13 09:40:50 +01:00
Bård Skaflestad
23de8a630b
Merge pull request #2883 from tskille/smry_updates
updates of ESmry and ExtESmry
2021-12-06 10:56:49 +01:00
Torbjørn Skille
5306fb1db8 updates of ESmry and ExtESmry
* add function for returning root name
 * add function for returning io (opening and loading)
 * rename member function LoadData() to loadData()
2021-12-04 09:59:58 +01:00
Torbjørn Skille
ed6bb4161d add program arraylist 2021-12-04 08:41:16 +01:00
Arne Morten Kvarving
6465cfe1ea changed: drop gcc7 compatibility
this means getting rid of the Opm::filesystem namespace
and directly using std::filesystem, as well as dropping
some of the compat code for the tr filesystem.

we still need the FileSystem.hpp/cpp files though as unique_path
is not part of std::filesystem.
2021-11-01 12:36:42 +01:00
Joakim Hove
fcca036af4 Remove context aware rst testing from regression tester 2021-09-04 19:51:10 +02:00
Torbjørn Skille
c6ff9bba00 cleanup after renaming from LODSMRY -> ESMRY 2021-08-16 09:10:00 +02:00
Bård Skaflestad
c32aa48b32 Reimplement RstState::load In Terms of RestartFileView
This is in preparation of unconditionally loading analytic aquifer
information from the restart file.  Update callers to new API.
2021-06-25 09:20:55 +02:00
Joakim Hove
e561e3fb43 Update restart output from EclRegressionTest 2021-06-17 08:46:51 +02:00
Torbjørn Skille
a8461fd121 Updating class ERst
- rename member function from getRst -> getRestartData
 - adding support for parsing and reading data for LGRs
 - a number of member functions made const
 - updated python bindings for this class
2020-12-01 23:06:44 +01:00
Bård Skaflestad
c76878520a Load Well's Preferred Phase from Restart File 2020-11-19 17:28:40 +01:00
Torbjørn Skille
9fa90b2687 Update of EclIO classes.
- Enables reading of output files generated by simulator IX
 - Adding support for EclFile data type C0nn (string with length > 8 characters)
 - Update of program summary, now supporting well names with more that 8 characters
 - Updates of program convertECL, possible to write output files with IX "format"
 - updates of python bindings (EclOutput and EclFile)
2020-11-10 22:02:38 +01:00
Joakim Hove
7b8590f7ee Remove extra printf 2020-11-02 16:37:56 +01:00
Joakim Hove
206243c78d Compare string and integere members from well using RestartIO data 2020-10-12 10:11:07 +02:00
Kai Bao
405e3e1add attempting to adding segment summary keywords for regression test 2020-06-10 10:39:45 +02:00
Torbjørn Skille
c430eeb374 Adding support for LODSMRY file
> implemented for unified and multiple, and for formatted and binary summary files
 > avaliable/used only when loadBaserun is false (default)
2020-05-14 07:39:23 +02:00
Torbjørn Skille
43f1739dfa improved efficiency when opening summary files.
> loading only arrays that is used (DIMENS, RESTART, KEYWORDS, NUMS and UNITS)
 > smspec file now only loading arrays once (twice before)
2020-04-26 18:24:01 +02:00
Arne Morten Kvarving
751a1c28fa fixed: do not use integer abs 2020-04-26 12:32:27 +02:00
Torbjørn Skille
54087e3bd8 Effective LOD for ESmry 2020-04-19 20:59:38 +02:00
Kai Bao
8e4d4827a2 adding the test for new segment summary keywords 2020-04-17 00:38:21 +02:00
Torbjørn Skille
e5583b738f Updates of ESmry
- new overload function for keywordList, list keys based on pattern (string argument)
 - summary program wild card elements (keys including * or ?)
 - python bindings to new member function
2020-04-10 10:10:58 +02:00
Joakim Hove
cee75dcaac Add basic regression testing of RSM file 2020-04-05 17:32:07 +02:00
Atgeirr Flø Rasmussen
2d52268bf8 Fix type mismatch error for EclEntry. 2020-03-24 08:05:34 +01:00
Torbjørn Skille
d258ce5a57 Updates of C++ class ERft to be used with python bindings
-> Support for extracting data based on report index
  -> adding extra float (time) to RftReportList
2020-03-23 10:57:49 +01:00
Torbjørn Skille
e3ae38feb9 Adding support for large arrays using X231 format extension
- EclIO classes have been updated to support arrays with size beyond numeric limits for integers
- Output of arrays having 2^31 or more elements is facilitated by using a pair of headers
- The first header is of type X231, second should have the actual type
- The large array format extension is documented in the Eclipse File format manual
2020-03-16 18:58:25 +01:00
Torbjørn Skille
bfca7c9fe8 Disable checking of DOUBHEAD[1] with compareECL 2020-02-07 12:53:45 +01:00
Joakim Hove
26644b1e9f Temporary: allow keyword reordering errors INIT file regression test 2019-12-16 12:11:06 +01:00
Joakim Hove
d990932d0c Special case reordering of keywords in the INIT file regression test 2019-12-05 14:25:14 +01:00
Joakim Hove
26773359a4 compareECL: Set throwOnError to false together with analysis=true 2019-12-05 14:25:14 +01:00
Joakim Hove
c309c6a7e6
Merge pull request #1226 from blattms/fix-type-more-info-compareECL
Fixed typos and included more info into compareECL's exceptions
2019-11-15 11:41:11 +01:00
Markus Blatt
6761f3dc57 Fixed typos and included more info into compareECL's exceptions 2019-11-15 10:20:33 +01:00
Atgeirr Flø Rasmussen
87a0e0e402 Fix abs() ambiguity, add copyright headers. 2019-11-14 13:09:35 +01:00
Torbjørn Skille
59e0c39558 New program summary based on OPM I/O classes 2019-11-12 13:27:26 +01:00
Torbjørn Skille
c6f8a41c43 updates of ERst api, supports multiple occurrences of array names 2019-11-05 15:01:17 +01:00
Torbjørn Skille
7b2a7aa419 Changed EGrid API, function getCellCorners. Changed from std::vector<double> to std::array<double,8> 2019-09-28 17:46:04 +02:00
Torbjørn Skille
8664ce4af7 convertECL update, fixed bug with file extensions when converting from formatted to binary 2019-09-16 15:02:21 +02:00
Arne Morten Kvarving
c0c6f35099 fixed: use of iterator after erase 2019-09-03 12:33:11 +02:00
Joakim Hove
f898d33e65
Merge pull request #876 from tskille/compareECL2
Update of compareECL - check output files for reference case
2019-08-14 16:31:16 +02:00
Torbjørn Skille
d51c31634a Updated with vector of backlisted keywords. These keywords will not be checked.
This list contains only summary vector TCPU.

keywordsBlackList will work on all file types (INIT, UNRST, RFT and SMSPEC/UNSMRY)

wildcards (*) not supported
2019-08-14 12:25:38 +02:00
Torbjørn Skille
a23c87be94 convertECL, new option for unified restart file 2019-07-19 10:39:12 +02:00
Arne Morten Kvarving
c87acf6571 fixed: remove unused variable and limit scope for another 2019-07-10 15:10:29 +02:00
Arne Morten Kvarving
c720dfe8a8 fixed: move string to avoid copy 2019-07-10 15:10:18 +02:00