Commit Graph
17945 Commits
Author SHA1 Message Date
Jon Jenssen 22b5bc19a3 Build fixes for warnings from gcc 14.2 2025-06-03 15:17:40 +02:00
Magne Sjaastad 88e0aad8cf Several adjustments user interface and project file
* Avoid writing error message if observed data for a well is not present
* Add missing log text during replace summary ensemble
* Make sure plot window is visible after importing summary ensemble
* Add observed FMU folder to path section
* Move worker functions to RiaProjectFileTools
* Reset numbering of path IDs when saving project.
* Remove warning when fault name is longer than 8 characters
2025-06-03 14:29:44 +02:00
Magne Sjaastad 52b000cc57 Do not show progress bar when input dialog is displayed to user 2025-06-03 09:54:21 +02:00
Magne Sjaastad 27556f36ae Make sure std::equal is executed on valid range of vectors
Previous solution did not check for equal length of these vectors, causing out of bounds compare. Detected by debug build using MSVC
2025-06-02 15:29:46 +02:00
Magne Sjaastad afe2434b63 Always write log files to the home folder #12540
- Always log to file using default values. Log to home_folder/.resinsight/logs.  Files are rotated, 5MB per file and maximum of 3 files.
- Add checkbox to system preferences to control file logging
2025-06-02 13:01:55 +02:00
Magne Sjaastad eb284304ff #12542 Make sure case is open before accessing cell data
* Make sure case is open before accessing cell data
* Add Python example to compute average value for a set of cells
2025-06-01 10:45:38 +02:00
Magne Sjaastad 16aa8946f5 GHA: Include compiler name in vcpkg cache prefix
Reduce the cache size by creating key including the compiler name
2025-06-01 08:35:25 +02:00
Magne Sjaastad 45104f4c04 Revert "Use NuGet for vcpkg cache"
This reverts commit d628760339.
2025-05-30 16:24:17 +02:00
Kristian Bendiksen 3df99190d0 #12413 Surface: add "Fly to Object" functionality. 2025-05-30 13:09:58 +02:00
Kristian Bendiksen f26a268ab4 #12375 Fix surface mesh lines. 2025-05-30 13:06:16 +02:00
Magne Sjaastad 5ba4256e8b #12535 Avoid use of caf::PdmPointer in async delete of objects
Remove the use of caf::PdmPointer in RifCalculatedSummaryCurveReader as these objects are only accessed and used only during the lifetime of the owning object.

