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
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
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
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
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
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
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
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
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
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
1da509166a
Improve CmdFeature base class
...
Add default implementation of isEnabled() and add const
2023-06-26 14:28:46 +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
22e9e7aeb0
#10210 Reveal Summary Import: map reveal names to eclipse names.
...
This gives better behavior in summary plot (correct phase colors and better
default axis grouping).
Fixes #10210 .
2023-06-19 21:22:27 +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
Kristian Bendiksen
9fd9e90c61
Well Log Extraction: adjust tolerance to keep more cell edge intersection
...
This keeps more cell edge intersections for thin cells (in z direction).
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