Commit Graph
100 Commits
Author SHA1 Message Date
Magne Sjaastad 5eccff93c9 Fix typo for StimPlanFileName keyword 2022-09-15 08:19:41 +02:00
Magne Sjaastad 333cac84a6 Bump version info to RC03 2022-09-15 08:19:41 +02:00
Magne Sjaastad d1a8de0aa8 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-15 08:19:41 +02:00
Magne Sjaastad 437f26698d 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-15 08:19:41 +02:00
Magne Sjaastad a8fbb4f70e Fix missing update of export well name 2022-09-15 08:19:41 +02:00
Magne Sjaastad 129c4a0e34 Unit test to export xyz coordinates for N timesteps for a thermal fracture 2022-09-15 08:19:41 +02:00
Magne Sjaastad e1dda4c6b3 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-15 08:19:41 +02:00
Magne Sjaastad 54ac7568cb Set version to RC_01 2022-09-15 08:19:41 +02:00
Magne Sjaastad 72c070c3a9 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-15 08:19:41 +02:00
Magne Sjaastad 69cc36b3bc Add framework support for editor auto values
Add support for a field to be linked to a value updated by code outside the object itself. Mark the linked field by using a background color and icons for linked/unlinked state.
The auto value states is set as attributes in the project xml file. 
Add reference implementation in cafTestApplication, see Fwk/AppFwk/cafTests/cafTestApplication/MainWindow.cpp

