Commit Graph
2903 Commits
Author SHA1 Message Date
Magne Sjaastad ad365f06f7 Ensure consistent return type syntax 2025-07-23 10:34:27 +02:00
Magne Sjaastad 054001cef4 Selects plot on right-click as well 2025-07-23 10:34:27 +02:00
magnesj 86d60672ab Fixes by clang-format 2025-07-22 14:35:59 +02:00
Magne Sjaastad ef74e781e9 Handles error result addresses for statistics curves
Changes in the summary system has introduced a bug causing two identical results to be displayed, the correct statistical vector and the error. If error is asked for, return no values.
2025-07-22 14:07:06 +02:00
Magne Sjaastad 4e94169b63 Ensures addresses are created for single summary cases
Addresses are now explicitly created for summary cases upon loading or importing.

Remove a potentially costly rebuild if when no calculations are present.
2025-07-21 16:46:54 +02:00
Magne Sjaastad 41c6035ca8 Refactors RFT plot source storage
Store data sources and time steps directly to project file. Previously, this information was derived from existing curves in the plot, an approach that is fragile.

Import of previous file format is still supported.
2025-07-21 16:46:54 +02:00
Magne Sjaastad 4240a199a9 Do not trigger updated of connected plots in onLoadDataAndUpdate
In some cases, this update will happen before data is loaded for an RFT plot, and clears all curves from the plot.
2025-07-21 16:46:54 +02:00
magnesj eac4c7f876 Fixes by clang-tidy 2025-07-21 07:18:08 +02:00
Magne Sjaastad 63fcc8a29f Regression Test: Make sure the grid is opened when reading time steps
No grid case curves was seen for  ProjectFilesSmallTests\TestCase_RFT_PLT\RegressionTest.rsp
2025-07-20 18:39:28 +02:00
Magne Sjaastad 54fdf026f4 Addresses race condition in object creation
Ensures thread-safe initialization of PDM objects when created in parallel.

Avoids a potential race condition during the first instantiation of a PDM object in a multi-threaded environment. This is achieved by creating a dummy object in the main thread to trigger the necessary initialization before parallel creation begins.

Adds a unit test to verify the fix.
2025-07-20 15:44:36 +02:00
Magne Sjaastad 60c5045c76 Refactors address handling in summary collections
Updates address management within summary collections to utilize `RimSummaryAddress` objects directly, enabling streamlined data access and manipulation.

This change optimizes the code by wrapping file reader addresses in `RimSummaryAddress` objects.
It also improves data handling by using parallel processing to speed up address creation.
2025-07-20 08:29:09 +02:00
Magne Sjaastad e50835c77f Improve progress info summary
Use task system to improve the progress info experience. Remove progress info for well picks to reduce number of progress bars.
2025-07-20 08:28:15 +02:00
Magne Sjaastad df09b1d84e Avoid assert when accessing result values 2025-07-18 22:45:03 +02:00
Magne Sjaastad bbffd05bc2 Disables summary address building for ensemble realizations
This is a major performance gain for large ensembles
2025-07-18 08:47:01 +02:00
Magne Sjaastad 7ae5cc40db Improve robustness if no data for keyword 2025-07-18 08:47:01 +02:00
Magne Sjaastad e28ab15859 Refactors building of addresses and introduce keyword count 2025-07-18 08:47:01 +02:00
Magne Sjaastad 66ccc1201e Add flag to control creation of summary addresses 2025-07-18 08:47:01 +02:00
Magne Sjaastad 56d0ba0931 Use std string for improved performance
Avoid regexp and use optimized string operations for better performance
2025-07-17 13:52:35 +02:00
Magne Sjaastad 2305a73908 Improves string trimming and parsing
Refactors string trimming functions for improved performance by using a lookup table for whitespace characters.

Also adds a function to split a string into two tokens at the first whitespace.
2025-07-17 13:52:35 +02:00
Magne Sjaastad efc8735a76 Modernizes summary reader management
Migrates to using `std::unique_ptr` for managing summary readers.

