Commit Graph

1210 Commits

Author SHA1 Message Date
Magne Sjaastad
c6beb3b52d Preferences : Set initial selection when selecting plot templates 2022-08-18 11:59:16 -07:00
jonjenssen
bea90bc841
Make sure errorbars use the same axis as the data curve (#9212)
* Make sure errorbars use the same axis as the data curve
2022-08-18 14:24:28 +02:00
Magne Sjaastad
a1e7b64d92
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
2022-08-18 12:37:51 +02:00
Jon Jenssen
febbdcf7a0 Make sure errorbars are shown on project reload 2022-08-18 12:34:00 +02:00
Magne Sjaastad
c08d145a28 #9210 New Ensemble Curve Set : Missing update in Plots panel 2022-08-18 09:41:19 +02:00
Magne Sjaastad
e7292a1ff3 Renaming of features 2022-08-17 23:59:01 -07:00
Kristian Bendiksen
9d5a4e7939 #9202 Summary Multi Plot: add option for having the legend inside the plot 2022-08-18 08:50:16 +02:00
Kristian Bendiksen
be236cb644 #9202 Well Log Plot: add option for having the legend inside the plot 2022-08-18 08:50:16 +02:00
Magne Sjaastad
c8f642d83a
Add rename case to summary and grid cases (#9204)
* #9203 Summary Case : Add rename to right-click menu
* Janitor: Move ID and description to private fields
* Eclipse Case: Add rename to right-click menu
* Rename feature
2022-08-18 07:12:23 +02:00
Magne Sjaastad
597a3d1f97
Create features to append plots with RFT curves (#9200)
* Add create plot with RFT curve
* Add RFT segment plot with curve
* Create tracks for all three branch types

* Make sure the zero is displayed when adjusted minimum is changing sign
2022-08-17 10:04:10 +02:00
jonjenssen
1507894066 Selecting a well path in 3d view can now update selected well path in well log plots 2022-08-17 10:03:12 +02:00
jonjenssen
7607c19c7a
Make sure toolbar is refreshed when a new plot is added (#9199) 2022-08-17 08:11:30 +02:00
jonjenssen
535d87c9c4 Tiny refactor 2022-08-16 12:43:53 +02:00
Magne Sjaastad
1f2e9babe6
RFT: Support device and annulus branches (#9168)
* Add unit test used to read data from WSEGLINK
* Add segment branch type
* Add detection of device branches
* Add data source stepping on branch type
* parse wseglink data
* add RFT case as child of RimFileSummaryCase
2022-08-16 12:40:25 +02:00
Magne Sjaastad
e6af123094 #9194 Area Fill : Area filled curves should use zero as base line 2022-08-16 11:58:45 +02:00
jonjenssen
0e45a90e1f
Link selection in 3D view with plots (#9195)
* Allow well selections in 3D view to update well selection in summary plots and well log plots
2022-08-15 20:27:49 +02:00
Magne Sjaastad
016216bdb9
Show well completion annotations in horizontal plots (#9193) 2022-08-15 14:55:17 +00:00
Kristian Bendiksen
c16264497d #9117 Summary/Well Log Plot: fix missing update on legend font size change. 2022-08-15 15:09:27 +02:00
Kristian Bendiksen
ffc58fedc8 Multiplot/WLP: fix missing update of title font size 2022-08-15 15:09:27 +02:00
Kristian Bendiksen
413288df0a Well Log Plot: avoid hard-coding depth/value axis 2022-08-15 15:09:27 +02:00
Kristian Bendiksen
b4bca2276f #9092 WLP: show only axis for first and last track. 2022-08-15 15:09:27 +02:00
Kristian Bendiksen
80961161d2 Well Log Plot: Avoid hard-coded axis (gave incorrect axis labeling). 2022-08-15 15:09:27 +02:00
Kristian Bendiksen
b134419544 #9131 Summary Plot: Show area fill also when line style is 'None'.
Fixes #9131.

Fixed by drawing the line with Qt::NoPen (invisible).
2022-08-15 09:49:18 +02:00
Magne Sjaastad
3d06edc0a9 #9183 Do not use undo/redo for GeoMech result definition 2022-08-11 15:00:24 +02:00
Jon Jenssen
013b735a0d Add default dock window layouts and support hiding dock widgets before running tests. 2022-08-11 12:13:25 +02:00
Kristian Bendiksen
71d18b9e76 #9093 MultiPlot: improve axis alignment by resizing scales 2022-08-10 16:39:34 +02:00
Magne Sjaastad
f8e19e68d2 Avoid setting summaryCaseX, as this will cause issues for RimSummaryPlotNameHelper
In summary plots, we only use summary case for Y-axis
2022-08-10 14:12:28 +02:00
Magne Sjaastad
6977fa59f7 Plot Manager: Activate individual sub plots per data source 2022-08-09 18:36:18 +02:00
Magne Sjaastad
489b4bf66b Make sure curve names and plot titles are updated using Plot Editor 2022-08-09 18:36:18 +02:00
jonjenssen
a3c561b7e5
Get rid of "ghost" windows on startup. (#9171)
* Get rid of "ghost" windows on startup.
Removes hide all docking windows feature for now, to be replaced by a new implementation. Will probably break some tests due to this.
2022-08-09 16:40:50 +02:00
Magne Sjaastad
63b26ebf2d Guard pointer before use 2022-08-09 13:28:18 +02:00
jonjenssen
c3f538c1dd
Summary context menu cleanup and fixes (#9165)
* Make summary plot ctx menu items show up for the plot you right-click on, not the one selected in the project tree.
2022-08-08 13:34:27 +02:00
Kristian Bendiksen
eedebd71a5 #9161 QtCharts: Refactor to make QtCharts optional again. 2022-08-08 13:29:41 +02:00
Kristian Bendiksen
a87e05035d #9102 Thermal Fracture: handle field units. 2022-08-05 13:45:31 +02:00
Magne Sjaastad
f102a8b249
Improve annotations to work in both vertical and horizontal plots (#9154)
* Move enums to RiaPlotDefines.h
* Add support for formation names shading in horizontal plots
* Refactor line property code
* modernize code
2022-08-05 13:14:58 +02:00
Magne Sjaastad
824d5bd458 #9156 Use PdmPointer to avoid dangling pointer in Plot Editor 2022-08-04 14:08:30 +02:00
jonjenssen
82f6dc74c1
Only create and show plot window if we import a summary file. (#9155)
* Only create and show plot window if we import a summary file. If window is already there, no change.
2022-08-04 07:14:12 +02:00
Jon Jenssen
3e0cda4dba Make sure project tree is updated on ensemble curve copy/paste 2022-08-03 14:41:52 +02:00
Kristian Bendiksen
8f1f20ac7e janitor: Improve variable name. 2022-08-03 14:04:31 +02:00
Kristian Bendiksen
2a86b55ad2 Thermal Fracture Import: fix crash when import fails. 2022-08-03 14:04:31 +02:00
Kristian Bendiksen
ed03bd716e Thermal Fracture Import: Add test for loading non-existing file. 2022-08-03 14:04:31 +02:00
Kristian Bendiksen
40cc3f9dc6 #9101 Thermal Fracture Import: detect and refuse inconsistent units.
All values in the file should be in either field or metric units, and mixing is
not allowed.
2022-08-03 14:04:31 +02:00
Jon Jenssen
2e3ac5b02b Fix intersection depth filter limit calculations 2022-08-02 09:07:24 +02:00
Kristian Bendiksen
65600f58b3 Thermal Fracture Import: handle csv with space between name and unit 2022-08-01 13:56:38 +02:00
Magne Sjaastad
76edb49e89 #9126 Improve plot and curve handling for ensembles
Add append plots and append curves to context menu of ensembles
Make sure we create an unique color when adding multiple ensembles
2022-07-08 17:54:37 +02:00
Magne Sjaastad
1d4ab6bf9b #9125 Do not reset user defined axis range when stepping data source 2022-07-08 17:54:37 +02:00
Magne Sjaastad
7a0bfd4917 Use updated version of opm-common as submodule
* Adjustments to build system for opm-common
* Add opm-common as submodule
* Disable use of unity build for opm-common
2022-07-07 22:17:33 +02:00
jonjenssen
d5269abc6e
New dockingsystem (#9116)
* Use Qt Advanced Docking as forked submodule
* Use new docking system in code
2022-07-07 12:03:02 +02:00
Magne Sjaastad
be8c796bb0 Unity build requires global unique variable names 2022-07-07 10:23:21 +02:00
Kristian Bendiksen
2888747a16 Thermal Fracture: fix crash for none-existing results. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
8db0e2619c Thermal Fracture: show mesh options for thermal fractures. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
9f0d2c11b6 Thermal Fracture: load and update on project reload. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
44c469c12c #9099 Thermal Fracture Import: include perimter nodes. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
6f623e9320 More tweaks to fix windows build 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
a908b0c9cf #9098 Thermal Fracture: interpolate missing values inside convex hull of points. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
4b8a02cf46 Thermal Fracture: improve import and display of timestamps 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
e99f713d53 Rotate fracture plane to align with x-y plane 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
625b927cb6 Thermal Fracture: Add visualization of results 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
cb0bc1392d Thermal Fracture: Add action to import Reveal csv 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
ffb0c5a03f Thermal Fracture: add thermal fracture template 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
a89899b7dc Refactor: Introduce MeshFractureTemplate, and convert StimPlanFractureTemplate to it. 2022-07-06 18:18:11 +02:00
Kristian Bendiksen
972013c631 #9039: Thermal Fractures: add file reader 2022-07-06 18:18:11 +02:00
jonjenssen
6105813d28
Allow using scale values less than 1.0 (#9108)
* Change view scale into list of predefined double values in both toolbar and property editor. Add values less than 1.0
2022-07-04 15:48:52 +02:00
Magne Sjaastad
55eefbd53e Added field and object keywords 2022-07-01 15:35:56 +02:00
Magne Sjaastad
d4edc15215
Regression test fixes (#9105)
* Do not show Open Summary Plot in 3D view Property Editor
* Regression Test: Fix missing update of correlation report plot
A fix was introduced in 73d598ee7e to avoid a crash when deleting a multi plot. This had a unintended side effect causing the sub plots in correlation report plot to not be inserted properly.

* Bump release version
2022-07-01 11:36:49 +02:00
jonjenssen
6ad0bcee95 Fix crash if base time step has undefined data 2022-07-01 11:06:12 +02:00
Magne Sjaastad
af77fdad81 Prepare for release
Always create plots using Qwt
Always create plot for command "New Summary Plot"
#9103 : Fix missing updates in multiselect field update operation
Add Open Summary Plot Editor
Trigger missing load of data
Enable data source display for first realization of an ensemble
Always show legend text
Set version to 2022.06.0-RC-02
2022-06-30 18:24:25 +02:00
Magne Sjaastad
3d53c9de1e Do not create curve for empty history vector 2022-06-29 12:42:22 +02:00
jonjenssen
d4ff0a0175
Missing legend (#9095)
* Make sure ensemble curveset legends are shown in multiplot legend.
* Remove information already shown in title from curve legend.
* Fix missing legend when creating curve plot from ensemble curves
* Show actual curve color in legend
2022-06-29 11:49:46 +02:00
Magne Sjaastad
aeab09eceb Minor restructure of summary preferences 2022-06-28 14:06:32 +02:00
Magne Sjaastad
e5cf5f4cf3 Improve history curve color and symbols 2022-06-27 19:25:27 +02:00
Magne Sjaastad
cb1c94630b Guard null pointer use 2022-06-27 19:25:27 +02:00
Magne Sjaastad
a86abab3cb Regression Test: Guard null pointer access 2022-06-27 19:25:27 +02:00
Magne Sjaastad
55966ef6e8 RFT : Fix several update issues 2022-06-27 19:25:27 +02:00
jonjenssen
0cc4f69ba3 Add grid calculator button to 3d view toolbar, add grid calc command to case context menu 2022-06-25 00:44:38 +02:00
Magne Sjaastad
b706192ea3
Performance updates (#9082)
* Avoid creation of curve legend widgets during construction of a multi plot
* Make sure default z-value is correct to avoid expensive Qwt updates
* Avoid duplicate plot updates
* Do not create internal Qwt legend by default
* RFT import: Avoid expensive method throwing exception if no data is found
2022-06-24 16:16:46 +02:00
Magne Sjaastad
5078f4072f
Minor adjustments (#9070)
* Add system commands to test toolbar
* #9069 Summary Plot: Update only Y axis values during source stepping
* Reduce default brightness for ensemble summary curves
* Add a separate flag to control linking of time axis
* Make sure interactive zoom in plot is handled
* Move message dock window to right dock panel
2022-06-21 15:33:00 +02:00
Magne Sjaastad
8aaf98823a
Regression test fixes (#9068)
* Make sure font size is updated correctly
* Hide empty sub titles
* Do not categorize as water cut if no curves are visible
* Propagate settings from single summary plot to summary multi plot
2022-06-21 14:40:54 +02:00
Kristian Bendiksen
b4e3586e2c Janitor: StimPlanFractureTemplate: Remove use of obsolete field.
Might turn on mesh display for some StimPlan fractures in projects older than
v2018.1.0.103. The "show mesh" has been controlled by RimStimPlanColors since 2018.
2022-06-17 19:15:19 +02:00
Kristian Bendiksen
e7ff6f8a7b Janitor: remove empty implementation of updateFilePathsFromProjectPath. 2022-06-17 19:15:19 +02:00
Magne Sjaastad
d854a3d3e7
Merge pull request #9063 from OPM/more-rft-fixes-01
More RFT fixes
2022-06-17 17:24:58 +02:00
Magne Sjaastad
62cf62b9a2
Improve UI for RFT segment curves (#9061)
* Make sure all curve values are set correctly for plot orientation
* Make sure depth zoom is propagated to the Qwt plot
* Expand min/max value range to allow more space around curves
* Use int values to represent RFT segment branch number
2022-06-16 13:55:42 +02:00
Kristian Bendiksen
193bc35f6b #8876 Fracture: add option to use align dip with formation dip 2022-06-16 08:38:24 +02:00
Magne Sjaastad
36e43ae85b Performance: Move bool outside cell loop 2022-06-15 19:22:36 +02:00
Kristian Bendiksen
226ac4f2b6 #8989 Grid statistics: Improve precision of p10/p90. 2022-06-15 19:22:36 +02:00
Magne Sjaastad
34a05ec5f4 Bump version to 2021.10.3-dev.07 2022-06-13 17:30:07 +02:00
magnesj
3477ac7cb7 Fixes by clang-format 2022-06-13 15:13:15 +02:00
Magne Sjaastad
fe0d009b25
Improve visual appearance for ensemble curves (#9016)
* Ensemble Curves : Improve visual appearance
Set line thickness to 1
If ensemble curves are bright, use a high saturation color for the highlight curve
Increase line thickness for highlighted curve
* Use color by summary vector phase for ensemble curves
* Do not create curves for non-existing history vectors
2022-06-13 15:08:15 +02:00
Magne Sjaastad
ccbda23b96
Merge pull request #9048 from OPM/9047-performance-avoid-update-project
- Avoid update of project when creating new objects
- Added icon resource cache
- Avoid use of descendantsIncludingThisOfType()
2022-06-13 13:54:55 +02:00
Kristian Bendiksen
c177e51c45 Grid Property Calculator: Improve UI to allow only one filter. 2022-06-10 13:55:51 +02:00
Kristian Bendiksen
5ea621d36f #9033 Grid Property Calculator: fix incorrect filtering when reloading projects
Fixes #9033.
2022-06-10 13:55:51 +02:00
Kristian Bendiksen
f50b876c99 #8955 Grid Property Calculator : Add filtering support. 2022-06-10 13:55:51 +02:00
Magne Sjaastad
3b5139c24d #9023 Performance : Use cached analyzer
Remove min max from RimSummaryCaseCollection
Guard null pointer access
Improve default behaviour for axis range control
2022-06-10 06:25:41 +02:00
Kristian Bendiksen
5b4434439e #8991 3D grid cross plot: Select correct grid model. 2022-06-09 19:53:09 +02:00
jonjenssen
2fdd5875ea
Update multiplot source stepping - append plot (#9030)
* Make sure we append a new plot for all plots that matches the current source stepper, allows stepping and appending multiple plots at once
2022-06-09 13:23:28 +02:00
Magne Sjaastad
d146ada592 #9037 RFT import: Missing data in RFT file caused crash 2022-06-09 11:44:21 +02:00
Magne Sjaastad
47fb8957c1 #9023 Performance : Temporary fix for axis range aggregation 2022-06-07 23:20:31 +02:00
Magne Sjaastad
d36bf11c62
Several performance fixes (#9026)
* #9023 Performance: Use count instead of for loop

* #9023  Analyzer: Cache vector names for categories

* #9023 Performance : Use cached ensemble analyzer

* #9023 Performance : Add min/max values to ensemble statistics

* #9023 Performance : Improve statistics calculator

* #9023 Performance : Use high performance toInt()

* #9023 Performance : Build summary addresses in parallell
2022-06-07 21:09:36 +02:00
Jon Jenssen
fa1f189709 Simplify "New ... script" enable logic. 2022-06-07 16:22:11 +02:00
jonjenssen
ed392e6300 Keep source step dimension when saving/loading multiplots, including templates 2022-06-03 18:05:26 +02:00