* Tree View Editor: Avoid sending notification if selection is unchanged
* Use std++17 in test solution
* Move icons to icon factory
* add support for creating QIcon from SVG text string
2022-09-15 08:19:41 +02:00
Magne Sjaastad b2db9a66a7 Scale length threshold based on average DZ 2022-09-15 08:19:41 +02:00
Magne Sjaastad 8e627e46a3 Improve error message when grid dimensions are not matching 2022-09-15 08:19:41 +02:00
Magne Sjaastad edaaf4242a #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-15 08:19:41 +02:00
Magne Sjaastad 723e047365 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-15 08:19:41 +02:00
Magne Sjaastad d806c5225b #9251 Cell Edge : Add more tests on valid cell edge result 2022-09-15 08:19:41 +02:00
Magne Sjaastad 43e38d8aff Remove unused members and remove includes 2022-09-15 08:19:41 +02:00
Magne Sjaastad 6fb376156a Add multiple selected cell edge results 2022-09-15 08:19:41 +02:00
Magne Sjaastad 8f9fbab7e0 #9231 Contour Map: Fix crash when adding formations after a view is created 2022-09-15 08:19:41 +02:00
Magne Sjaastad b7e2e5e3c2 Regression Test: Do not access RimWellLogPlotCollection directly from desctructors
Regression tests are calling RimProject::reset(), and this function deletes the RimProject object.
2022-09-15 08:19:41 +02:00
Magne Sjaastad 6ac6b5a795 Depth Axis : Improve visibility logic 2022-09-15 08:19:41 +02:00
Magne Sjaastad 7e31e6e55a Regression Test: Add timeout to command object processing
When Octave scripts fails, the application ends up in a deadlock. Add timing to be able to process next regression tests.
2022-09-15 08:19:41 +02:00
Magne Sjaastad ffc14e2b2e RFT: Add connection data as segment results 2022-09-15 08:19:41 +02:00
Magne Sjaastad 375caf2f2d Add Export Property to right-click menu in 3D view 2022-09-15 08:19:41 +02:00
Magne Sjaastad b910275886 Show log message when data from WSEGLINK is imported 2022-09-15 08:19:41 +02:00
Magne Sjaastad 947de3ffb1 Simplify access to RimMainPlotCollection
* Add current() to RimMainPlotCollection to avoid include of RimProject
* Remove "segment" prefix
* Reload data when RftCase changes
2022-09-15 08:19:41 +02:00
Magne Sjaastad 9f9e29ff8c Remove control flag in setCollapsedByDefault
* Remove control flag in setCollapsedByDefault
* Set regions/annotations collapsed by default
2022-09-15 08:19:41 +02:00
Magne Sjaastad 07f0362298 Add sample count to grid property statistics 2022-09-15 08:19:41 +02:00
Magne Sjaastad 0b74be6c5e Preferences : Set initial selection when selecting plot templates 2022-09-15 08:19:41 +02:00
Magne Sjaastad 30921a158b Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
2022-09-15 08:19:41 +02:00
Magne Sjaastad a268e6ff3a #9210 New Ensemble Curve Set : Missing update in Plots panel 2022-09-15 08:19:41 +02:00
Magne Sjaastad acaea8de81 Renaming of features 2022-09-15 08:19:41 +02:00
Magne Sjaastad df16e1fe5c 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-09-15 08:19:41 +02:00
Magne Sjaastad a36c07dd64 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-09-15 08:19:41 +02:00
Magne Sjaastad 4cb26f69c5 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-09-15 08:19:41 +02:00
Magne Sjaastad 37d6a44b2a #9194 Area Fill : Area filled curves should use zero as base line 2022-09-15 08:19:41 +02:00
Magne Sjaastad 4b1a6b48a5 Show well completion annotations in horizontal plots (#9193) 2022-09-15 08:19:41 +02:00
Magne Sjaastad 98df56280e #9183 Do not use undo/redo for GeoMech result definition 2022-09-15 08:19:41 +02:00
Magne Sjaastad d3330cff90 Avoid setting summaryCaseX, as this will cause issues for RimSummaryPlotNameHelper
In summary plots, we only use summary case for Y-axis
2022-09-15 08:19:41 +02:00
Magne Sjaastad 3fe6022c33 Plot Manager: Activate individual sub plots per data source 2022-09-15 08:19:41 +02:00
Magne Sjaastad 69f7c23ce4 Make sure curve names and plot titles are updated using Plot Editor 2022-09-15 08:19:41 +02:00
Magne Sjaastad b5708424e2 Guard pointer before use 2022-09-15 08:19:41 +02:00
Magne Sjaastad d2d6e61271 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-09-15 08:19:41 +02:00
Magne Sjaastad 0cfdaab720 #9156 Use PdmPointer to avoid dangling pointer in Plot Editor 2022-09-15 08:19:41 +02:00
Magne Sjaastad dbc4aef384 Set minimum CMake version to 3.15 to avoid warnings on MSVC
Set CMake version on top level to avoid warnings on MSVC when warning level is set to something else than the default.

https://stackoverflow.com/questions/58708772/cmake-project-in-visual-studio-gives-flag-override-warnings-command-line-warnin
2022-09-15 08:19:41 +02:00
Magne Sjaastad f80fde85ca #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-09-15 08:19:41 +02:00
Magne Sjaastad ee715a86e0 #9125 Do not reset user defined axis range when stepping data source 2022-09-15 08:19:41 +02:00
Magne Sjaastad 614bb147f2 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-09-15 08:19:41 +02:00
Magne Sjaastad 09f9269cfa Unity build requires global unique variable names 2022-09-15 08:19:41 +02:00
Magne Sjaastad a3a71d6379 Update actions to latest and remove artifact upload for Linux
Artifact upload failed for Linux -> remove as these are not used
2022-09-15 08:19:41 +02:00
Magne Sjaastad 3a55db15e5 Added field and object keywords 2022-09-15 08:19:41 +02:00
Magne Sjaastad 7e0e160196 Update version on dev-branch after release 2022-09-15 08:19:41 +02:00
Magne Sjaastad d90b1cda99 Merge pull request #9107 from OPM/release-2022-06
Release 2022.06
2022-07-01 13:10:56 +02:00
Magne Sjaastad 5ac0bc3e6e Set version to 2022.06.0 2022-07-01 13:03:16 +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
Magne Sjaastad 3d53c9de1e Do not create curve for empty history vector 2022-06-29 12:42:22 +02:00
Magne Sjaastad aeab09eceb Minor restructure of summary preferences 2022-06-28 14:06:32 +02:00
Magne Sjaastad 7534a219b5 Set version to 2022.06.0-RC-01 2022-06-27 19:25:27 +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
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
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
Magne Sjaastad 36e43ae85b Performance: Move bool outside cell loop 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
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
Magne Sjaastad 7d246c1535 Add missing link library 2022-06-13 13:52:05 +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
Magne Sjaastad 5eafa98038 #9023 Performance : Optionally avoid emitting update signals during update
Do not notify editors when building tree in PdmUiTreeViewQModel::setPdmItemRoot()
2022-06-10 06:25:41 +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
Magne Sjaastad 6931d46b75 Bump version to 2021.10.3-dev.06 2022-06-03 15:26:27 +02:00
Magne Sjaastad 2472f4697c Improve summary category detection for opm-common reader (#9018)
* Move code to quantitynameinforprovider
* Use some region-to-region helper function from opm-common
* Add more fallbacks
2022-06-03 13:54:15 +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
Magne Sjaastad bf8ca66132 #8983 Improve default dock window layout 2022-06-01 12:25:36 +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
Magne Sjaastad 6a5b9f7300 Use deleteChildren() when required to avoid memory leak 2022-05-31 15:05:07 +02:00
Magne Sjaastad 950ec38a14 Add userInterface unit tests 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 c199f960e3 #8949 Plot Update: Improve visual stability when clicking on curves
adjustSize() causes the plot to resize twice which is annoying. Cache the last child count to avoid calls to adjustSize().
2022-05-31 14:20:38 +02:00
Magne Sjaastad fe1acc93a6 #8938 Sub Plot : Fix visibility of legend
Make sure legends are set visible if any items are present in the legend
2022-05-31 14:20:38 +02:00
Magne Sjaastad 787d3ae379 #8868 Well Log Plot: Appearance update not working 2022-05-31 07:29:59 +02:00
Magne Sjaastad 17f169e513 RegressionTests: Add missing show() to mainwindow 2022-05-29 13:25:53 +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 5c224241e1 #8892 Allan Diagram: Show formation data for all time steps 2022-05-27 12:10:58 +02:00
Magne Sjaastad a48ad22d0a Preferences: Avoid calling update on top level RimProject on close 2022-05-27 07:53:51 +02:00
Magne Sjaastad ad66b4674a Bump version to 2021.10.3-dev.05 2022-05-26 21:24:03 +02:00