Commit Graph
1775 Commits
Author SHA1 Message Date
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 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 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 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
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
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 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
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
Kristian Bendiksen 752d4efc42 Update error handling in Rimc* classes. 2025-05-12 17:31:48 +02:00
Magne Sjaastad 5126face72 Rename to summaryEnsembles() 2025-05-12 13:04:10 +02:00
Magne Sjaastad 76b3b3009d Get caf::FilePath for writable PdmFields 2025-05-12 13:04:10 +02:00
Magne 724d9a1864 Janitor fixes detected by clang-19 2025-05-09 15:54:28 +02:00
Magne Sjaastad fc79395ddd #12472 Fix flaky calculation of contour map top value 2025-05-09 08:22:55 +02:00
Magne Sjaastad 7714d727fc #12470 Use value range slider instead of independent min and max value sliders
Make sure minimum value is always less than max and max value is always larger than min.
2025-05-08 12:47:06 +02:00
Magne Sjaastad 9b613ba4f0 Create a menu for each ensemble in the plot
Create a QVariant using caf::PdmPointer, and send this variant to the feature. The feature converts the QVariant to an ensemble curve set.

Make sure the right-click menu in the summary plot shows the Create from filtered cases independent to the selection in project tree.
2025-05-08 07:27:42 +02:00
Magne Sjaastad a93d717e1c #12455 Date format string and precision
Use date format string from preferences when date is displayed. Use default number of decimals.
2025-05-08 07:27:42 +02:00
Magne Sjaastad ad83985e62 #12457 Move management of time axis annotations
Use RimTimeAxisAnnotationUpdater for management of annotation objects.
2025-05-08 07:27:42 +02:00
Magne Sjaastad 975bd32bac Show time selection in curve filter object 2025-05-08 07:27:42 +02:00
Magne Sjaastad 4617fb8015 Make sure the time fields are added only once 2025-05-08 07:27:42 +02:00
Magne Sjaastad 01e0258b2a #12448 Recompute statistical curves in RFT plots on replace 2025-05-08 07:22:33 +02:00
Kristian Bendiksen e5dc280ce0 Add python api for creating corner point grid. 2025-05-07 12:07:31 +02:00
Kristian Bendiksen c022ee1550 #12438 Fix crash on incomplete category result.
Fixes #12438.
2025-05-05 17:33:50 +02:00
Magne Sjaastad d4c4760a0f #12419 Avoid assert during load of simulation case
Validate incoming parameters before use
2025-04-30 08:57:30 +02:00
Magne Sjaastad 403c864dd1 #12434 Use subscript for permability unit 2025-04-29 16:29:22 +02:00
magnesj 77c2d624fc Fixes by clang-tidy 2025-04-19 08:26:02 +02:00
Magne Sjaastad 892d7251ee Update to clang-format-18
Update to clang-format-18
Code changes related to clang-format-18
2025-04-11 18:34:32 +02:00
Magne Sjaastad b6b1bf053e Show selected realizations using X-cross symbol 2025-04-11 15:38:52 +02:00
Kristian Bendiksen dd2fdad5dd #12342 Python: Add api for creating polygon
Fixes #12342.
2025-04-10 17:58:59 +02:00
Magne Sjaastad ae8446073b Refactors selection handling for improved code clarity
Modernize the interface to selection system. Create and return data instead of populating incoming parameters.
2025-04-09 07:21:54 +02:00
Magne Sjaastad 03847198b7 Use correct annotation color 2025-04-07 11:05:35 +02:00
Magne Sjaastad fdb5d5605e Adds default property filter on well target creation
Adds a default property filter to the eclipse view when a well target is created. This ensures that cells with undefined values are hidden.

Also generates results on project load, so results are visible on startup.
2025-04-07 09:25:46 +02:00
Magne Sjaastad 1a89d59ebc Sets default for filtered cases to true
Changes the default value for "BasedOnFilteredCases" to true.
2025-04-07 09:25:46 +02:00
Magne Sjaastad e4811fabae Rename objects to "Map Projection"
This will make the Help on these objects search for "Map Projection" instead of the class name.
2025-04-07 09:25:46 +02:00
Magne Sjaastad 5381f142b2 Hide well target mapping from Grid Case Group
Not ready for production use yet
2025-04-07 09:25:46 +02:00
jonjenssen 876e460954 Fixes #12346 2025-04-05 15:22:33 +02:00
Magne Sjaastad 5f0dd58de9 Improves zoom behavior in multi-plots
Refactors zoom handling in multi-plot scenarios to ensure consistent
axis ranges and proper synchronization between subplots, especially
when linking subplot axes.

Removes direct zoom event handling from subplots and centralizes zoom
logic in the multi-plot container.

This ensures that the 'Zoom All' operation correctly adjusts the
Y-axis ranges based on the configured aggregation method and linked
axes settings.
2025-04-04 13:37:53 +02:00
Magne Sjaastad dfd89ae8c0 Rename kH to Kh 2025-04-04 13:37:53 +02:00
Magne Sjaastad ba7b0c62db Make sure the complete summary address is present in column heading
When using Show Plot Data, make sure the complete address text including well name, region ID, etd is used.
2025-04-02 22:16:11 +02:00
Magne Sjaastad e65f7dfd24 When activating linked Y axis, make sure all sub plots are updated 2025-04-02 22:16:11 +02:00
Magne Sjaastad cac7eac056 Always display legends for ensemble curves 2025-04-02 22:16:11 +02:00
Kristian Bendiksen cfcbc03794 #12305 Well Target Mapping: add filter by view
Fixes #12305.
2025-04-02 17:19:57 +02:00
Kristian Bendiksen 712253624a Well Target Mapping: Use horizontal permeability for filtering. 2025-04-02 17:19:57 +02:00