Commit Graph

152 Commits

Author SHA1 Message Date
Kristian Bendiksen
852cd400b8 #10720 Summary Import: support upper/lower case mismatch between filename and extension.
Importing files with different casing in base name and extension would fail when
using libecl summary reader. E.g "norne_atw2013.SMSPEC" would fail since libecl
forces the extension to be lower case even though it is given the actual extension.

Removing the lowercasing allows more flexibility in the file naming.

The problem only occurs when the libecl summary reader is used, the opm-common
can already import these files.

Fixes #10720.
Fixes #10617.
2023-10-20 13:53:00 +02:00
Magne Sjaastad
0d8cf73677 #10493 Avoid crash during import of grid model from IX
The crash situation is caused by an invalid well state. Allowing the import to continue using the invalid well state seems to imported data correctly.
2023-08-11 21:30:27 +02:00
Magne Sjaastad
bce8177033
Delete some unused variables and disable warnings 2023-05-21 15:15:09 +02:00
Magne Sjaastad
c9839fcf93 #10191 Return ECLIPSE_UNDEFINED without crashing 2023-05-01 18:56:51 +02:00
Magne Sjaastad
448e3dfcbc #10191 Read NNC data from INIT file for Intersect files 2023-04-28 11:38:23 +02:00
Magne Sjaastad
1922a02fc3 #9139 Avoid crash for dual porosity case with NNC
libecl supports only import of NNC data for matrix. Disable asserts to avoid crash in file reader. No NNC fracture data is imported.
2023-02-15 13:55:50 +01:00
Magne Sjaastad
af7fe8f00e #9844 Summary Restart: Add more guarding on empty strings
When trying to import a restart case, parsing of the restart path causes crash in some cases. Add more checking on NULL.
2023-02-14 19:11:14 +01:00
Magne Sjaastad
4e51516a96
Import of grid models: Support mix of lower and upper case letters in file name
* #9529 libecl: Allow mix of upper and lower case in file names
2022-12-16 07:00:45 +01:00
Magne Sjaastad
86af2b4dfc
Export Sector Model: Add file path
* Export Sector Model: Add file path
* Avoid abort if a file cannot be opened
* Add missing return
2022-11-28 11:57:00 +01:00
Magne Sjaastad
daa8d7305b #9455 libecl: Fix summary restart absolute path issues
Test for absolute path before other logic during extraction of summary restart file path.
2022-11-10 11:08:30 +01:00
Magne Sjaastad
b1b0fd9d35 libecl: Fix for more data in summary restart path
Allocate 17 words of 8 characters each, add 1 for zero terminated string.
2022-11-09 17:11:21 +01:00
Kristian Bendiksen
29e1a72d76 libecl: Add more special-case MISC vectors 2022-05-31 22:16:24 +02:00
Kristian Bendiksen
e7f27abae7 libecl: add support for network variables 2022-05-31 22:16:24 +02:00
Magne Sjaastad
640c59d682 #7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Magne Sjaastad
e961dce97d #7944 Cell selection: Avoid crash for Pflotran simulation case 2021-09-02 15:55:43 +02:00
Magne Sjaastad
4666c45f66 #7065 WBHP for historic period reported as -99 in some cases
Use 0.0 instead of nan, as this behaves in a better way when computing statistics and visual display of curves.
2021-02-16 14:15:20 +01:00
Magne Sjaastad
1e0e429156 #7065 WBHP for historic period reported as -99 in some cases
Use NaN instead of -99 to indicate no data present
2021-02-16 11:10:17 +01:00
Magne Sjaastad
70dfdd9a41 #6869 Coarse Grid: Make sure empty coarsening cells are handled correctly
Based on fix by Jean-Paul Balabanian <jpb@equinor.com>
2020-11-03 04:34:40 -05:00
Gaute Lindkvist
0354664b8f Get rid of warning of CMake policy CMP0042 by copying in new libecl code 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Magne Sjaastad
dbe782a9a0 LibEcl : Add missing include for latest VS2019 2020-04-18 09:20:40 +02:00
Magne Sjaastad
89c306cb5a #5325 Summary Import : Avoid abort for incomplete summary data 2020-01-10 14:28:46 +01:00
Gaute Lindkvist
285433cbb8 #4927 Blind attempt at improving reliability of smspec import 2019-11-28 08:03:59 +01:00
Magne Sjaastad
157219e63d #5015 libecl : Make sure *.UNSMRY is closed properly after data is read
Earlier attempts to fix this caused major performance issues. Now closing the file stream when reading of vector data is completed, seems to work as expected.
2019-11-08 11:12:06 +01:00
Magne Sjaastad
4c9048cd6a Revert "#5015 libecl : Make sure *.UNSMRY is closed properly after data is read"
This reverts commit f1070cdb82.
2019-11-08 11:05:14 +01:00
Magne Sjaastad
f1070cdb82 #5015 libecl : Make sure *.UNSMRY is closed properly after data is read 2019-11-08 08:58:33 +01:00
Gaute Lindkvist
7e5d358fa1 Simplified code following further review 2019-10-24 14:13:19 +02:00
Gaute Lindkvist
7bbe505d39 #4762 Fix ecl_grid_reset_actnum in the libecl-team suggested way 2019-10-24 14:13:19 +02:00
Gaute Lindkvist
1255c877d7 Revert "#4762 Fix reset_actnum libecl crash on load"
We will check in a different fix on recommendation by libecl team