Move caching of RimProject::current()->calculationCollection() to the constructor instead of the calling site.
2025-05-30 08:41:14 +02:00
Kristian Bendiksen fe9cac4fba #12414 GeoMech: import geomech data from VTK. 2025-05-30 08:38:51 +02:00
Kristian Bendiksen eb27d8a772 Refactor: move common VTK import methods for easier reuse. 2025-05-30 08:38:51 +02:00
Magne Sjaastad e492685070 Optionally show polygon geometry info as text label 2025-05-30 08:20:43 +02:00
Magne Sjaastad 118ecf941a Performance improvements ensemble curves
* Do not create ensemble in initAfterRead
* Check if filter is active before update
* Do not recompute statistics on every loadData
* Removes unnecessary resampling
* MSVC: Add support for dynamic deoptimalization
* Make sure RFT plots are initialized based on curves in project file
* Make sure the progress dialog is always on top
* Add more progress info when loading project file
* Make sure names in RFT plots are updated
2025-05-28 15:10:43 +02:00
Magne Sjaastad 6da41a4c5a Add missing check for null pointer 2025-05-28 14:20:11 +02:00
Kristian Bendiksen 5a2a2bd575 Remove unnecessary check (result always true). 2025-05-28 11:28:00 +02:00
Kristian Bendiksen 201f5e0353 Refactor: improve ImportFileType enum. 2025-05-28 11:28:00 +02:00
Magne Sjaastad 13a793f16c #12461 Add support for import of .irap and .gri
* Add surfio as submodule and create importer with tests
* Update compile fix when mio.h is included in multiple compile units
* Move file tools into RifFileTools
2025-05-28 09:50:45 +02:00
Magne Sjaastad d628760339 Use NuGet for vcpkg cache 2025-05-28 08:03:07 +02:00
dependabot[bot] 0b2622eafe Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-27 11:21:25 +02:00
Magne Sjaastad f2c8d52244 Bump to 2025.04.2-dev.02 v2025.04.2-dev.02 2025-05-26 12:53:32 +02:00
Magne Sjaastad 4e66b521f8 Make sure the ensemble file sets are relocated
Use similar logic as relocation of caf::FilePath. Not possible to reuse code, as RimTools::relocateFile checks if the candidate file is present on the file system.
2025-05-26 11:17:53 +02:00
Magne Sjaastad edc9cec0a4 Add relocatePathPattern
Remove unused code from relocateFile
2025-05-26 11:17:53 +02:00
Magne Sjaastad b95a49e755 Build fix for Qt 6.9 2025-05-26 11:17:53 +02:00
Magne Sjaastad 7ec304e011 Build Python wheels 2025-05-26 06:43:56 +02:00
Magne Sjaastad 7d06f78d54 Use GitHub cache instead of temporary NuGet 2025-05-26 06:42:45 +02:00
Magne Sjaastad 25346e6cfe Move RigSurface classes into Surface folder 2025-05-21 18:09:22 +02:00
jonjenssen 087df7e997 Remove well cells, too, if edfm I limit is detected 2025-05-21 10:40:47 +02:00
Magne Sjaastad e05d81aaab Avoid asserts to be able to open a misconfigured project 2025-05-20 20:49:37 +02:00
Kristian Bendiksen a5ce90083d Corner Point Case: create view only when in GUI mode. 2025-05-20 20:39:07 +02:00
Kristian Bendiksen 8ac3b11402 Corner Point Case: compute bounding box after load. 2025-05-20 20:39:07 +02:00
Kristian Bendiksen 1a55fa11c3 #12459 Add regular surface domain object. 2025-05-20 20:39:07 +02:00
Kristian Bendiksen b9ac1bc0c5 Python: Avoid "Rim" prefix for python objects. 2025-05-20 20:39:07 +02:00
Kristian Bendiksen 25f312e117 Python: use python version from mypy.ini (bumped to 3.11). 2025-05-20 20:39:07 +02:00
jonjenssen 02d13fda82 Add nullptr guards to avoid crash when trying to use well allocation plot with an ensemble 2025-05-20 15:07:27 +02:00
Magne Sjaastad b380af16c6 GHA: Adjust condition for publish to TestPyPi v2025.04.2-dev.01 2025-05-20 10:05:44 +02:00
Magne Sjaastad 8d8a4705a7 Add publish to TestPyPi
Check if there is a tag on dev-branch for the current version. If not, create tag on dev-branch and publish python package to TestPyPi
2025-05-20 09:41:55 +02:00
Magne Sjaastad 7566fdaf48 Add date to about dialog 2025-05-20 09:41:55 +02:00
jonjenssen 7b7878e0af EDFM grid data support 2025-05-19 17:40:39 +02:00
Magne Sjaastad 37041ad0a6 clang-19-tidy and clang-19-format fixes 2025-05-19 14:31:30 +02:00
Magne Sjaastad a693c6a21e Update to clang-tidy-19 and clang-format-19
Use updated cache for vcpkg.
2025-05-19 14:31:30 +02:00
Magne Sjaastad 957adc3c4c Adjustments for ensemble file sets
* Add support for reload of ensemble file set
* Fix Replace for ensemble file sets
* Workaround for update of connected plots
* Use summary icon for ensemble data sources
2025-05-19 12:51:52 +02:00
Kristian Bendiksen 7899736f05 Python ruff fixes
* Python: Clean up imports.
* Python: Clean up error handling example.
* Python: Remove unused local variables
* Python: Avoid comparing against True/False.
* Python: Remove unused name variable.
* Python: Reuse class definition type variable.
* Python: Fix more unused imports
* Black fixes
2025-05-16 15:46:45 +02:00
Magne Sjaastad dc4cd33c6e #12495 Refactors ensemble statistics handling
Removes the dedicated `SUMMARY_ENSEMBLE_STATISTICS` category and instead uses a `statisticsType` field within `RifEclipseSummaryAddress` to represent ensemble statistics.

This change simplifies the code and avoids potential confusion by representing statistics as attributes of existing summary types, rather than a separate category. It also improves code robustness.
2025-05-16 07:53:46 +02:00
Magne Sjaastad 84f9ad0dcd First prototype on ensemble file set summary ensembles 2025-05-15 18:16:27 +02:00
Magne Sjaastad 5e37c58d18 Hide some CMake warnings 2025-05-15 15:59:07 +02:00
Magne Sjaastad a958912378 Update opm-common
* Update opm-common
Include fix for tNavigator summary import
* Build opm-common from source
* Remove binary caching of opm-common
The caching is no longer required as a clean build takes minutes. In a previous version the build time was up to an hour on some systems.
2025-05-14 06:57:25 +02:00
Kristian Bendiksen 752d4efc42 Update error handling in Rimc* classes. 2025-05-12 17:31:48 +02:00
Kristian Bendiksen 135695fcb5 #5556 Refactor python error handling. 2025-05-12 17:31:48 +02:00