Commit Graph

1444 Commits

Author SHA1 Message Date
Magne Sjaastad
2bf3a511fe #9671 summary calculations for summary items
* Summary Calculation: use shorter name in title
* Sort summary addresses to group calculated results last.
* Summary Calculation: add option to distribute calculation to other items.
* Add support for summary calculation for RimGridSummaryCase.
* Use short name for calculations in plot titles.
* Update ensembles in Data Sources when calculation is added.
* Summary Calculation: allow drag-and-drop of ensembles
* Summary Plot: fix axis range aggregation for calculated ensemble addresses.

---------

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2023-03-16 07:16:11 +01:00
Kristian Bendiksen
62038c0fc9 Simplify RifSummaryReaderInterface timeSteps. 2023-03-16 07:16:11 +01:00
Jørgen Herje
ed3539a418 Realization in Ensemble RFT-plot hover info + refactoring of point tracker functionality
* Add realization number to mouse over text for Ensemble RFT

* Refactor Curve Info Text Provider functionality

- Refactor provider implementation, to separate RiuWellLogTrack from the point tracker and text provider.
- Move creating of point tracker outside of RiuWellLogTrack.
- Makes it possible to override/write new CurveInfoTextProvider implementation when needed.

* Add guards for nullptr
2023-03-16 07:16:11 +01:00
Jørgen Herje
52b60d8be5 Prevent update of show statistics selection in source stepping
- Refactor code into two functions
- Do not update selection when performing source stepping
2023-03-16 07:16:11 +01:00
Jørgen Herje
808a5f7cbc Add open plot editor to menus
- Add to summary plot node in project tree
- Add to empty space in plot window (mdi area)
2023-03-16 07:16:11 +01:00
Jørgen Herje
e1d7eea5df Fix grouping of properties for date tickmarks 2023-03-16 07:16:11 +01:00
Jørgen Herje
ad43c27550 Add custom tickmark configuration for Summary Plot (#9867)
- Added custom tickmark configuration in time axis properties for `Time Mode = Date` 
- Refactor code to separate handling of time axis properties and regular axis properties in RimSummaryPlot
- Add method for setting major ticks by use of list for RiuPlotWidget interface.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
1654fe8c9c Minor issues related to release
* Add shortcut for Plot Editor, and modify how command features are triggered
Use Ctrl-E to launch the Plot Editor.

* Add optional use of NOECHO and ECHO keywords in GRDECL files
* Add ECHO keywords to sector model export
* Add Help button to Preferences
2023-03-16 07:16:11 +01:00
Kristian Bendiksen
e426d14550 Thermal Fracture: Fix occasional mesh flipping. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
314a62f902 #9859 PLT plot: Fix missing LAS data for regression test 2023-03-16 07:16:11 +01:00
Magne Sjaastad
648d56261e Fix regression test issues
* Fix eternal loop causing the application to hang
* Revert changes related to file well path introduced in 70bb22
* Use some iterations to find representative cells for computation of cell sizes
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5bbee69038 Fix invalid parsing of line with keyword end tag and comment
* Add error text when size differs
* #9845: Remove invalid parsing of data in comment line
The line '/ -- 123 123' was parsed incorrectly, and values 123 123 was added to the list of valid values for the keyword.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
ae3af4ec80 Export Completion: Fix missing segments and connections for LGR grids
* Compute characteristic cell size based on active cells
* Compute cell face normal based on a suitable active cells
Using all cells as basis for face normal is fragile. Some models have highly distorted/twisted cells, but all active cells should be geometrically more stable.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
889382f367 Make sure a plot always is created when "Add Summary Plot" is triggered 2023-03-16 07:16:11 +01:00
Magne Sjaastad
48469f33f6 Janitor issues
* Remove obsolete code
* Fix path modification of a relative folder
Replace start token '.' with file path to the project file to make sure that the path './wells/a-1h.dev' can be imported correctly.
* Add more logging when keywords are missing from import
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c9e5e5aaba Fix broken build 2023-03-16 07:16:11 +01:00
Magne Sjaastad
a0d9eeabfa Avoid throwing exception when opening a file for export 2023-03-16 07:16:11 +01:00
Magne Sjaastad
7652fec895 Always use export folder if defined
Rename to m_customFileNameIncludingPath, and split into folder and file name for export object
2023-03-16 07:16:11 +01:00
Magne Sjaastad
bb9ec50e18 #9833: Add extra check based on value/cells count
Some models do not have the dual porosity flag set correctly. Add additional check to set the dual porosity flag if the number of active cells is the double of main grid cell count.
2023-03-16 07:16:11 +01:00
Jørgen Herje
07d1a3c669 Improve Grid Statistics Plot UI (#9831)
- Set default frequency enum to relative frequency [%]
- Set current view selected in filter by 3D view visibility by default
- Add labels for statistics data
- Add UI to change number of bins in histogram
- Add control of font size of axis values and axis titles
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2f6b2e57f5 Add support for radial grids
* Update radial grid operations in submodule
* Optionally display cell center and cell corners when clicking on cell
* Add support for import of radial grids
* Modify node coordinates to match host cell
2023-03-16 07:16:11 +01:00
Jon Jenssen
09c0bc756e Add tooltip to timestep slider 2023-03-16 07:16:11 +01:00
Jon Jenssen
e7c81929d2 Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too. 2023-03-16 07:16:11 +01:00
Jørgen Herje
1d1b90e4ae Adjustment of creating depth adjusted LAS files
* Make source well LAS files selectable in combobox
Detect all las files for source well and make selectable in combobox

* Add source well info to file name and as comment in file
Add info of source well in file name and as comment in LAS file for created depth adjusted las files
2023-03-16 07:16:11 +01:00
jonjenssen
c61d492a2b Create a new, empty summaryplot from empty MDI area (#9823)
* Enable context menu in empty MDI area to create a new, empty summaryplot
2023-03-16 07:16:11 +01:00
Jon Jenssen
718577e203 Rearrange order of source stepping options 2023-03-16 07:16:11 +01:00
Jon Jenssen
bf8502d09c Remove progress things that causes hang in data loading when omp is used. No need for progress feedback in here anyways. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
8c91d81854 Well measurement improvements
* Update 3D view and plot when measurement data is added
* #8625 Make visibility of measurement follow well path visibility
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c4993b6869 GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability.
- Improve use of clang-format and include source code changes
2023-03-16 07:16:11 +01:00
jonjenssen
63bc352a2b Add scaling factor 50 2023-03-16 07:16:11 +01:00
Jørgen Herje
d2369b7bb5 Fix active cell not resetting when clicking on cells (#9804)
- Refactor PlotShapeItems highlighting in QwtPlotWdiget - s.t. highlighting is not dependent on plotDefinition RimPlot object and its isCurveHighlightSupported flag.
- Remove plot definition assert and utilize guards to allow nullptr/undefined plotDefinition
2023-03-16 07:16:11 +01:00
Jørgen Herje
043397b378 Change to point to point for Accumulated Flow Volume Percentage 2023-03-16 07:16:11 +01:00
Magne Sjaastad
2615b16bae Use ads forward declares in RiuMainWindowBase 2023-03-16 07:16:11 +01:00
Magne Sjaastad
cc722c1cfd #9147 Fix wrong curve name for summary group curves 2023-03-16 07:16:11 +01:00
Magne Sjaastad
38a093456f #9780: Compare axis unit text case insensitive 2023-03-16 07:16:11 +01:00
Magne Sjaastad
79820edcc8 #9771: Guard nullpointer access 2023-03-16 07:16:11 +01:00
jonjenssen
0c70a92f16 Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5118ed36e5 Remove unused variable 2023-03-16 07:16:11 +01:00
Magne Sjaastad
66c0797378 Use <=> operator for RifEclipseSummaryAddress
* Use spaceship operator for RifEclipseSummaryAddress
* Set gcc-10 as compiler for Ubuntu 20.04
* Reorder declaration of members to get wanted sorting
2023-03-16 07:16:11 +01:00
Magne Sjaastad
b8eb00b7e4 Improve RftPlt data source objects (#9769)
Move AppEnum init to RifDataSourceForRftPlt
Simplify constructors for RifDataSourceForRftPlt
Rename enum names in RifDataSourceForRftPlt::SourceType
Add missing pressureDepthData in RimDataSourceForRftPlt
2023-03-16 07:16:11 +01:00
jonjenssen
8df866f4f9 Show element ID, not element Index in mohrs plot legend 2023-03-16 07:16:11 +01:00
jonjenssen
9a51842dd3 Remove FAULTMOB result fra ST 2023-03-16 07:16:11 +01:00
Bård Skaflestad
5826c97f84 Look Up Time Step Object Exactly Once
Using .contains() followed by .at() with the same argument will
perform the same map lookup twice.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
93fe8d7a85 RFT improvements
* Avoid accessing nullptr
* remove unused function
* Allow RFT data from single summary case to be used in RFT plots
* #9736 Support horizontal plotting of LAS curves
2023-03-16 07:16:11 +01:00
Jørgen Herje
4159e599f3 Invert default isCurveHighlightSupported flag for RimPlot
- Make default flag = false, thus highlighting must be activated
- To prevent unwanted logic for new RimPlot objects
- Activate highlighting for RimSummaryPlot, RimVfpPlot and RimCorrelationMatrixPlot
2023-03-16 07:16:11 +01:00
Jørgen Herje
02b1c971e8 Fix bug in QwtPlotWidget highlight reset
QwtPlotShapeItem objects were not reset
2023-03-16 07:16:11 +01:00
Jon Jenssen
057bb73a27 Fix broken test 2023-03-16 07:16:11 +01:00
Jørgen Herje
6f34a730a0 Well Allocation over time adjustements (#9738)
- Add font size settings
- Move legend to right side of plot
- Set default selected time steps to time step count = 10
- When excluding time steps, duplicates rates from next valid time step onto excluded time steps
- Allow time step selection "Show all time steps" or "Time step count" for subset of time steps
- Allow excluding on the active set, i.e. all or subset, of time steps
2023-03-16 07:16:11 +01:00
Jon Jenssen
0fcbf0f821 Fix missing Pazi/Pinc 2023-03-16 07:16:11 +01:00
Jon Jenssen
c70ad2f9a8 Fix geomech reload issues 2023-03-16 07:16:11 +01:00