This reverts commit 047136e8b8.
2019-10-24 14:13:19 +02:00
Gaute Lindkvist
047136e8b8 #4762 Fix reset_actnum libecl crash on load 2019-09-25 17:49:58 +02:00
Magne Sjaastad
936fab3e32 libecl : Improve comment 2019-06-03 09:11:03 +02:00
Magne Sjaastad
dcf33d9289 #4453 Dual Porosity : Use ACTNUM value 3 when creating values from PORV 2019-05-31 14:53:36 +02:00
Magne Sjaastad
2af89b57de #4266 : libecl : Applied patch for geomech 2019-05-09 09:27:36 +02:00
Magne Sjaastad
e8c214a7e9 #4266 : libecl : Applied patch to avoid recompile at each commit 2019-05-09 09:26:31 +02:00
Magne Sjaastad
6f78404f92 #4266 : libecl : Applied patch related to install 2019-05-09 09:25:31 +02:00
Magne Sjaastad
a31d8cbea6 #4266 : libecl : Fix several crash issues 2019-05-09 08:41:06 +02:00
Magne Sjaastad
04091ad77d #4266 Update libecl
Use commit 0e1e780fd6f18ce93119061e36a4fca9711bc020

Excluded multibuild folder, as this caused git issues
2019-05-09 08:40:32 +02:00
Magne Sjaastad
aa72b384f1 #4289 libecl : Apply external ACTNUM instead of combining with file ACTNUM 2019-04-05 11:20:57 +02:00
Magne Sjaastad
738fc8e283 #4268 libecl : Apply patch for handling of null pointer in util_access 2019-04-02 11:20:43 +02:00
Gaute Lindkvist
29e2305c05 #4259 Apply libecl patch for exporting MAPAXES 2019-04-02 08:20:10 +02:00
Magne Sjaastad
684526ef33 #4268 libecl : Guard null pointer access on Windows 2019-04-01 14:43:04 +02:00
Magne Sjaastad
e1d842d3a4 #4211 libecl : Fix for access of data out of bounds 2019-03-22 08:32:23 +01:00
Magne Sjaastad
dfd4539786 #4172 libecl : Guard null pointer access 2019-03-05 21:11:14 +01:00
Magne Sjaastad
b120d0a2c1 #4172 libecl : Return std::string instead of NULL
libecl crashes when NULL is returned from a function returning std::string
2019-03-05 21:10:39 +01:00
Magne Sjaastad
5fd80920c8 Merge remote-tracking branch 'origin/master' into dev 2019-02-04 15:48:36 +01:00
Magne Sjaastad
24628e8ca4 #3937 libecl : Workaround to avoid crash for some summary files 2019-01-31 09:21:10 +01:00
Magne Sjaastad
e0ce64e11c #3937 libecl : Workaround to avoid crash for some summary files 2019-01-31 09:20:19 +01:00
Magne Sjaastad
dfac372a9c #4028 Fix performance issues 2019-01-31 09:13:29 +01:00
Magne Sjaastad
55b215e66b #4028 NNC fix
9d68e3bc60
2019-01-31 09:06:16 +01:00
Magne Sjaastad
a4b9b3db12 #3982 System : Remove debug output and add comment 2019-01-21 21:52:58 +01:00