Removes the dependency on `cvf::Collection` and `cvfObject`.
2025-07-16 16:18:09 +02:00
Magne Sjaastad cd43d17e53 Renames RifSummaryReaderMultipleFiles
Renames RifSummaryReaderMultipleFiles to RifSummaryReaderAggregator
to better reflect its purpose of aggregating summary data from multiple files. Also avoid confusion with RifMultipleSummaryReaders
2025-07-16 16:18:09 +02:00
Magne Sjaastad 0d0c8f5505 #12631 Refactors RFT readers to use unique_ptr 2025-07-16 13:10:47 +02:00
Kristian Bendiksen ea0fb1bdd8 #12559 Fix crash when creating new summary cross plot curve.
Fixes #12559.
2025-07-04 18:54:35 +02:00
Kristian Bendiksen 0da6e3ccb5 Histogram: add data source for ensemble fracture statistics histograms. 2025-07-04 16:57:41 +02:00
Kristian Bendiksen 11d85583dd Histogram: Use new plot for "Create Grid Statistics in 3d view". 2025-07-04 16:57:41 +02:00
Kristian Bendiksen d6b79ae328 Histogram: Update grid statistics histogram when filter changes. 2025-07-04 16:57:41 +02:00
Kristian Bendiksen f743394d8b Histogram: provide more reasonable default for data sources. 2025-07-03 08:35:10 +02:00
Kristian Bendiksen 5662b43ec5 Grid Statistics Histogram: make sure reloading project works. 2025-07-03 08:35:10 +02:00
Kristian Bendiksen e095f524c8 Histogram: Use vertical labels. 2025-07-03 08:35:10 +02:00
Kristian Bendiksen 9066dd0011 Histogram: add individual check boxes for P10, Mean, and P90. 2025-07-03 08:35:10 +02:00
Kristian Bendiksen c3e68c1125 Histogram: close sides of first and last bar. 2025-07-03 08:35:10 +02:00
Jon Jenssen 816e1b0980 Add support for custom mpirun path in preferences 2025-07-02 17:16:16 +02:00
Kristian Bendiksen 0f55899ba9 #12462 Well Log Import: add support for RMS well format. 2025-07-01 08:39:18 +02:00
Kristian Bendiksen 065d39d856 #12462 Well Path Import: add support for RMS well format. 2025-07-01 08:39:18 +02:00
Kristian Bendiksen b46e55bc21 Histogram Plot: add P10, mean and P90. 2025-06-30 21:49:29 +02:00
Kristian Bendiksen a878d947e8 Curve Appearance: add transparency slider. 2025-06-26 08:25:34 +02:00
Kristian Bendiksen 26e8282546 Histogram Plot: add time step to summary data source. 2025-06-26 08:25:34 +02:00
Kristian Bendiksen 923a44d75e Add new and more general histogram plots. 2025-06-26 08:25:34 +02:00
Kristian Bendiksen b8dc8c0d14 Grid statistics plot: fix crash when no case or address is selected. 2025-06-26 08:25:34 +02:00
jonjenssen 8dc01f069e Support user defined min/max values for i.e. seismic attribute data 2025-06-25 08:01:08 +02:00
Magne Sjaastad 21bd5730f5 Move warnings as errors config and use in geomech libs 2025-06-17 14:43:47 +02:00
Magne Sjaastad c204593f08 Fix type conversion issues 2025-06-17 14:43:47 +02:00
Magne Sjaastad 309c4af07e #12593 Simplify object methods exposed to Python 2025-06-16 11:05:00 +02:00
Magne Sjaastad b99a213ae7 Add resampling method to RiaCurveMerger
Delete unused parameter
2025-06-16 10:37:34 +02:00
magnesj 59a53952f7 Fixes by clang-tidy 2025-06-16 07:04:41 +02:00
JJ bda598dd37 Run Opm Flow jobs from ResInsight (#12580) 2025-06-11 15:43:53 +02:00
Magne Sjaastad 471cc37536 Make sure all editors are updated when summary ensemble is created 2025-06-05 08:59:57 +02:00
Magne Sjaastad 9f0ce0d498 Fixes to make gcc14 compile 2025-06-05 08:59:28 +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