Commit Graph
1621 Commits
Author SHA1 Message Date
jonjenssen 2bcdc62931 Enable value filter in statistics contourmap (#12078)
* Enable value filtering in stat contourmap and fix map redraw logic
* Make switching case in contourmap  work
2025-01-21 11:40:37 +01:00
Magne Sjaastad a184af264b Add features to create polygons from visible contour map geometry 2025-01-19 16:19:55 +01:00
Magne Sjaastad 510a0f8b37 Assign color to new polygon 2025-01-19 16:19:55 +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
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 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 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 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 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
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
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 24fc63ab6d VFP: Make sure table number is included for INJ plots 2024-11-27 12:29:12 +01:00
Magne Sjaastad ddefd39fc2 Python: Make more well completion parameters available
Add access to all MSW parameters in Python : "msw_settings = well_path.msw_settings()"
Make all parameters of the well completion object available in Python.
2024-11-25 09:38:23 +01:00
Magne Sjaastad 6894149f8e #11859 Summary Plot: Missing legend curve name for Excel data
Remove virtual from RimPlotCurve::setTitle()
Set curve name for an Ascii curve to custom
Make the curve title obsolete
2024-11-25 07:18:44 +01:00
Magne Sjaastad db20065e1e #11896 Make sure the Fractures folder in view is visible when required
The Fractures folder in a 3D view becomes visible when the first fracture is added. Make sure that the Project Tree is recreated correctly.
2024-11-21 14:46:39 +01:00
Magne Sjaastad 3cc2958384 Summary Table: Add user option to set time range on x-axis
* Make sure all evenly distributed labels are drawn
* Add start and end data
2024-11-21 14:38:59 +01:00
jonjenssen f716b4e964 Support multiple timesteps per day using opm_common reader (#11908)
* Fix progress window hiding time step filter dlg
* Clean up reader preferences
2024-11-21 12:42:13 +01:00
Magne Sjaastad 065528ffba #11909 Add null pointer guards when detecting unit system 2024-11-21 12:01:46 +01:00
Kristian Bendiksen 8da0690096 Refactor: Decouple RivContourMapProjectionPartMgr and RimContourMapProjection 2024-11-20 14:52:27 +01:00
Kristian Bendiksen eb6467c599 Refactor: remove pass-through methods from Rim to Rig. 2024-11-20 14:52:27 +01:00
Kristian Bendiksen a305464748 Refactor: Split out triangle generation from contour map 2024-11-18 09:12:44 +01:00
Magne Sjaastad 9b6e441386 Make it possible to exclude partial delta curves
Make sure statistics curves are recomputed on flag change

When toggling "Discard Missing or Incomplete Realizations", make sure the statistics is recomputed and the ensemble plots updated.
2024-11-18 07:45:20 +01:00
Magne Sjaastad 664b082c81 Use opm-common to read restart file from summary file
Testing identified performance issues related to reading restart file name from summary files.

Make sure the reading of timesteps is done only when required in new function getFileInfoAndTimeSteps.

Add reading of restart file name using opm-common when opm-common is active. The performance of this reader is much better than resdata.
2024-11-14 19:28:51 +01:00
Kristian Bendiksen 5588f8f0f9 Statistics contour map: Add UI for selection result aggregation type. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen 88ded4f7a0 Refactor: improve names of result aggregation enum options. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen c16bc11c03 Add configurable "relative sample spacing". 2024-11-13 15:36:44 +01:00
Kristian Bendiksen e2940e4eaf Contour Statistics Map: Compute results 2024-11-13 15:36:44 +01:00
Kristian Bendiksen c4dd4865f4 Add StatisticsContourMap pdm object, and menu item. 2024-11-13 15:36:44 +01:00