Commit Graph

2564 Commits

Author SHA1 Message Date
Magne Sjaastad
533885239d #12075 When activating an item, also select the item 2025-01-19 16:18:45 +01:00
jonjenssen
c13ce39b5e Enable polygons in contourmaps (#12073)
* Enable polygons in ensemble statistics views and allow adding polygons in contour maps
2025-01-16 16:53:05 +01:00
Magne Sjaastad
d37bc104e4 Contour Map: Add optional value filtering
* #12071 Contour Map: Add optional value filtering 
* Move management of min/max values to common base class
2025-01-16 13:52:03 +01:00
jonjenssen
15428304be Change how sampling resolution is specified in statistics contourmap ui 2025-01-16 12:55:05 +01:00
jonjenssen
b999faf293 Statistics Contourmap UI updates (#12060)
* Enable time step selections and controls in view
* Support loading just what we need for statistics contour maps by using custom reader settings
* Close case once done with it unless there are active views.
* Add selection of user interface case (for result selection, display of wells, faults...)
* Avoid int overflow for nested progresses by using double
* Improve auto naming
* Misc. UI improvements
2025-01-14 21:52:54 +01:00
Magne Sjaastad
da69c1f049 Python: Enforce checking on script name to make sure conversion between camelCase and snake_case works correctly
* #12044 Python: Add Non-Darcy properties available in Python

* #12049 Python: Add checking for multiple consecutive upper case letters
The scripting keyword is transformed to snake_case for use in Python. When data in Python is sent back to ResInsight, the opposite operation happens. This concept works well for most variants of keywords, but there are some corner cases that is not working.

Add compile time checking to make sure that the scripting keywords are formatted correctly.

Fix keyword that has been formatted the wrong way and has never worked.

* Avoid running test if ResInsight executable path is not defined in env
* Make sure dash is allowed in enumeration text string
2025-01-10 18:25:46 +01:00
Magne Sjaastad
90a1642326 Minor adjustments related to well target workflow
* For a case with only static geometry, make sure it is possible to create a contour map
* Make sure the grid model is open before accessing data
* Make sure the picked polygon points are located above the grid model
2025-01-08 10:27:13 +01:00
Magne Sjaastad
0800580323 #12037 Quick Access: Fix display of integer category values for filter 2025-01-08 06:59:14 +01:00
Jon Jenssen
8b5448b5f0 Fix broken filters in contour maps 2025-01-08 06:13:34 +01:00
Jon Jenssen
dde369f568 Avoid crash if displacements are missing 2025-01-07 21:11:04 +01:00
Magne Sjaastad
1f7af45c05 #12020 Delay the call to updateConnectedEditors
Make sure the call to updateConnectedEditors happens after other slots have been processed. Also make sure that the call is done only once.
2025-01-06 09:10:46 +01:00
Magne Sjaastad
1251a2750e Replace RiaScheduler with caf:Scheduler
Remove ProgressState
Use caf::SchedulerCallable to communicate state for the progress dialog.
Use std::atomic to ensure thread safety
2025-01-06 09:10:46 +01:00
Magne Sjaastad
207294c446 Add scheduler to AppFwk
Add scheduler to AppFwk
Make it possible to do a delayed call to updateConnectedEditors
2025-01-06 09:10:46 +01:00
Magne Sjaastad
8a55b4cd20 #12021 Compute fault distance for active cells 2025-01-06 07:23:28 +01:00
Magne Sjaastad
46515b107f #12021 Wrong calculation of INDEX_IJK
INDEX_I INDEX_J INDEX_K are result properties computed by ResInsight. When using opm-common, only active cells are defined. In this situation, the computation fails.

Change the implementation to compute these values only for active cells. This will also improve performance and use less memory.
2025-01-06 07:23:28 +01:00
Magne Sjaastad
45c8916d0f Improve user interface
Add icon for well target generator
Improve uiOrdering for RimRegularGridCase
2025-01-02 08:06:50 +01:00
Magne Sjaastad
c4c4078e09 #12017 Add caching of well target result data
Write data to welltargetdata.GRDECL in a subfolder of the project. Import this data when project is load. The data in this cache is owerwritten when the project is saved.
2025-01-02 08:06:50 +01:00
Magne Sjaastad
1cdbffb2c7 Make sure cached data is computed
Without this, the bounding box of the case is undefined, causing the polygons lines not to be visible.
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1d552ea77d Add well target generator cases to RimProject::allCases. 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
d1aec2f1cb #12005 Well Target Candidates: Move ensemble grid under generator in Project Tree 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
ac985ade00 Janitor: select newly created well target candidates generator. 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1abd0afe6e Well Target Candidates: misc improvements.
Improvements:
 * Well Target Candidates: Add filtering by binary result
 * Well Target Candidates: make result grid cell count configurable.
 * Well Target Candidates: Improve ui ordering.
 * Well Target Candidates: compute probability, and simplify vector names.
 * Optimization: Avoid expensive unintended duplication of data
2024-12-20 10:25:15 +01:00
Kristian Bendiksen
30d0b8e115 Grid calculator: add support for grid ensembles. 2024-12-20 10:25:15 +01:00
Magne Sjaastad
7877cdf62d #11994 GeoMech: Allow property filter to be linked to cell result 2024-12-20 07:37:33 +01:00
Magne Sjaastad
0ec9a36406 #11994 Allow property filter to be linked to cell result 2024-12-20 07:37:33 +01:00
Magne Sjaastad
997e14c90e #11993 Improve ensemble search dialog
Use tree view instead of list view. Add filtering based on text match using realization numbers. Clean up user interface. Rename several GUI items.
2024-12-19 14:55:37 +01:00
Kristian Bendiksen
fb90844901 Generate well target candidates statistics for ensembles. 2024-12-18 12:28:20 +01:00
Kristian Bendiksen
4f3b7d2675 Janitor: reduce scope of loop indexes. 2024-12-18 12:28:20 +01:00
jonjenssen
8423b17832 Rel perm plot legend adjustments 2024-12-14 13:15:43 +01:00
Magne Sjaastad
af7addd6b4 Add test for tab as delimiter 2024-12-12 16:24:14 +01:00
Magne Sjaastad
ca4a201c4e #11989 Check indices before accessing two-dimensional vector 2024-12-12 16:24:14 +01:00
Kristian Bendiksen
925403764e Add Statistics Contour Map for eclipse grid ensembles. 2024-12-10 15:28:26 +01:00
jonjenssen
711cb267fd Polygon UI updates (#11975)
* Polygon UI updates
2024-12-06 14:26:30 +01:00
Magne Sjaastad
9da244d253 Add keywords for 2024.12 2024-12-05 11:29:12 +01:00
Magne Sjaastad
996a10f781 Fix curve highlight for non-ensemble curves 2024-12-05 08:18:43 +01:00
Magne Sjaastad
39d19c9826 #11966 Fix visibility control of curve legends 2024-12-04 19:38:15 +01:00
Magne Sjaastad
586aefe0b6 Mark SUMO features with BETA 2024-12-04 18:47:07 +01:00
Magne Sjaastad
b48b58ca14 #11386 Summary plot: TCPU and ELAPSED are cumulative vectors 2024-12-04 18:47:07 +01:00
Magne Sjaastad
1ce2f9651c #11954 Improve the curve merger algorithm
* Add flag to indicate identical X values when curves are merged
* Detect if x values are monotonically increasing
2024-12-03 16:53:11 +01:00
Jon Jenssen
d90dd91e29 Hide grid mesh lines in contour map view 2024-12-03 15:33:53 +01:00
jonjenssen
eee6f36a0e Merge pull request #11952 from OPM/polygon_updates
Polygon command updates
2024-12-03 13:50:55 +01:00
Arne Morten Kvarving
6d4824b204 fixed: build against QT 6.8 2024-12-03 12:40:26 +01:00
jonjenssen
8644ca1ea5 Code fixes 2024-12-02 13:04:10 +01:00
Kristian Bendiksen
bd3ef3f775 #11943 Contour Map: regenerate grid and projection on sampling factor change. 2024-12-02 09:38:52 +01:00
jonjenssen
9ec83836ed Better command support for multi-select of polygons 2024-11-29 23:43:03 +01:00
Magne Sjaastad
041e2f2e13 #11938 Cloud Config: Show the full path to config file for cloud services 2024-11-29 06:28:02 +01:00
jonjenssen
bb19ba75a4 Add support for deleting OSDU and SUMO user token files (#11935)
* Add support for deleting OSDU and SUMO user token files
2024-11-28 19:40:17 +01:00
Jon Jenssen
4975f260ca Support showing both scaled and unscaled curves in relperm plot 2024-11-27 16:31:57 +01:00
Magne Sjaastad
26a30ffa50 Make sure fault geometry always is visible
The check for fault was removed in 4cf6a26083

This causes wrong visualization when a range filter is active and a fault is present along the filter.

There is some performance issues seen when profiling this code, needs more investigation.
2024-11-27 12:29:12 +01:00
Magne Sjaastad
e54c4f3c1e Make sure all scheduled redraws are done
Snapshot image from the regression test
TestCase_Flow was wrong for well allocation plots, the well log part was not updated correctly.
2024-11-27 12:29:12 +01:00