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
4b12f82583
Python: require python version >= 3.8.
2023-08-23 09:47:44 +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
b1157436fe
#10523 Export sector model: Support more result categories
...
Allow export of GENERATED and INPUT_PROPERTY in addition to STATIC.
2023-08-21 13:58:58 +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
1b886c1a1e
#9507 Fix normalize by Hydrostatic Pressure for pore pressure
2023-08-18 10:58:45 +02:00
Magne Sjaastad
3030e9f4af
Refined grid export appears to give wrong number of cells
...
* #10503 Refined grid export appears to give wrong number of cells
Make sure size of exported grid is correct
Refactor computation of cell indices
2023-08-18 10:57:12 +02:00
Magne Sjaastad
b0edce4839
Avoid update connected editors
...
The call to updateConnectedEditors is very time consuming for summary models with many vectors. Testing indicates that this update is not required.
2023-08-18 07:02:01 +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
Magne Sjaastad
9434c335b8
Disable precompiled headers due to build errors on github
2023-08-16 16:00:15 +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
002b7af350
#10488 Element property values not shown in geomech view
...
Make sure element results are created only once
Make sure single element results access data for time step 0 and frame 0
2023-08-16 07:09:06 +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
a243311ebb
Remove ESMRY from .gitignore
...
As the content of ESMRY has changed due to file reader changes, ESMRY files needs to be included in the repo
2023-08-15 09:26:22 +02:00
Magne Sjaastad
0bada502fb
9498 Add parsing of network name
...
Use merged commit
2023-08-14 11:20:01 +02:00
Magne Sjaastad
7a6569066c
Update opm-common for summary network names
...
* Use updated opm-common for summary node vectors
* Update use of precompiled opm-common
2023-08-14 11:13:05 +02:00
Magne Sjaastad
aafcd2f9b6
Fix console application issue
2023-08-11 21:30:27 +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
0d8cf73677
#10493 Avoid crash during import of grid model from IX
...
The crash situation is caused by an invalid well state. Allowing the import to continue using the invalid well state seems to imported data correctly.
2023-08-11 21:30:27 +02:00
Magne Sjaastad
beb43c585c
Adjust highlight color only when hue or saturation is above threshold
2023-08-11 13:54:03 +02:00
Magne Sjaastad
267aee9d91
Reorder and simplify resampling tabs for summary data
...
Show year as the left most tab, and minute as the right most tab.
2023-08-11 13:54:03 +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
3dcb81ebfb
Do not create default plot if plot window is hidden
...
When working in the 3D window, creating a MDI window in a hidden plot window causes flickering.
2023-08-11 13:54:03 +02:00
Magne Sjaastad
9677a18bfa
Use copy icon to copy text to clipboard
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
45be0e6d6d
Use precompiled headers to speed up build
...
* Add precompiled headers to Commands, and improve usage
* Use precompiled headers on github action
2023-08-11 12:41:40 +02:00
Magne Sjaastad
5a18442ed1
#10483 Use list editor for proxy of vector of string
2023-08-09 17:09:11 +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
jonjenssen
2614cf3d62
Update docking to latest version ( #10464 )
2023-08-01 17:39:10 +02:00
github-actions[bot]
e4d5871072
Python code linting changes detected by black ( #10455 )
...
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-07-11 09:22:14 +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
f72fcdd868
Use descendants()
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
35e2e43c3a
Fix crash if main window is null
...
When launching a script, the main window must be created. It is the Process Monitor that received info from the process and passes the text to process monitor and Message Panel.
2023-07-07 16:11:35 +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
ad4930db79
Add script used to compute statistics on generated data in Python
2023-07-06 12:58:22 +02:00
Magne Sjaastad
aaecd846fd
Improve plot titles and layout adjustments
2023-07-06 08:40:09 +02:00
Magne Sjaastad
8e777bd987
Bump version
2023-07-05 09:00:53 +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
bd061a5bf4
Limit clang-tidy to main and dev
...
Make it possible to have temporary code violating clang-tidy fixes in work branches
2023-06-30 12:55:03 +02:00
Magne Sjaastad
8f83d25c9d
Publish Python package to pypi when a commit is tagged
...
* Publish to pypi from main workflow
* Remove pinning
* Include version info for proto tool in RiaVersionInfo.py
2023-06-29 14:07:04 +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