Commit Graph

1052 Commits

Author SHA1 Message Date
Magne Sjaastad
5e184df670
Improve curve naming
* Add curve name template and handling of string variables
* Mark autoName as obsolete field
* Use key-value map to populate variable values
* Add curve naming methods Auto, Custom and Template
2022-10-11 14:02:46 +02:00
Magne Sjaastad
05d7eac52c Add Multi Phase Rft Segment Plot action 2022-10-10 15:58:05 +02:00
Magne Sjaastad
3f9f337e64 #9347 Well Log Plot : Add possibility to show depth axis in all tracks 2022-10-10 15:58:05 +02:00
Kristian Bendiksen
1a5da47418 #9344 Horizontal plots: Support row span for tracks 2022-10-07 14:14:02 +02:00
Magne Sjaastad
6d5e303361
Add topology curves and show in additional track
* Add topology curves and default plot
* Improve visual appearance
* Update sub module opm-common
* Add support for INCLUDE keyword to allow parsing of include files recursively
* Search for *.DATA with fallback to *.SCH to automatically import WESEGLINK data
* Find annulus branch based on MD diff on segment start
* Stop growing device branch if segment starts at a lower MD than previous
2022-10-07 12:37:23 +02:00
Magne Sjaastad
89d7dd4561 Show branch ID range in addition to branch index 2022-10-06 10:32:44 +02:00
Magne Sjaastad
f1139f5f14 Well Log Plot: Make sure curves with constant property value is visible 2022-10-06 10:32:44 +02:00
Kristian Bendiksen
dc80f582bd #9328 StimPlan Fracture: Fix nullptr crash on failed import.
Fixes #9328.
2022-10-05 09:45:27 +02:00
Kristian Bendiksen
d0e9c454d3 #9325 Thermal Fracture: rename injectivity decline to injectivity factor. 2022-10-03 13:19:19 +02:00
Kristian Bendiksen
1a9831db8c Thermal Fracture: Add option to skip filter cake pressure drop adjustment. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
dbd8dd4ff4 Thermal Fracture: Fix off-by-one in transmissibility calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
3dad3c65cb Thermal Fracture: Improve handling of result names and units. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
8ed349f859 Thermal Fracture: add relative and absolute filter-cake pressure drop calculation. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
da2b183d0e Thermal Fracture: Add option to choose filter cake pressure drop adjustment. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
7d774d733c Thermal Fracture: compute filter cake mobility. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
ce65d3738a Thermal Fracture: compute injectivity decline 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
453fe2dcd6 Thermal Fracture: Remove some unnecessary complications with the result names. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
619807b81f Thermal Fracture: add python script for exporting template as surface. 2022-10-03 08:33:55 +02:00
Kristian Bendiksen
550110d8ab Allow different definitions of valid result for StimPlan and Thermal template. 2022-10-03 08:33:55 +02:00
Magne Sjaastad
2973127363
Minor issues when preparing user course
* Grid Cross Plot: Always show grouping icons with color
* Grid Cross Plot: Make sure the info box text content is updated
* Bump version to RC_05
2022-09-14 16:10:52 +02:00
Magne Sjaastad
7b81490f90 #9295 Make sure grid cross plot is updated when grouping objects are toggled 2022-09-14 08:47:52 +02:00
Magne Sjaastad
22cd06b4c7
Adjust auto plot settings
* Adjust the max value for summary curves to get more space on top of plot
* Compute axis range before computing auto plot settings
* Use axis object name as key when computing aggregated min/max
* Guard infinite recursion for enableAutoValue()
2022-09-13 17:45:41 +02:00
Magne Sjaastad
58852781c3 Add missing update of curve legend text 2022-09-13 15:20:48 +02:00
jonjenssen
c685b7e9b5
Summary Plot Editor: Context menu update (#9289)
* Summary plot editor context menu update
2022-09-13 11:14:30 +02:00
Magne Sjaastad
3cdc69d1a7 Fix typo for StimPlanFileName keyword 2022-09-12 08:58:09 +02:00
Magne Sjaastad
c734a22bd6
Improve user interface for axis linking
Several adjustments to UI as discussed with Håkon and Alireza.

* add link/unlink command to right-click menu of axis
* select curve in project tree when clicking on legend item
* make sure internal legend is always visible when toggling plot
* fix issue when using sub plot as data source for axis range
2022-09-09 16:06:56 +02:00
Kristian Bendiksen
dc01594a95 #9281 Analysis Plot: fix ensemble data source selection.
Fixes #9281.
2022-09-09 15:21:35 +02:00
Magne Sjaastad
8887676007
Issues related to user course
* #9277 Observed Data : Assign case ID when importing observed data
If no case ID is assigned, the first observed case is always used when creating new plots of observed data

* #9278 Match on summary vector name when curve unit text is missing
2022-09-09 13:58:28 +02:00
Kristian Bendiksen
921c90beea
#9280 Fix missing horizontal error bars
* #9280 Fix missing horizontal error bars.
The x axis was not assigned properly for the error bars in the plot curve.
* Propagate error bar visibility state
2022-09-09 13:57:47 +02:00
Magne Sjaastad
f3a3e04e1f
Fix missing update of export well name 2022-09-08 16:14:05 +02:00
Magne Sjaastad
b641d6b86f
Adjustments for RC2
* Add dependency to Svg
* Renaming
* Remove special handling of bright colored curves
For some ensemble cases, the curve highlight does not work well. A prototype for ensemble curve highlight was introduced, but this was not working for a collection of standalone summary curves.
* Set version to RC_02
2022-09-06 15:29:10 +02:00
jonjenssen
2aedf38f79
Highlight the curve belonging to the legend you click on. (#9259)
* Highlight the curve belonging to the legend you click on.
* Make sure legend curve order remains the same when changing hilited curve
2022-09-06 07:21:24 +02:00
Kristian Bendiksen
49e298c0b8 Thermal Fracture: rotate and place fracture according to template data. 2022-09-05 15:40:31 +02:00
Kristian Bendiksen
96c4d48c9d #9100 Thermal Fracture: add action to place using template data 2022-09-05 15:40:31 +02:00
Magne Sjaastad
945f1b1902
Use field auto values for summary plots
Use auto value concept in summary plot configuration. Default behavior is unchanged, but it is now possible to unlink a field to specify a custom value for this field.

Other changes:
* Add missing requirement for Svg in test application
* Use calculator icon and rename panel text
Use icon and relevant text to make it clear that the content in Calculator Data can be used for Grid Property Calculator and nothing else.
* Add example with scoped enum and auto value
* Use enum value starting av 10 to make sure enum values (not option item index) are working as expected
2022-09-05 14:12:49 +02:00
jonjenssen
78e1bf3e94
Refresh data source tree when a grid calculation is updated (#9255) 2022-09-01 11:01:47 +02:00
Magne Sjaastad
0a3b42fa80 #9260 Guard pointer access and update tree view when plot is created
Guard access to plot curve
Update tree view when object is created
Use zoomAll to update x value range
2022-09-01 10:55:44 +02:00
Magne Sjaastad
7f78cb8c89
Fix some smaller issues
* #9253 Well allocation plot: Keep checked state of curves when changing time step
* #9254 Guard pointer when clicking on linked time axis icon
* #9250 Cross Plot : Ensure summary case change update both x and y data sources
2022-09-01 07:50:40 +02:00
Jon Jenssen
7c2720f980 Make sure curve legends are shown in same order as the curve items in the explorer when moving them up/down 2022-09-01 07:28:10 +02:00
Magne Sjaastad
9bf4365fb2 #9251 Cell Edge : Add more tests on valid cell edge result 2022-08-31 10:05:23 +02:00
Kristian Bendiksen
7f54703642 #9233 Correction Report Plot: disable axes alignment for better spacing.
Regression introduced in 71d18b9e76.
2022-08-30 06:42:51 +02:00
Magne Sjaastad
3ff5d238b1 Remove unused members and remove includes 2022-08-25 13:56:53 +02:00
Magne Sjaastad
c31bc3e50e
Add multiple selected cell edge results 2022-08-25 12:51:56 +02:00
Kristian Bendiksen
f82c530966 #9104 Thermal Fracture: Handle offset and scaling. 2022-08-25 09:17:00 +02:00
Magne Sjaastad
d28fcbfe21 #9231 Contour Map: Fix crash when adding formations after a view is created 2022-08-24 01:17:13 -07:00
Magne Sjaastad
c2ab9e6fe0 Regression Test: Do not access RimWellLogPlotCollection directly from desctructors
Regression tests are calling RimProject::reset(), and this function deletes the RimProject object.
2022-08-24 08:58:03 +02:00
Magne Sjaastad
4d244bc848
Depth Axis : Improve visibility logic 2022-08-24 08:55:40 +02:00
jonjenssen
f7dc85ddb6 Avoid recalculating streamlines when a 3d calculation is done. 2022-08-23 01:41:24 +02:00
Magne Sjaastad
4cd38d7daf
Simplify access to RimMainPlotCollection
* Add current() to RimMainPlotCollection to avoid include of RimProject
* Remove "segment" prefix
* Reload data when RftCase changes
2022-08-19 14:30:25 +02:00
Magne Sjaastad
506bfbd638
Remove control flag in setCollapsedByDefault
* Remove control flag in setCollapsedByDefault
* Set regions/annotations collapsed by default
2022-08-19 14:18:36 +02:00
Magne Sjaastad
c8d4757a51 Add sample count to grid property statistics 2022-08-19 00:06:55 -07:00
Magne Sjaastad
c6beb3b52d Preferences : Set initial selection when selecting plot templates 2022-08-18 11:59:16 -07: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
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
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
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
Magne Sjaastad
3d06edc0a9 #9183 Do not use undo/redo for GeoMech result definition 2022-08-11 15:00:24 +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
Magne Sjaastad
63b26ebf2d Guard pointer before use 2022-08-09 13:28:18 +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
Kristian Bendiksen
2a86b55ad2 Thermal Fracture Import: fix crash when import fails. 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
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
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
4b8a02cf46 Thermal Fracture: improve import and display of timestamps 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
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
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
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
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
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
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
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
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
jonjenssen
ed392e6300 Keep source step dimension when saving/loading multiplots, including templates 2022-06-03 18:05:26 +02:00
Magne Sjaastad
95e9ef8bf1 Rename to RiaFieldHandleTools 2022-06-03 08:00:55 +02:00
Magne Sjaastad
2b8bab3bd8 #9011 Disable input controls controlled by automation
Disable fields controlled by automation and append label text with (overridden)
2022-06-03 08:00:55 +02:00
Magne Sjaastad
4146e8bbd1 #9011 Rename axis range aggregation to None 2022-06-03 08:00:55 +02:00
Magne Sjaastad
a28cecd19b #8961 Auto scale factor : Do not use scale factor for some value ranges 2022-06-03 08:00:55 +02:00
Magne Sjaastad
5e53f5687d Improve auto name for curves and plots
- use vector name as plot title if a vector and the associated history vector is present
- use short vector name as fallback for curve name
- use Plot N as fallback name for sub plot
2022-06-03 08:00:55 +02:00
Magne Sjaastad
36dab01cf5 #9009 Data Source Object : Do not allow rename by double-click on item 2022-06-03 08:00:55 +02:00
Jon Jenssen
89773da26e Fix intersection crash by making sure we do nothing when top limit is below bottom limit 2022-06-02 06:54:45 +02:00
jonjenssen
fd7821a10b
Add preferences setting for maximum search depth in script folders. Clean up context menu a bit. (#9012) 2022-06-02 06:53:05 +02:00
jonjenssen
41904df681
New feature: delete unchecked subitems (#9010)
* New feature: delete unchecked subitems
2022-06-02 06:50:14 +02:00
Kristian Bendiksen
cbe731d187 #8994 Plot axis range : Fix incorrect reset of user-defined min max value 2022-06-01 15:10:38 +02:00
Jon Jenssen
cf9f69b620 Fix plot layout after plot visibility filter has been applied 2022-06-01 14:07:27 +02:00
Magne Sjaastad
33f0831de5 #8982 Allow mouse wheel zoom for a single sub plot 2022-06-01 12:25:36 +02:00
Magne Sjaastad
c7cf6d19f8 #8995 Drag drop summary vector : Optionally include history vector 2022-06-01 12:25:36 +02:00
Magne Sjaastad
6a7e2f6033 #8993 Default Ensemble Curve : Do not show statistics for history vectors 2022-06-01 12:25:36 +02:00
jonjenssen
9f4d242a5d
Plot Template updates (#9002)
* Ensemble plot templates now have .erpt extension and new icon
* Default plot templates are given a checkmark overlay on the icon
* Context menu has been cleaned up a bit
* Old default template is really just the last used template. Rename it.
* Add max. recursive depth setting in preferences for plot template searches
* Only create plots based on correct template type when importing ensembles or single cases
* Support creating new plot from template explorer
* Update last used template when creating a new plot from a template
2022-06-01 10:45:44 +02:00
Magne Sjaastad
6a5b9f7300 Use deleteChildren() when required to avoid memory leak 2022-05-31 15:05:07 +02:00
Magne Sjaastad
c74701b687 Rename several child() and children() functions 2022-05-31 15:05:07 +02:00
Magne Sjaastad
787d3ae379 #8868 Well Log Plot: Appearance update not working 2022-05-31 07:29:59 +02:00
jonjenssen
db589c7e32
Show progress bar when appending plots to multiplot (#8976)
* Show progress bar when appending plots to multiplot
* Stop plot manager from going crazy creating plots when filter text is blank
* Speed up plot manager create plot
2022-05-30 11:39:05 +02:00
Magne Sjaastad
f0ce04597d
Merge pull request #8985 from OPM/8926-remove-useoptionsonly
AppFwk : Remove obsolete useOptionsOnly
2022-05-29 13:01:27 +02:00
Magne Sjaastad
b17e3813df #8966 Improve performance when changing multiple field values 2022-05-26 20:43:25 +02:00
Magne Sjaastad
4a1a2fe2be #8634 Improve performance when deleting multiple wells
Disable general framework delete function, and use special well path delete function
2022-05-26 20:43:25 +02:00
jonjenssen
ff57252812 Add support for dropping folders in summary plots and multi summary plots 2022-05-26 02:29:59 +02:00
Kristian Bendiksen
29fdc29eb0 #8696 Cell filter: fix for IJ Index polygon for non-intersecting filter points
Now the minimum K-layer directly below any of the filter points are used when
the filter points does not intersect with the cells.

Fixes #8696.
2022-05-25 15:07:08 +02:00
jonjenssen
8e3289a432
Default summaryplot improvements (#8950)
* Add summary default plot type selection in preferences
* Create plots as set in preferences when loading summary cases. Allow selecting default plot templates from templates explorer tree
* Do not create plot if data vector setting is empty
2022-05-25 11:01:45 +02:00
Magne Sjaastad
f91fe41f1d
Several minor issues (#8948)
* #8947 Plot Template : Split export dialog into file path and name
* #8946  Update multi plot title when curve is appended by copy/paste
* #8946 Separate axis object name and axis title text
* If multi plot auto name is empty, use plot title "Plot N"
* QwtPlotWidget: Double click activates Zoom All
* More testing on valid main window before use
* Return false if event is not handeled
* Improve fallback plot name
* Tree View Editor: Early exit if selected object is unchanged
Resetting selection causes flickering
* Summary Plot : Select curve object in project tree when clicking on curve
2022-05-24 15:24:38 +02:00
Kristian Bendiksen
1aa41968a5 #8787 Summary Multiplot: Fix inversion of axis with axis aggregation. 2022-05-24 07:26:49 +02:00
Magne Sjaastad
01e670a3d8
Add copy/paste of Summary Multi Plot (#8942)
* Guard use of back() on empty vector
* Add "Show Data Sources" to ensemble realizations
* Update summary plot as summary curve collection is not visible in tree view
* Set selection manager root in RiaApplication
* Always close both main windows if present
* Add copy/paste of summary multi plot
* Add test for RiuMainWindow::instance() before use
* Remove duplicated code
* Multiple Tree Views : Use getTreeViewWithItem() to find correct tree view
* Minor UI adjustments
2022-05-23 14:25:53 +02:00
Jon Jenssen
329e1e8b69 Fix crash in ensemble plot duplicate 2022-05-23 13:32:18 +02:00
Magne Sjaastad
26f1387bc6 Improve plot manager behavior
Create plots for vectors with no grouping identifier
Do not invalidate GUI on selection changed
Use same name as in project tree
2022-05-22 21:49:34 +02:00
Magne Sjaastad
ccfc0e25bc #7778 Check for valid pointer to main window before use 2022-05-22 11:35:40 +02:00
jonjenssen
886f5e3295 Move duplicate button to the right of the multiplot toolbar 2022-05-20 16:47:44 +02:00
jonjenssen
7c25677d18 Add support for appending curves for summary case and ensemble by stepping 2022-05-20 16:29:26 +02:00
Kristian Bendiksen
954b697e6b #8817 Summary Multiplot: Add filter to control plot visibility 2022-05-20 15:56:43 +02:00
Kristian Bendiksen
e80343b4db #8877 StimPlan model: Fix formation dip in export of Asymmetric.FRK
Fixes #8877.
2022-05-20 14:51:26 +02:00
Kristian Bendiksen
837a0f208c #8846 StimPlan model plot: Correct perforation interval for longitudinal fracture
Fixes #8846.
2022-05-20 14:07:29 +02:00
Magne Sjaastad
89d42fec88
Regression Test: Fix null pointer access (#8922)
* #8921 : Guard null pointer access

* #8921 Fix memory leak

Fix similar memory leak as reported in #8918
2022-05-19 11:51:52 +02:00
Magne Sjaastad
119367783b
Fix memory leak for data source ensemble summary (#8919)
* Do not create summary case group twice

* Fix memory leak of objects contained in childArrayFields
Use deleteAllChildObjects to delete objects instead of clear()
Rename collection function clear() -> deleteAllChildObjects

* Early exit for empty path

* Reduce redundant calls to refreshMetaData
2022-05-19 11:51:22 +02:00
jonjenssen
3b927e1c09
Split summary plot into multiple plots (#8910)
* Support splitting a summary plot with multiple curves into a new multiplot with one plot per curve
* Make sure the correct plot is deleted if using the plot context menu.
2022-05-13 16:36:30 +02:00
jonjenssen
6f26f8e462
Speed up summary case close/delete for ensembles (#8907)
* Speed up summary case close/delete for ensembles
2022-05-12 22:51:15 +02:00
jonjenssen
4f31f5c76e
Add support for deleting plot templates (#8908) 2022-05-12 21:46:35 +02:00
Kristian Bendiksen
b27f59cecb #8274 Python: assign default values
Fixes #8274.
2022-05-11 20:53:01 +02:00
jonjenssen
828e8ec440
Show templates as separate project explorer tab. (#8902)
Add templates as separate project explorer tab.
Add support for renaming and editing templates
2022-05-11 19:46:17 +02:00
Kristian Bendiksen
daf02571c2
Mainwindow datasources (#8883)
* Main Window: add three dock widgets for splitting project tree

* Main Window: move scripts to separate tree widget

* Add eclipse result addresses to data source project tree.

* Grid Calculator: drag-and-drop for calculation variables.

* Grid Calculator: rename to 'Grid Property Calculator'.
2022-05-11 19:17:46 +02:00
jonjenssen
65827f9c1c
Improve summary case import performance (#8897)
* Improve summary case import performance
2022-05-11 10:47:12 +02:00
Magne Sjaastad
f52acd9a64 #8893 Rename quantity name -> vector name 2022-05-10 08:17:41 +02:00
Magne Sjaastad
6f1819ba96 MultiPlot: Reorder top level UI
Set Auto Adjust Appearance to default value true
2022-05-10 08:17:41 +02:00
Magne Sjaastad
df1bb06f09 Support delete of multiple sub plots in one operation 2022-05-10 08:17:41 +02:00
Kristian Bendiksen
85cd07c373 Grid Calculator: Improvements after review. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
8ea4e933aa Grid Calculator: compute results for all time steps 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
144138904d Avoid index-based iterator. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
b761bb42af Grid Calculator: Fix view updates when calculation is changed or removed. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
fdefb214d8 Grid Calculator: Minor tweaks to UI. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
4304bbbc48 Grid Calculator: refactor summary curve calculator and add grid calculator. 2022-05-09 15:36:27 +02:00
Magne Sjaastad
74ace7ea44
Summary Multi Plot : Improve default behaviour (#8885)
* Summary Multi Plot : Improve default behaviour

- Perform zoom when stepping to next item
- Set defaults for range aggregation and source stepping dimension based on content when creating a multi summary plot

* Plot Axis Appearance : Do not use bold for text configuration

* Improve how scale factor for legend values are computed

* Improve defaults for range aggregation and step dimension

* Reorder Capability : Get UI item before reordering is issued

Get UI item before reordering is issued, as this operation will invalidate the tree model
2022-05-06 12:09:55 +02:00
Magne Sjaastad
74075cc9ab
Merge pull request #8888 from OPM/8887-fix-reorder-capability
Fix reorder capability
2022-05-06 10:52:08 +02:00
Magne Sjaastad
cc397efe3e Performance : Simplify use of update schedulers
Extract code to RiaScheduler
Add PlotCollectionScheduler
2022-05-05 14:15:45 +02:00
jonjenssen
296ddbde42
Merge pull request #8882 from OPM/append_curves
Summary Multiplot: Source Stepping append curves with performance fixes
2022-05-04 13:11:04 +02:00
Magne Sjaastad
bb6ca0848d #8859 Add drop target for calculation variables 2022-05-04 09:10:32 +02:00
Jon Jenssen
2c1ef661b0 Avoid regenerating viewer pages when just stepping curves in plots 2022-05-03 16:31:30 +02:00
jonjenssen
d3ce7a2096
Add support for all summary data types in data sources tree (#8873)
* Add support for all summary data types in data sources tree
* Use item icons for folders.
2022-05-03 16:29:55 +02:00
jonjenssen
3de8010c2b
Source stepping and toolbar updates (#8866)
* Move layout options to separate toolbar
* Enable stepping on quantities, remove special history curve stepping for now
* Allow stepping ensembles and cases
* Add step next/prev and add new sub plot
2022-05-03 11:30:09 +02:00
Magne Sjaastad
46173af8c3
Merge pull request #8865 from OPM/8863-summary-issues 2022-05-03 08:51:26 +02:00
Magne Sjaastad
64bed1d611
Summary Multi Plot: Minor adjustments (#8856)
Remove obsolete single summary template code
Always use maximized state of the QMdiSubWindow when a plot or view is deleted.
Move time axis to top
Set correct text for unused axis
Avoid assert when layout is requested for non existing legend
2022-04-29 15:31:07 +02:00
Magne Sjaastad
f54399960d
Improve drag and drop features and right click commands (#8854) 2022-04-29 12:28:09 +02:00
Magne Sjaastad
172f891be9
Remove obsolete template commands (#8851)
* Remove obsolete template commands

Use first object in object list when creating plots for templates and a case is selected. (use first well in well list, first group in group list, ...)

* Always create the reference string
2022-04-28 18:28:24 +02:00
Magne Sjaastad
b030e617c6 #8849 Data Sources : Add append curves to plot based on selection 2022-04-28 12:20:15 +02:00
jonjenssen
5d9f7b165c
More summary data types in data source tree (#8840)
* Add support for block data in data sources tree
* Add option to show summary data sub-tree for single realizations inside an ensemble
2022-04-27 01:51:55 +02:00
Magne Sjaastad
774538868a #8844 Summary Multi Plot : Optional auto appearance settings 2022-04-26 15:05:00 +02:00
Magne Sjaastad
73d598ee7e Fix crash during delete of multiplot 2022-04-26 15:05:00 +02:00
Magne Sjaastad
386ba1cbac Use plot axis as key to compute range values from sub plots 2022-04-26 15:05:00 +02:00
Magne Sjaastad
cb8b18222e #8827 Avoid UI updates during delete of a sub plot 2022-04-26 13:01:31 +02:00
jonjenssen
0f5d949af0
Merge pull request #8838 from OPM/datasource_steppingtoolbar
Add simplified data source stepping control in toolbar
2022-04-26 12:08:22 +02:00
Magne Sjaastad
853b4a26d5 #8822 Summary Axis: Add tick mark count to y-axis 2022-04-22 23:14:48 +02:00
Kristian Bendiksen
73f5c793e8
Merge pull request #8828 from OPM/summary-axis-cleanup
Combine Link axis range with axis range aggregation. Zoom All will now respect the different axis range aggregation method.
2022-04-22 22:16:36 +02:00
Magne Sjaastad
1840a95810 Preferences: Move colorCurvesByPhase and hide Qt Charts settings 2022-04-22 08:08:06 +02:00
Jon Jenssen
5457c96a63 Remove obsolete open editor command 2022-04-21 17:28:50 +02:00
Magne Sjaastad
caaca138c0
Curve Colors : Add support for color assignment based on summary phase (oil, gas or water) 2022-04-20 14:29:40 +02:00
Magne Sjaastad
87b822a80f
Curve Style : Add support for curve fitting for non-solid line styles 2022-04-20 14:25:47 +02:00
Kristian Bendiksen
3a461473d0 #8767 Multi Plot: Add support for computing range for a summary curve across all realization, regions or wells. 2022-04-20 14:00:21 +02:00
jonjenssen
db3395da44
Fix Summary Multiplot subplot colspan issue (#8805)
Fix colspan bug for summary multiplots
2022-04-19 12:34:40 +02:00
Magne Sjaastad
a6eda226f4 #8813 Regression Test : Fix crash in regression tests 2022-04-19 09:52:34 +02:00
Magne Sjaastad
30aaadb58c #8798 Summary Curve Selection : Always show ensemble realizations cases 2022-04-08 13:22:42 +02:00
Magne Sjaastad
8cdef0d861 #8782 Summary Plot: drag'n'drop data vector issue
Duplicate only matching vectors
More rename for Group
2022-04-08 13:22:29 +02:00
Magne Sjaastad
93614ef272
Merge pull request #8791 from OPM/8790-rename-to-group
Rename summary references to "Group"
2022-04-07 21:06:40 +02:00
Magne Sjaastad
f099a8c89f #8779 Summary Multi Plot : Add flag to control visibility of axis number values
Useful for making plots anonymized
2022-04-07 17:49:07 +02:00
Magne Sjaastad
a0507c85f4 #8779 Summary Multi Plot : Sync time axis properties across sub plots 2022-04-07 17:49:07 +02:00
Magne Sjaastad
6ecb1a8ea0 #8779 Summary Multi Plot : Rearrange property editor
Compute common range for all sub plots when activating sync of sub plot axes
2022-04-07 17:49:07 +02:00
jonjenssen
d156160daf
Summary Multiplot: sync plot selection in tree with view (#8788)
* Make sure the subplot selected in the tree is shown in the multiplot viewer. 
* Clean up multiplot toolbar handling a bit
* Remove old summary plot toolbar.
2022-04-07 16:24:27 +02:00
jonjenssen
3590c52cdc
Deprecate single summary plots and plot collections. (#8777)
* Deprecate single summary plots and plot collections. Replace functionality using summary multi plots. Clean up some code. Fix crash when trying to normalize an empty curve
2022-04-06 17:39:07 +02:00
Magne Sjaastad
9bbc709157 #8773 Source Stepping : Show data source stepping on summary multiplot 2022-04-06 10:05:43 +02:00
Magne Sjaastad
6417daf167 #8773 Source Stepping : Realization cases are missing in some cases 2022-04-06 10:05:43 +02:00
Magne Sjaastad
22673c1073 Summary Multiplot: Add icon and update text
minor adjustments
2022-04-06 10:05:43 +02:00
Kristian Bendiksen
1407c6f96f RimPlotAxisProperties: reset "always required" bool on reload. 2022-04-06 09:03:53 +02:00
Kristian Bendiksen
449b4e4781 RimPlotAxisProperties: only allow plot axis positions left and right. 2022-04-06 09:03:53 +02:00
Kristian Bendiksen
45d28de6d3 #8768 Multi Plot: Add option to sync all sub plots axis properties. 2022-04-06 09:03:53 +02:00
Magne Sjaastad
ca61e9f9a8 Multi Axis: Make sure widget axis is created during assignment of plot axis 2022-04-04 14:44:29 +02:00
Kristian Bendiksen
11060078d8 RiuQwtPlotWidget: fix actions on selection of axis. 2022-04-04 12:10:20 +02:00
Kristian Bendiksen
288269fad7 Multiaxis: Use correct mapping from PlotAxis to QwtAxisId. 2022-04-04 12:10:20 +02:00
Kristian Bendiksen
395541ebe0 Summary Plot: Make the general plot options expanded by default. 2022-04-04 12:10:20 +02:00
Kristian Bendiksen
32ec472829 Multiaxis plot: fix moving axis from other side 2022-04-04 12:10:20 +02:00
Magne Sjaastad
dde0487024 Multiaxis: add support for Qwt multiaxis plot 2022-04-04 12:10:20 +02:00
jonjenssen
22d6e3f853
Merge pull request #8765 from OPM/summarymultiplot_performance2
Summary Multiplot performance improvements and fixes
2022-04-01 19:23:27 +02:00
Magne Sjaastad
46a8bd58b2
#8761 Multiplot template support 2022-04-01 12:04:46 +00:00
Magne Sjaastad
b822996fc3 FIx regression blocking drag and drop of well names into existing plots 2022-03-31 14:43:56 +02:00
Magne Sjaastad
15f17234c8 #8747 MultiPlot : Duplicate and append plots for selected objects 2022-03-31 14:04:33 +02:00
jonjenssen
28dcd47d73 Hide summary multiplot tree node if only one summary plot 2022-03-31 13:03:03 +02:00
Jon Jenssen
2eb1713866 Fix mouse wheel not working in 3D view if a plot window is created.
Fix issue with multiplot sometimes being shown incorrectly when switching between fullscreen plots
2022-03-30 16:19:16 +02:00
Magne Sjaastad
9c987855f2 Merge remote-tracking branch 'origin/patch_2021.10.3' into dev 2022-03-28 09:06:38 +02:00
Magne Sjaastad
7c4e81f59f Adaption of #8356 Summary Data : Add support for use of summary summary data from Python 2022-03-28 08:46:10 +02:00
Magne Sjaastad
ef842e7f27 #8416 VFP Plot : Support import of all units (Field, PVT, ..) 2022-03-28 08:46:10 +02:00
Magne Sjaastad
c48451a532 Summary Import : Support cases with one file per time step (#8493) 2022-03-28 08:46:10 +02:00
Magne Sjaastad
cf4d2c9ad2 Janitor : Support import of stand alone ESMRY files
All import of summary data was previously started from a SMSPEC file. As the ESMRY file is completely independent, it is useful to import these files directly.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
f028491bb9 #8409 NNC : Make sure user defined legend ranges work 2022-03-28 08:46:10 +02:00
Magne Sjaastad
e09a839228 Merge pull request #8402 from OPM/8401-flow-vector-result
Use OpenMP for vector calculations

Janitor: Use field of double instead of float to avoid rounding errors. If float is used in field, the current editor is has rounding effects that makes the text representation of 0.1 turn into 0.09999999....
2022-03-28 08:46:10 +02:00
Magne Sjaastad
869921d300 #8375 Flow Vectors : Avoid recomputing NNCs when accessing flow data
Avoid include of RigNNCData.h in header files.
2022-03-28 08:46:10 +02:00
Magne Sjaastad
985a2c8f30 Merge pull request #8376 from OPM/fault_visibilityupdates
Faults: Add Visibiliy mode for overlapping area
2022-03-28 08:46:10 +02:00
jonjenssen
19dc7493a8 Change ouput model name 2022-03-28 08:46:10 +02:00
jonjenssen
abd4e80b48 Add well angles in degrees, not radians. 2022-03-28 08:46:10 +02:00
jonjenssen
f41c772f03 Show plot curves at the first level below a summary plot. 2022-03-25 20:02:23 +01:00
jonjenssen
8d3f41ded8
Merge pull request #8732 from OPM/summarymultiplot_updates2
Summary Multiplot updates
2022-03-25 11:39:12 +01:00
Kristian Bendiksen
80234ca105
#8644: Avoid overwriting preferences for date and time axis format (#8725)
Co-authored-by: kriben <kriben@users.noreply.github.com>
2022-03-24 11:57:05 +01:00
Magne Sjaastad
696c6a15fa #8676 QtChart : Create curve legend widget for multiplot 2022-03-23 14:28:56 +01:00
Kristian Bendiksen
d4d79d3dec #8623 Contour Map: exclude surfaces from appearing
Fixes #8623.
2022-03-23 13:37:38 +01:00
Magne Sjaastad
f45637b7f0
#8715 Fix multi summary title and legend updates 2022-03-23 13:35:47 +01:00
Kristian Bendiksen
c00aea75fb #8662 QtCharts: Implement tooltip when hovering over curves 2022-03-21 14:56:23 +01:00
Kristian Bendiksen
c87d68899e #8635 Improve well head position on extreme grids.
Fixed by introducing max characteristic cell size for extreme grids.

Fixes #8635.
2022-03-21 14:29:45 +01:00
kriben
f27a5b4e9e Fixes by clang-format 2022-03-21 14:23:14 +01:00
Kristian Bendiksen
ca769a53d4 #8649 Contour Map: Show static data for all time steps. 2022-03-21 14:23:14 +01:00
Jon Jenssen
560917a481 Rename NewSummaryPlot command to what it actually is - OpenSummaryPlotEditor command. Remove unused includes.
Move Single Summary Plots to bottom of tree and show them as Single Summary Plots.
2022-03-21 13:05:57 +01:00
jonjenssen
e20adcdb69
Further Summary Multiplot improvements (#8707)
* Create a specialized summary plot page for showing multi plots
* Make summary plots always show in grid of selected size.
* Allow dragging summary addresses into empty main window area
* Limit grid to 4x4 cells
2022-03-21 11:31:25 +01:00
Magne Sjaastad
8d3f381b4f
Janitor: Update qwt to 6.2.0 2022-03-18 13:16:07 +01:00
jonjenssen
ffc84457c6
Summary Multiplot: add button to create plot copy (#8698)
* Add button to create a duplicate of the active summary multiplot
* Block dropping other things than RimSummaryAddress objects in empty areas
2022-03-16 14:14:14 +01:00
jonjenssen
75a3d3d8f1
Summary Multiplot: drag/drop updates (#8692)
Drag'n'drop improvements - accept drops in empty multiplot areas to create new plots
2022-03-15 15:57:15 +01:00
Kristian Bendiksen
20ec6e20f2 Summary Plot: fix axis logic for left axis 2022-03-14 15:48:24 +01:00
Magne Sjaastad
0ca70249ae
Move defines to RiaDateTimeDefines 2022-03-14 09:18:48 +01:00
Magne Sjaastad
e435e28e7d #8660 Axis range: If water cut is assigned, use 0..1 as axis value range 2022-03-14 08:24:49 +01:00
Magne Sjaastad
806a149809
Fix several deprecation warnings (#8657)
* Use constructor instead of nullptr for WindowFlags
* Use constructor instead of nullptr for Alignment
* Disable deprecation warning for QProcess
* Add string split method to RaTextStringTools
* Add caf.cpp used to manage Qt function deprecations
* Use position()
2022-03-11 13:24:01 +01:00
Kristian Bendiksen
72fc47e003 #8452 QtCharts: Add fill color and pattern 2022-03-11 13:15:20 +01:00
Magne Sjaastad
0bab8a9834
Fix update issues when switching from axis side (#8664)
* #8610 Ensemble import : Set default axis
* Summary Axis : Delete previous axis when switching side
* Janitor: Use auto and empty()
2022-03-11 13:11:24 +01:00
Magne Sjaastad
262aed3c8d #8663 QtCharts: Update labels when date format changes 2022-03-11 11:39:51 +01:00
Magne Sjaastad
721ba508de Axis sync: Reset zoom to make sure the complete range for min/max is available 2022-03-11 08:41:53 +01:00
jonjenssen
c9b762fb16
Merge pull request #8654 from OPM/filter_wheelevents
Summary Multiplot: page scroll and zoom fixes
2022-03-10 13:13:44 +01:00
Jon Jenssen
cdbeec7ff8 Remove unused include 2022-03-09 11:29:03 +01:00
Jon Jenssen
d7555cbf4c Add support for giving all axes with the same label the same range. 2022-03-09 11:29:03 +01:00
Magne Sjaastad
728885a6c8 Janitor : Fix invalid rename introduce by horizontal/vertical depth log plots
Fix deprecated
2022-03-09 08:33:56 +01:00
Magne Sjaastad
6700c21086 Janitor : Use RimWellLogTrack in RimDepthTrackPlot 2022-03-09 08:33:56 +01:00
Jon Jenssen
85d3f98f91 Allow drag'n'drop of realizations into summary plots
Improve "Create Summary Case Group" feature to not delete selected realizations from the source collection.
2022-03-08 07:55:39 +01:00
Kristian Bendiksen
93f754102d #8615 Qt Charts: fix use-after-free crash.
Fixes #8615.
2022-03-04 18:11:10 +01:00
Kristian Bendiksen
7a954804ef #8451 Qt Charts: show fewer curve symbols.
The "Symbol Skip Distance" is used to space the symbols.

Fixes #8451.
2022-03-04 18:11:10 +01:00
Jon Jenssen
2e9c6e7a64 Allow dragging and dropping ensemble data vectors into summary plots 2022-03-04 17:06:28 +01:00
Magne Sjaastad
1563ae7b58
Merge pull request #8614 from OPM/minor-adjustments 2022-03-04 12:24:15 +01:00
jonjenssen
abff06d2d5
Summary multiplot improvements (#8598)
* Create multi summary plot from summary plot(s)
* Rearrange multi summary plot properties
* Enable source stepping toolbar for multi summary plot
* Automatically activate new summary plot when creating from data sources -> data vector tree
* Enable global key controls for switching data in summary and multi summary plots
* Update tooltip texts for summary plot toolbar
2022-03-04 10:52:17 +01:00
Magne Sjaastad
84694cdbc3 Memory Management : Fix memory leak in FaultRASettings 2022-03-03 14:39:41 +01:00
Kristian Bendiksen
423dde93fc #8523 Summary Plot: Improve axis name.
Use same name as axis in plot now.
2022-03-02 13:49:17 +01:00
jonjenssen
0cd965dd5b
Summary plot crash fixes (#8595)
Disable assert for duplicated signal connections for now, just ignore everyone but the first one
Temp. workaround for crash when duplicating plot axis properties.
Update test
2022-03-01 17:27:46 +01:00
Magne Sjaastad
9826d94e9a Make sure a signal is connected only once 2022-02-28 10:52:05 +01:00
Magne Sjaastad
5c0082f20b Avoid setting signal multiple times 2022-02-26 16:35:59 +01:00
Magne Sjaastad
4693dc44ef Memory Management : Fixes related to plot objects and curves 2022-02-26 16:35:27 +01:00
Magne Sjaastad
47a44a79df Axis assignment : Use axis with same unit by default 2022-02-26 16:35:27 +01:00
Magne Sjaastad
10a01972f3 #8583 RFT Plots : Add support for data source management to well log plots 2022-02-24 13:03:15 +01:00
Magne Sjaastad
7f41349b5c #8582 Eclipse Case : Make it possible to access RFT data without grid data 2022-02-24 13:03:15 +01:00
Kristian Bendiksen
f955d9e645 #8575 Summary Plot: Restore zoom of time axis on project load. 2022-02-23 21:54:40 +01:00
Kristian Bendiksen
10cb2d7d0b #8522 Summary Plot: Prune unused axes after move or delete 2022-02-23 21:54:40 +01:00
Kristian Bendiksen
1a1acfa006 #8522 Summary Plot: handle plot axis deletion. 2022-02-23 21:54:40 +01:00
Kristian Bendiksen
bd22336ba8 #8522 Summary Plot: ensure plot axis are restore when creating plots. 2022-02-23 21:54:40 +01:00
Kristian Bendiksen
2e6795bd1d Summary Plot: Refactor to use new RimSummaryPlot::addNewAxisProperties(). 2022-02-23 21:54:40 +01:00
Kristian Bendiksen
3180b419d0 #8522 Summary Plot: Add menu item to add plot axis. 2022-02-23 21:54:40 +01:00
Magne Sjaastad
f154f8c500
Import RFT segment data as well log curve (#8449)
Add reader for RFT data using opm-common
Extend RFT curve with support for RFT segment data
Adjustments related to horizontal well log plots

8581 Well Log Plot : Update of curve appearance does not update plot
2022-02-23 13:57:02 +01:00
jonjenssen
208ae7692b
Merge pull request #8578 from OPM/summaryplot_fromdatavector
Summary Plot: create new plot from data vector tree nodes
2022-02-22 11:32:35 +01:00
Magne Sjaastad
4ed5250d3b
Support horizontally stacked curves (#8553)
* #8548 Horizontal track : Improve stacked curves
* Add horizontal track bar
* Show relevant scroll bar for horizontal and vertical plots
* Show max property value at top for horizontal plots
2022-02-21 07:15:56 +01:00
Magne Sjaastad
5c72d31cc9
Improve well path target configuration (#8570)
Improve the scripting possibilities for well targets
Added tests and examples
2022-02-19 13:18:49 +01:00
jonjenssen
0b5bc2ba68 Change ouput model name 2022-02-17 15:39:39 +01:00
jonjenssen
4a3d9470b4
Summary Plots: Support dragging wells, groups and regions into plots (#8550)
Support dropping wells, wellgroups and regions into summary plots.
2022-02-16 16:36:50 +01:00
Magne Sjaastad
79614e09e9
#8555 Well Log Extraction : Fix missing curve data for no console 2022-02-15 15:43:44 +01:00
Magne Sjaastad
477ae02382
Logarithmic curve support and renaming (#8546)
* Add test for both positive and negative numbers
* Remove redundant sample count from parameter list
* Propagate useLogarithmicScale
* Renaming
2022-02-14 11:49:37 +01:00
Kristian Bendiksen
a8a3d3332b #8536 Summary Plot: Fix axis position for legacy projects.
The axis property position has to be reassigned for all axis types.
2022-02-14 10:56:51 +01:00
magnesj
e85bba9014 Fixes by clang-format 2022-02-12 14:46:00 +01:00
Kristian Bendiksen
5973dde70c Well Measurement: fix duplication in property editor. 2022-02-12 14:24:42 +01:00
Kristian Bendiksen
377df9ab3a Well Log Plot: have multiple rows of plots for horizontal depth orientation. 2022-02-12 14:24:42 +01:00
Kristian Bendiksen
5c9bf502e7 Well Log Plot: Add option to plot depth horizontally. 2022-02-12 14:24:42 +01:00
Magne Sjaastad
1488eec855 Rename to isLogCurve 2022-02-12 14:23:06 +01:00
Magne Sjaastad
6c92206893
Make curve drawing more robust (#8537)
* Janitor : Improve robustness

* Guard nullptr access

* Limit the curve points to incoming from/to curve point index range

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2022-02-11 13:18:36 +01:00
Kristian Bendiksen
6591de716b #8521 Summary Plot: Allow moving axis to other side of plot. 2022-02-11 10:31:01 +01:00
Magne Sjaastad
43d890697d Multiaxis: Avoid transformation of the right axis to a left axis 2022-02-09 12:26:42 +01:00