Commit Graph

946 Commits

Author SHA1 Message Date
Magne Sjaastad
77bf792b1a Release 2023.06 2023-06-19 13:48:44 +02:00
Kristian Bendiksen
0790973446 Summary observed data
* #9966 Summary calculations: add support for imported vectors.
* #9966 Summary Calculation: add support for imported and observed data.
* Summary Address: avoid extra level in tree for imported data.
* #9966 Update observed data when calculation is updated.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
027fccfe1c Make sure old project files loads as before 2023-03-16 07:16:11 +01:00
Magne Sjaastad
c297c8005f Reintroduce RimGridSummaryCase to be able to read existing project files 2023-03-16 07:16:11 +01:00
Magne Sjaastad
1c14e99832 Improve RFT reader performance
* #9963 Rft reader: Search for DATA file when required
WSEGLINK is used to establish the branch topology for MSW wells. Search and read WSEGLINK data when segment data is requested by the user. This can be a time consuming operation.
Avoid doing this search for standard RFT plots.

* Make sure that single summary curves are displayed correctly
* Make sure single summary curves are visible in the plot
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2a61ebb833 #9956 Summary Plot: Fix update of operations on multiple ensembles
When multiple ensemble curve sets are toggled on/off, it is required to do a full RimSummaryPlot::loadDataAndUpdate() that will call RimEnsembleCurveSet::updateCurves() on all ensembles in the plot. This can be a heavy operation, but will happen only once.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
9e751a1bbe Release adjustments
* Add CON*RAT track for tubing branch
* Set long summary vector name as default, and allow both in curve name
* Use line shift if multiple quantities are present on axis title
Insert line shift if multiple quantities are present, otherwise insert space between individual vector names and the unit text.
* Move Groups between Field and Wells
* Bump version
2023-03-16 07:16:11 +01:00
Magne Sjaastad
beb06932f5 Add reload and delete of pressure/depth data 2023-03-16 07:16:11 +01:00
Magne Sjaastad
1b04d9ea45 Add open in text editor feature 2023-03-16 07:16:11 +01:00
Magne Sjaastad
b6281c364d Adjustments for release
* Show segment plots in Well Log Plot collection
* Improve menu text for operations related to segment plots
* Show reservoir rates for annulus and device
* Make sure curve objects are visible in the Project Tree
* When importing the first summary case, expand case in project tree
* Bump version
2023-03-16 07:16:11 +01:00
jonjenssen
f89803a224 Ui update 2023-03-16 07:16:11 +01:00
jonjenssen
ecffef8db1 Turn off statistics curve legends by default and add option to turn them on, 2023-03-16 07:16:11 +01:00
jonjenssen
bb3053af79 Guard nullptr 2023-03-16 07:16:11 +01:00
Magne Sjaastad
a6da6f64bd Add option for word wrap in label and checkbox
* Add support for word wrap in checkbox label
* QLabelEditor: Add word wrap and support for wide label
Add support for one label widget spanning the area usually consumed by a label widget and an editor widget.
* Use word wrap in summary calculation dialog
2023-03-16 07:16:11 +01:00
Magne Sjaastad
625ed3410c Adjustments for release
* Make sure text for multiple wells in same grid cell is displayed correctly
* Improve selection of result in Advanced Snapshot Export
* Restore the main window that was on top when project was saved
* Trim string to make sure '/' is exported with no space in front
* #9872 RFT-plot: Make colors stable for curves in RFT plots
* Set version to RC_02
2023-03-16 07:16:11 +01:00
Magne Sjaastad
e512f6a5c1 Several RFT plot adjustments
* #9923 Call loadDataAndUpdate() after visibility of curves is updated
This will ensure that all zoom ranges are recalculated based on visible curves.

* #9923 Put new segment plots in RFT Plot collection
* #9923 Add "Create Rft Sement Plot" to RFT plot collection
* #9923 Make sure the main window is displayed when required
Make sure the main window is opened and views updated when a grid model is opened from a summary case.

* #9923 Make sure fieldChanged is triggered when required
Exclude field having the target state. If these fields are included, the one and only call to setValueWithFieldChanged() can contain a field with the target state value. When setting a value to a field with the same value, nothing happens and the UI will get an inconsistent state (some curves toggled off are still visible in a plot).
2023-03-16 07:16:11 +01:00
Magne Sjaastad
eb273aeb5e Improve how wells are connected during import
When importing new wells, consider all wells when connecting multi segment wells
Make sure that import of individual well paths will give the same ordering as importing all wells in a single operation.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
daf30b4ee1 #9879 Add icon for calculated summary vectors 2023-03-16 07:16:11 +01:00
Magne Sjaastad
0f55306d9d Guard null pointer access 2023-03-16 07:16:11 +01:00
Magne Sjaastad
415a119f41 RFT segment plot adjustments (#9912)
* Delete RFT plot when associated case is deleted
* Rename
* Hide track/curves with no data
2023-03-16 07:16:11 +01:00
Magne Sjaastad
e2a5e2e476 #9914 Fix import of single case already present in ensemble 2023-03-16 07:16:11 +01:00
Magne Sjaastad
015890841f Remove special summary case connected to a grid model
* Remove use of RimGridSummaryCase
* Remove unused summary plot filter text
* Delete unused files
2023-03-16 07:16:11 +01:00
Magne Sjaastad
d35147618e Add valve visualization to MSW wells
* Refactor geo generator
* Add valve visualization to segments that are connected to a valve
2023-03-16 07:16:11 +01:00
Magne Sjaastad
a2cd4b0bfb Improved simulation well visualization
* Move members to private in RigWellResultPoint
* Create simulation well path geometry using well topology
* Add separate MSW well pipe centerline computations
* Review comments

---------

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-03-16 07:16:11 +01:00
Jon Jenssen
f085bc90e5 Enable filter when picking is done. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
5315c423f8 Add missing include 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
ef1dfd4a47 Summary calculation data sources fixes
* File Summary Case: set up multiple readers correctly for multithreaded configuration.
* Summary Data Sources: fix sorting of vectors.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
42b901ec28 clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-03-16 07:16:11 +01:00
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
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
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
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
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
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
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
Jon Jenssen
718577e203 Rearrange order of source stepping options 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
Jørgen Herje
043397b378 Change to point to point for Accumulated Flow Volume Percentage 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