Commit Graph

862 Commits

Author SHA1 Message Date
Kristian Bendiksen
3a77d77689 #9363 StimPlan: Incorrect extraction size when changing extraction offsets from python 2022-10-24 07:47:09 +02:00
Kristian Bendiksen
f7a2acc3cf StimPlanModel: avoid crashing on incomplete projects. 2022-10-24 07:47:09 +02:00
Magne Sjaastad
0fa001fc70
Opm Parser: Include PATHS when importing WSEGLINK
* Opm Parser: Include PATHS when importing WSEGLINK
Add PATHS to supported keywords to be able to use include files with alias in file path.
* Move opm-parser-tests into OPM solution folder
2022-10-21 07:47:27 +02:00
Magne Sjaastad
493531626f
Rft segment plot adjustments
* #9371 RFT Curves: Add scaling factor
* Make sure isUsingAutoName is guarded by project file date
* Rearrange font and legend group in property editor
2022-10-19 15:13:15 +02:00
Magne Sjaastad
760bfaeec2 #9369 Curve Probing: Show data from other curves in tooltip text
Optionally show data from other curves in tooltip text when hoovering over a curve point
2022-10-18 07:22:56 +02:00
Magne Sjaastad
7c2941aedd #9366 RFT: Show all results with supported item count 2022-10-18 07:22:56 +02:00
Magne Sjaastad
c8d6e29447 #9364 Well Log Plot and Track: Activate and improve Show Plot Data 2022-10-18 07:22:56 +02:00
Magne Sjaastad
1d23e8f5c9
Show packer in RFT topology track
* Show packers in topology track
* Support optional display of property axis values
* Add legend item clickable option to RimPlotWindow
2022-10-13 13:03:55 +02:00
Magne Sjaastad
7591b480a3 #9357 StimPlanModelPlot: Plot visibility and logic updates
- update project tree after plot is generated
- set default text tracker orientation to vertical
- call base class fieldChangedByUi to handle hiding of Stimplan plot
2022-10-13 09:03:56 +02:00
Magne Sjaastad
e7a486c802
Improve curve naming for plot and use in RFT segment plots
* Improve plot naming for depth track plots
* Move template text replace to string tools
* More data available for object template text
* Set plot visible and define default object name template text
2022-10-12 12:41:08 +02:00
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