Commit Graph

1094 Commits

Author SHA1 Message Date
jonjenssen
0a807618b9
Cell filter performance improvement (#10550)
* Speed up eclipse and geomech cell filters
2023-08-29 14:41:55 +02:00
Magne Sjaastad
81809efee9 Add support for grid import using opm-common
Add support for import of geometry and results for main grid. Currently no support for LGR.

Add selection in Preferences to either use libecl or opm-common for grid import.

If RESINSIGHT_DEVEL flag is set, display reader in an Eclipse case to make it possible to compare Eclipse and opm-common in same project.

Add more includes to custom-opm-common to be able to support this functionality. opm-common is unchanged.
2023-08-28 13:46:50 +02:00
Magne Sjaastad
3800246b79
Performance: Slow performance for some plot and curve operations
* Performance: Cache registry value
* Performance: Avoid recursive update
Early return if values are identical
updateConnectedEditors is handled by setValueFromUiEditor
Avoid fieldChanged in analyzePlotsAndAdjustAppearanceSettings
2023-08-25 10:39:19 +02:00
Magne Sjaastad
d198dc8537 Summary Plot Manager: Add missing calculateValueOptions
This dialog was designed to be used efficiently from keyboard. By default, all filtered addresses are selected. To select a subset using the text filter, all addresses need to be unchecked before typing a text string in the filter text input.
2023-08-25 10:36:20 +02:00
Magne Sjaastad
58e35bdbec Summary Plot: Compute default y-range based on visible plots
Previously, when the stepping dimension was set to 'well' for range aggregation, it was based on all wells. If one of the wells had extreme values and was not visible, it would set the y-range to match the extreme value, making some curves invisible. We have now changed the default setting to use visible subplots to determine the y-range aggregation.
2023-08-25 10:36:20 +02:00
Kristian Bendiksen
e7c62b1d42 Python: make checkable object scriptable. 2023-08-23 14:53:53 +02:00
Magne Sjaastad
bb293539d5
Additional refactoring for POR-Bar result handling
* Always use element-nodal for POR calculations
* Add RigFemAddressDefines
Add special handling for "POR-Bar" result, always use element_nodal

* 9362 Show unit text "sg" when normalized by hydrostatic pressure
2023-08-23 13:29:54 +02:00
Kristian Bendiksen
7aabe8c4a8 Python: add type hinting to python code.
Types are checked using mypy.

Fixes #10394.
2023-08-23 09:47:44 +02:00
Magne Sjaastad
96b3bef878
Reduce memory use for summary address object
* Use one common variable for object name, use three ints
* Move enums to separate file
* Refactor use of enums
* Move implementation to cpp
* Refactor includes
2023-08-21 07:12:08 +02:00
Magne Sjaastad
533b0805c0 Color legend range: Do not round values if min and max is identical
If min and max is identical, keep the original value. This will ensure that a discrete legend contains only one level.
2023-08-17 07:02:26 +02:00
Magne Sjaastad
56ad4b1888 Surface: Check if cell is active when creating grid surface
The IJK bounding box of active cells was used to create grid surface. This created misleading geometry in some cases. Avoid geometry creation for inactive cells.
2023-08-17 07:02:26 +02:00
jonjenssen
4c1947af11
Automatically create a new seismic view if no 3d views already exists when importing seismic data. (#10510) 2023-08-16 07:10:48 +02:00
Magne Sjaastad
ef2de3e5c6
Support well path geometry for summary RFT data
* Compare well path names when matching sim well names
* 10501 Make it possible to use well path geo when plotting summary RFT data
2023-08-15 13:37:23 +02:00
Magne Sjaastad
0bada502fb 9498 Add parsing of network name
Use merged commit
2023-08-14 11:20:01 +02:00
Magne Sjaastad
07e830eab6 #10495 Add scale factor to the position of well head 2023-08-11 21:30:27 +02:00
Magne Sjaastad
b7e2d2182c Guard null pointer access
When switching between seismic cubes with different sizes, a trace can end up being null
2023-08-11 13:54:03 +02:00
Magne Sjaastad
503180ba48 Do not tag calculator results to be stored in cache 2023-08-11 13:09:30 +02:00
Magne Sjaastad
d36bf92b55
Adjust value ranges using floor and ceil
* Use regression curve icon in grid cross plot
* #10481 Use ceil and floor when adjusting precision for ranges
2023-08-09 07:51:17 +02:00
Magne Sjaastad
20d762fa33 #10475 Support delta computations for generated results
Add support for RiaDefines::ResultCatType::GENERATED in the condition
2023-08-08 08:23:37 +02:00
jonjenssen
2172199999
Add seismic 3d view (#10472)
* Show seismic, surfaces, annotations and wellpaths in new view not requiring a grid loaded first.
2023-08-07 16:35:59 +02:00
Kristian Bendiksen
5bf2c2a89d #10367 Janitor: Remove unneccessary 'this' pointers 2023-08-07 13:38:27 +02:00
Magne Sjaastad
f20a83c710 Add create_statistics_case
Remove original implementation not working in gridcasegroup.py
Add create_statistics_case object method
2023-07-11 09:22:14 +02:00
Magne Sjaastad
91c253f8fe Python support for grid case groups 2023-07-11 09:22:14 +02:00
Magne Sjaastad
8b7144d987
Fix missing curve tracker
* Move some functionality from protected to private
* Attach curve text provider when creating plot widget
* Add missing cleanup in destructor of RimWellLogTrack
2023-07-07 07:53:22 +02:00
Magne Sjaastad
aaecd846fd
Improve plot titles and layout adjustments 2023-07-06 08:40:09 +02:00
Magne Sjaastad
09b8bfdc06
Do not clear generated results during statistics computation 2023-07-04 16:56:02 +02:00
Magne Sjaastad
93c943543b #10426 Summary Data: Show confirm dialog before creating a large number of text lines 2023-07-03 07:30:16 +02:00
Magne Sjaastad
8a41d5a085 #10438 Fix stacking of curves
This was a side effect of changes in 69a668d
The return value when accessing time step values changed from const std::vector<time_t>& to std::vector<time_t>. When computing data related to stacking of curves, the data was inserted into a vector, and the change caused the insert operation to use two different vectors instead of one.
2023-06-29 13:10:42 +02:00
Kristian Bendiksen
c7032c60d2 Grid Cross Plot: Fix sub items on/off behavior. 2023-06-28 21:46:11 +02:00
Kristian Bendiksen
b5d6421f22 #10387 Grid Cross Plot: update plot on color changes
Fixes #10387.
2023-06-28 21:46:11 +02:00
Kristian Bendiksen
fdf4309d82 Grid Cross Plot: Add regression curves. 2023-06-28 21:46:11 +02:00
Magne Sjaastad
59ca0b943c
Add readability-simplify-boolean-expr
* Add readability-simplify-boolean-expr
* Fixes based on review
2023-06-26 13:12:41 +02:00
Magne Sjaastad
aff2e7158f #10415 Producer/Injector connectivity: Make sure all wells are visible by default 2023-06-26 10:17:47 +02:00
Magne Sjaastad
f8fd72c823 #10411 Surface Extraction: Include inactive cells in active cell area 2023-06-26 10:17:47 +02:00
Jørgen Herje
0685078ab3
Fix automatic part id detection for Fault Reactivation Result, and resampling bug in RigWellLogCurveData
* Fix resampling bug and refactor code
- Fix bug for resampling, prevent index increment.
- Refactor functions into static functions.
- Fix issue in interpolateSegment not using correct indices for depthType != resamplingDepthType
- Add unit tests

* Change WellAllocationPlot to use step left
Remove dummy point and utilize step left for WellAllocationPont

* Fix bug in creating resampled values and depths for RigWellLogCurveData

* Fix automatic part detection for Fault Reactivation Result
- Fix incorrect automatic part detection
- Set default distance to intersection to 1.0 [m]
2023-06-20 10:08:10 +02:00
Kristian Bendiksen
dd05380039 StimPlan Model: handle missing default facies in elastic property calculator. 2023-06-19 21:21:25 +02:00
Kristian Bendiksen
3bdb57d637 StimPlan Model: fix crash when model has been deleted. 2023-06-19 21:21:25 +02:00
Magne Sjaastad
56501f7f6d Avoid display of first degree of x 2023-06-16 16:49:40 +02:00
Magne Sjaastad
116f1b1713 Use larger font for expression display 2023-06-16 16:49:40 +02:00
Kristian Bendiksen
6c99ceb7ea Regression Analysis: remove time selection annotation when curve is hidden 2023-06-16 16:49:40 +02:00
Kristian Bendiksen
452969118f Summary Regression Analysis: fix time scale precision problems
Time scale is now converted from seconds since epoch to years since first data
point. This gives better precision in regression analysis.
2023-06-16 16:49:40 +02:00
Kristian Bendiksen
413da2e714 Decline curve: remove time selection annotation when curve is hidden 2023-06-16 16:49:40 +02:00
Magne Sjaastad
06b5c9afbf
Adjustments for release
* Add notification of parent object when multiple objects are updated

* Make sure unchecked curves are removed from track

* Use object names instead of "Sub Items" when possible

* Set default simulation well visualization to top of reservoir

* Show plot window after plot is created

* Allow setting plot rendering flags

* Add more plots for update when clicking in 3D view

* Seismic Difference: Fix typo for poly line data extraction

* Version RC_5
2023-06-16 09:27:35 +02:00
Jørgen Herje
2639c7172f
Fix bug in color mapping when changing mapping mode for Tables
* Fix color mapping and ticks in table legend
- For Summary and WellConnectivity
- Add range types: automatic and user defined
- Remove category from mapping type
- Add closest to zero for correct logarithmic scale
---------

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-06-12 15:44:39 +02:00
Jørgen Herje
1335b4bc09 Use part name in dropdown rather than part id
Use part name rather than part id for readability
2023-06-12 15:23:47 +02:00
Jørgen Herje
66db9d73a9 Add geom part id to name/title of WellLogExtraction curve 2023-06-12 15:23:47 +02:00
Jørgen Herje
ee5f89c343 Make selection of part id into dropdown list for WellLogExtractionCurves 2023-06-12 15:23:47 +02:00
jonjenssen
803b67506a
Add basic support for calculating and showing seismic difference (#10377)
* Add basic support for calculating and showing seismic difference
2023-06-12 11:56:48 +02:00
Magne Sjaastad
91762aaeb1
RC3 adjustments
* Update icons for summary and ensemble templates

* Icons for regression and decline

* #10374 LineEditor: Hide the placeholder widget when not used

* #10376 Assign a case ID to delta summary case

* Do not show decline range text in plot
2023-06-10 16:30:34 +02:00
Magne Sjaastad
9a6e37a2f9
Adjustments for release
* #9681 Disable auto plot title check box when typing a custom name
The Auto Plot Title check box is not possible to click on using the mouse. A useful workaround is to disable the check box when the user enter a custom name in the name field.

* #10361 Make sure all objects change color when selecting curve color
Add support for direct change of all selected curve objects when changing color

* Use title as first field in group to avoid Qt checkbox not reacting to mouse click

* #9681 Disable auto name when name is changed in sub plot

* #10344 Surfaces: Add option to exclude inactive cells

* #10369 Use one color for bars in tornado plot

* Update license info
2023-06-09 14:09:08 +02:00