Commit Graph

773 Commits

Author SHA1 Message Date
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
Magne Sjaastad
64bed86f8f
Intersection : Add Python support for triangle and result values (#8505)
#8508 Python : Make sure an empty list will be received as empty list in Python

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2022-02-07 17:38:19 +00:00
Magne Sjaastad
f2b6291a6b Refactor RimSummaryCurvesData 2022-02-07 09:55:11 +01:00
Magne Sjaastad
4ea4479a34 Move code to RimSummaryCurvesData 2022-02-07 09:55:11 +01:00
Magne Sjaastad
2b39b95011 Add new axis object the side with least axes 2022-02-07 09:55:11 +01:00
Magne Sjaastad
15797bd739 Preferences : Add flag for default plot type QtCharts or Qwt 2022-02-07 09:55:11 +01:00
Kristian Bendiksen
e92e2e8764 Summary Plot: Add support for multiple plot axis. 2022-02-07 09:55:11 +01:00
jonjenssen
a3ad9d2c1e
Merge pull request #8524 from OPM/tree_filter
Add Project Tree filter support
2022-02-04 15:49:22 +01:00
jonjenssen
35adae926f Add well angles in degrees, not radians. 2022-01-31 15:10:19 +01:00
jonjenssen
66fd79175c
Project Tree updates (#8490)
Split project tree into multiple dockable tree views for plots, keeping one for 3d views.
2022-01-28 13:19:52 +01:00
Magne Sjaastad
ffc77516e8
Summary Import : Support cases with one file per time step (#8493) 2022-01-28 13:18:46 +01:00
Magne Sjaastad
2d2bf0bbc7
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Magne Sjaastad
d5b17976ed
Merge pull request #8459 from OPM/8458-summary-drop-target
Closes #8458
2022-01-21 14:32:51 +01:00
Magne Sjaastad
40d59b7bdc Regression Test : Make it possible to override plot engine
Add GUI to override plot engine to either Qwt or QtCharts in regression test dialog
2022-01-20 14:34:34 +01:00
Magne Sjaastad
5ff9f36448
Merge pull request #8461 from OPM/8460-plot-curve-fixes
Guard access to QtCharts objects that might be null
Fix visibility of items in legend based on state in parent plot
2022-01-20 12:52:36 +01:00
Magne Sjaastad
8f75dcb29f #8456 Early reject if no plot is created 2022-01-18 09:20:23 +01:00
Kristian Bendiksen
f996b5383a #8453 Fix crash when changing plot type (QtCharts <-> Qwt). 2022-01-17 16:23:53 +01:00
Kristian Bendiksen
258fbddc10
Merge pull request #8387 from OPM/qtcharts-summary-plots
Closes #8228 

Major refactoring of summary plotting. Now possible to create plots both with Qwt and QtChart as plotting tool.
2022-01-17 13:14:21 +01:00
jonjenssen
d9bb82de91
Merge pull request #8447 from OPM/intersection_filterupdate
Intersection: depth filter updates
2022-01-16 23:56:00 +01:00
jonjenssen
376451da2e Update GUI text for faults 2022-01-14 16:52:41 +01:00
jonjenssen
9d4b7422e8
Show summary data as tree structure in explorer. (#8430)
* Show summary data vectors in project explorer for both summary cases and ensembles.
* Enable Drag to be able to drag'n'drop data vector into future summary plot
* Make sure tree is refreshed on reload/replace operations
* Provide case id and ensemble id in drag/drop object in addition to address
2022-01-13 09:02:07 +01:00
Magne Sjaastad
dc31a731ad Summary Data Source Stepping : Reintroduce stepping for summary plot
Data source stepping for multi plot is work in progress, and have disabled stepping for single summary plots. This commit will make it possible to do source stepping on single summary plots.
2022-01-11 15:15:56 +01:00
Magne Sjaastad
eb02908dc7 Intersection : Support creation of multiple intersections from sim wells 2022-01-10 22:19:22 +01:00
Magne Sjaastad
051bbe6467 Intersection Depth Filter : Add missing geometry update 2022-01-10 21:57:18 +01:00
Magne Sjaastad
e203c76099
#8425 Summary Multi Plots: Add grouping on wells, groups, ...
* #8425 Multi Graph : Support grouping on object name
* #8425 Multi Graph : Improve creation of new graphs
* #8425 Multi Graph : Improve default tick mark count
* Handle history and non history as identical headers
* #8425 Multi Graph : Increase space below a graph
2022-01-10 14:51:31 +01:00
Magne Sjaastad
aeb0bf0677 #8416 VFP Plot : Support import of all units (Field, PVT, ..) 2022-01-09 19:22:54 +01:00
Magne Sjaastad
fef0a2b70c Janitor : Remove obsolete includes in header files 2022-01-07 10:38:56 +01:00
Magne Sjaastad
dfd8b9986f Janitor: Make sure the default legend is configured for intersection results 2022-01-07 10:38:56 +01:00
Magne Sjaastad
d578771a40 #8411 Flow Cell Results : Set useful default legend 2022-01-07 10:38:56 +01:00
Magne Sjaastad
13425ce0e9 #8410 Color Legend : Add option to center legend around zero 2022-01-07 10:38:56 +01:00
Magne Sjaastad
1e17da2926 Janitor : Add SOIL SGAS SWAT to RiaResultNames
wip
2022-01-07 10:38:56 +01:00
Magne Sjaastad
3d5c3134b2 #8409 Flow Vector Result : Rename to Vector Result 2022-01-07 10:38:56 +01:00
Magne Sjaastad
67993d56e3 #8409 NNC : Make sure user defined legend ranges work 2022-01-07 10:38:56 +01:00
Magne Sjaastad
3c35244809
#8420 Janitor: Remove empty parameters in initialization macros 2022-01-07 08:31:52 +01:00
Magne Sjaastad
7db24e9353 #8405 Source Stepping on multiple graphs
- add copy paste of plots into multi summary plot
- improve data source stepping for multi plot
- improve auto generated plot name, graph name and curve name
Fixes by clang-format

Improve readability
2022-01-06 15:49:20 +01:00
Magne Sjaastad
0fbd668569 #8397 Summary Curve : Add long vector name to auto name for curves 2022-01-06 15:49:20 +01:00
jonjenssen
55ba4bc802
Intersection depthfilter (#8408)
* Implement a simple depth filter to cut all geometry below a certain level for intersections
* Add option to override all curve intersection cut depths from collection.
* Add support for showing intersection above or below threshold. Update label texts.
2022-01-05 15:52:04 +01:00
Magne Sjaastad
8defab9bc1
Merge pull request #8402 from OPM/8401-flow-vector-result
#8401 Flow Vector Result: Handle empty results for first time step
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-01-04 07:29:56 +01:00
magnesj
57e4283d26 Fixes by clang-tidy 2021-12-27 09:42:08 +01:00
Magne Sjaastad
4d21f90bf9
Add summary multi plot
Improve robustness related to update of Summary Plot Manager

Add RimSummaryMultiPlot
Move shared code into RiaSummaryStringTools
Added "Create Summary Multi Plot" to menu of MultiPlot in project tree
2021-12-23 09:30:36 +01:00
Magne Sjaastad
891a2e7c29 #8375 Flow Vectors : Avoid recomputing NNCs when accessing flow data
Avoid include of RigNNCData.h in header files.
2021-12-20 10:23:52 +01:00
jonjenssen
43f298fa97
Merge pull request #8376 from OPM/fault_visibilityupdates
Faults: Add Visibiliy mode for overlapping area
2021-12-17 15:39:22 +01:00
Kristian Bendiksen
df37e30d8f #8365 Curve Appearance: correct visibility of options
Fixes #8365.
2021-12-15 15:13:14 +01:00
Magne Sjaastad
1c70d9a2c5 Janitor : Guard null pointer access 2021-12-14 12:01:06 +01:00
Magne Sjaastad
4090e70507 #8356 Summary Data : Add support for use of summary summary data from Python 2021-12-14 12:01:06 +01:00
Magne Sjaastad
2d5313772e 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.
2021-12-14 12:01:06 +01:00
Magne Sjaastad
bf7917ab7c Janitor: Remove obsolete code 2021-12-14 12:01:06 +01:00
Magne Sjaastad
033cc4f1b7 #8359 Plot Project Tree : Avoid update of plot if possible 2021-12-10 09:46:01 +01:00
Magne Sjaastad
3938e9e600 #8359 Plot Project Tree : Always show multi plot collection
If no multi plots was present, the top level collection was not visible. This caused the project tree to collapse when a new plot was created.
2021-12-10 09:46:01 +01:00
Magne Sjaastad
34fb7d7e84 #8345 Summary Plot Manager : Several improvements
Add checkboxes for individual plots for vectors/addresses and creation of multiplots.
Moved code into RicSummaryPlotBuilder.
Allow UiComboBoxEditor to disable autocomplete.
Create plot using Enter key without modifiers.
2021-12-07 09:53:02 +01:00
Magne Sjaastad
178a5ab583 Rename to Data Sources 2021-12-07 09:53:02 +01:00
Kristian Bendiksen
72ee0d6719 #8275 Ensemble Fracture Statistics: assert when fracture xml cannot be read 2021-12-01 16:27:28 +01:00
Magne Sjaastad
d59584bd93 #8277 StimPlan : Use case insensitive string compare for facies and formations 2021-12-01 16:27:28 +01:00
Magne Sjaastad
5e2129a93b #8295 Guard null pointer access 2021-12-01 16:27:28 +01:00
Magne Sjaastad
5fcb81980d #8310 Summary Plot Manager : Add data source filtering 2021-11-19 15:42:26 +01:00
Magne Sjaastad
c945166e81 Janitor : Remove obsolete code 2021-11-19 15:42:26 +01:00
Magne Sjaastad
640b7406ec #8292 Add docking widget used to manage summary plots 2021-11-17 16:26:47 +01:00
Magne Sjaastad
21fd4f74b5 Refactor code 2021-11-17 16:26:47 +01:00
Magne Sjaastad
bc906f737c Variadic macro updates 2021-11-17 16:26:47 +01:00
Magne Sjaastad
89af752fa9 #8295 Guard null pointer access 2021-11-16 15:03:17 +01:00
Magne Sjaastad
2a65636ba3 #8250 Use variadic macros and remove obsolete parameters 2021-11-14 15:26:09 +01:00
Magne Sjaastad
6940e588b6 #8277 StimPlan : Use case insensitive string compare for facies and formations 2021-11-12 13:03:36 +01:00
Kristian Bendiksen
5545aff4b5 #8275 Ensemble Fracture Statistics: assert when fracture xml cannot be read 2021-11-12 09:39:20 +01:00
Kristian Bendiksen
5a3a5d1f36 Ensemble Fracture Statistics: Fix calculation of occurrence fracture 2021-11-10 12:40:40 +01:00
Kristian Bendiksen
a3e54d5573 Ensemble Fracture Statitics: Handle missing P10/P90 area. 2021-11-10 12:40:40 +01:00
Kristian Bendiksen
acd36761cf #8259 Ensemble fracture statistics: Use Mean value for fracture properties 2021-11-10 12:40:40 +01:00
jonjenssen
08af2e7c17
WIA: Add better support for list parameters (#8266)
* Add better support for list parameters
2021-11-09 18:17:47 +01:00
jonjenssen
e9925ec65a
Show parameter descriptions as tooltips (#8261) 2021-11-08 14:48:52 +01:00
Magne Sjaastad
8461950aa5 #8253 Update curve appearance for plot templates 2021-11-08 12:03:23 +01:00
Kristian Bendiksen
5ad7bfac77 #7027 Stim Plan Model: add unit to legend text for relevant curves 2021-11-08 09:51:22 +01:00
Kristian Bendiksen
53f102ee55 Stim Plan Model: Handle pressure values in field units. 2021-11-08 09:51:22 +01:00
jonjenssen
89a5258405
Merge pull request #8255 from OPM/wia_paramupdates
GeoMech/WIA: update input parameters and model size settings
2021-11-07 23:26:42 +01:00
Kristian Bendiksen
75b556e223 #8244 Ensemble Fracture Statistics: log conductivity per fracture.
Fixes #8244.
2021-11-05 20:02:04 +01:00
Kristian Bendiksen
7747f822bc
#8232 Ensemble Fracture Statistics: Swap min/max and P90/P10 for Beta (#8243)
For property Beta, low values are high (max, P10) case and high values are
low (min, P90) case. Calculation of statistical Beta values now uses
inverted logic.

Fixes #8232.
2021-11-05 20:00:22 +01:00
Magne Sjaastad
0c25794518 #8240 Use correct measured depth for the generated path point at sea level 2021-11-05 19:59:20 +01:00
Magne Sjaastad
12d0e9b89d #8192 Use nullptr as parent to the OpenGL widget to avoid Qt bug 2021-11-05 08:04:21 +01:00
Magne Sjaastad
421163d601 Janitor : Call direct parent when overriding virtual methods
When overriding initAfterReader, make sure to always call direct parent.

Failing to do so caused RimPlotCurve::initAfterRead() not to be called, and color and other appearance settings was not imported correctly.
2021-11-02 14:30:24 +01:00
Magne Sjaastad
4a11022288 #8095 Correlation Matrix: Invert Blue-Red coloring
fix colors


Revert "#8095 Correlation Matrix: Invert Blue-Red coloring "

This reverts commit f69c8bab9ceb17cfe46c02663cb1567291976413.
2021-11-01 15:13:38 +01:00
Jon Jenssen
cc8e9c69f9 Hide internal bool from UI 2021-11-01 14:32:09 +01:00
Magne Sjaastad
3d2409412b
Set default tick marks to min/max for StimPlan model plots (#8221)
Closes #8087
2021-11-01 12:09:25 +00:00
Kristian Bendiksen
cde2be80a7 Ensemble Well Log: hide curves on project reload 2021-11-01 12:51:58 +01:00
Magne Sjaastad
fc50dafc8c #8186 Append points from clipboard to RimPolygonFilter
wip
2021-11-01 11:14:48 +01:00
Magne Sjaastad
8a8019427d #8186 Show coordinates with depth(positive Z) instead of signed Z 2021-11-01 11:14:48 +01:00
Kristian Bendiksen
ce6ea17cd2 #8182 Fracture Statistics: improve floating point format 2021-11-01 08:38:43 +01:00
Kristian Bendiksen
9324c81322 #8217 Well Log Ensemble: Change curve defaults 2021-11-01 08:36:08 +01:00
Kristian Bendiksen
f8ab0b2197 #2029 Well Log Plot: Handle curves with different depth in 'Show Plot Data' 2021-10-29 15:00:46 +02:00
Kristian Bendiksen
09f1544553 #8110 Ensemble Well Log: Missing curves for "Show Plot Data" 2021-10-29 15:00:46 +02:00
Kristian Bendiksen
ea496072b8 #8102 Ensemble Well Log Plot: Fix crash when using TVD 2021-10-29 13:23:13 +02:00
Magne Sjaastad
ccf2116d20 Janitor : Set default values for integers exposed in Python API 2021-10-28 11:17:42 +02:00
Magne Sjaastad
d21be5823d #8212 Python : Make it possible to define the azimuth angle for a fracture template 2021-10-28 10:56:23 +02:00
Kristian Bendiksen
6a135395a6 #8181 Stim Plan Model Plot: make default facies font size "X Small" 2021-10-28 08:41:06 +02:00
Kristian Bendiksen
c3a5b980a4 #8029 Ensemble Fracture Statistics: improve area of statistics result 2021-10-27 21:59:26 +02:00
Magne Sjaastad
32ac5b8e5c #8198 Stimplan: Rename enum texts for orientation of fraction and stimplan model 2021-10-27 08:38:38 +02:00
jonjenssen
c81f6b44db
Merge pull request #8201 from OPM/move_intersections
Move intersection related files into subfolder
2021-10-26 14:41:43 +02:00
Jon Jenssen
19fa581c92 Use correct name for timestep 2021-10-26 14:01:16 +02:00
Jon Jenssen
be59eedd18 Update Well IA and Fault RA processing workflows to work with updated tree UI hidden/visible logic changes. 2021-10-25 18:25:41 +02:00
Magne Sjaastad
d61129e639 #8191 Fracture: Avoid overwrite of elastic properties set from Python 2021-10-25 14:51:01 +02:00
Magne Sjaastad
915745c389 Janitor: Cleanup names of scripted classes in Python
Avoid Rim prefix and use keyword alias to ensure backwards compability
2021-10-25 12:22:36 +02:00
Magne Sjaastad
e4d84675c5 #8180 Python : Make orientation scriptable 2021-10-25 12:22:36 +02:00
Magne Sjaastad
9e051d2769 #8187 Polyline target : Never set the vector values read only 2021-10-25 11:39:32 +02:00
Kristian Bendiksen
9777112527 #8101 Ensemble Well Logs: Hide individual curves in imported las-ensemble 2021-10-24 09:11:20 +02:00
Kristian Bendiksen
75fe73ee64 Refactor: Start using setUiTreeHidden where missing. 2021-10-24 09:11:20 +02:00
Kristian Bendiksen
b760404876 Fix crash on save project in console mode 2021-10-22 08:04:05 +02:00
Magne Sjaastad
6b13a31349 #8143 Performance: Avoid parsing grid GRDECL file twice
Previous implementation parsed grid file twice both for geometry data and properties.
2021-10-21 14:21:16 +02:00
jonjenssen
5bb49f4f57 Initial PP should be set to 0 if not defined. 2021-10-20 15:44:45 +02:00
Magne Sjaastad
da30992d5a Janitor : Guard access to empty vector 2021-10-20 14:44:25 +02:00
jonjenssen
059f30236b
Merge pull request #8168 from OPM/intersection_displacement
GeoMech: Support showing displacements on intersections, too
2021-10-20 01:41:14 +02:00
jonjenssen
b169900c41
GeoMech Intersection updates: support multiple parts (#8160)
* Rearrange intersection classes, split single file into one-per-class

* Support multi-part geomech case intersections
2021-10-15 16:57:18 +02:00
Kristian Bendiksen
6b3ad20587 #8079 StimPlan Model plot: Add Perforation interval in Fm. track 2021-10-15 13:52:45 +02:00
Kristian Bendiksen
6069a771ea #8103 Ensemble Well Logs: Index_K not available as property for geogrid
Made "Index K" available for grdecl, fixed crash, and disabled the depth
equalization when "Index K" is missing in the las files.

Fixes #8103.
2021-10-15 13:51:46 +02:00
Magne Sjaastad
d440e260c0 #6525 Export parameter : Add .GRDECL as default file name extension
Support both upper and lower case of *.GRDECL in file filter when specifying save file name
2021-10-14 19:50:29 +02:00
Magne Sjaastad
04b19e3ad7 #8143 GRDECL import : Refactor grid data and property import 2021-10-14 07:26:13 +02:00
Magne Sjaastad
54a4f35588 #8142 Preferences : Move system settings into separate file 2021-10-13 12:52:02 +02:00
Jon Jenssen
a2acadf3f4 Crash protection 2021-10-09 14:42:09 +02:00
Kristian Bendiksen
7cf56e1e87 #8084 StimPlan Model: Dangling annotations when changing MD 2021-10-08 14:09:22 +02:00
Kristian Bendiksen
296c4e552a #8093 StimPlan Model: Improve naming of barrier annotation. 2021-10-08 14:09:22 +02:00
Kristian Bendiksen
2dbe6666da #8093 StimPlan Model: simplify notations. 2021-10-08 14:09:22 +02:00
Kristian Bendiksen
36eda01be8 #8121 Fracture: provide statistics per fracture 2021-10-08 08:36:01 +02:00
Kristian Bendiksen
daac5b03e9 #8120 Ensemble Fracture Statistics: sort statistics better 2021-10-08 08:36:01 +02:00
Magne Sjaastad
5e0ce333e3 #8066 Project Tree: Move "Valve Templates" to top 2021-10-07 11:28:54 +02:00
Magne Sjaastad
a5be5b6b61 #8115 3D View : Add checkbox to GeoMech color result 2021-10-07 11:28:54 +02:00
Kristian Bendiksen
349d45c8f1 #8083 Well Log Plot: Avoid resetting visible x range. 2021-10-07 11:20:12 +02:00
Kristian Bendiksen
9f86bf15ed #8053 StimPlan Model Plot: Smaller font size for Facies log 2021-10-07 11:20:12 +02:00
Magne Sjaastad
8e371ee63c
Janitor : Remove unused functions (#8128) 2021-10-07 11:12:38 +02:00
jonjenssen
7b78c2d35b
GeoMech: show deformations in grid view (#8123)
Enable support in geomech view to show grid deformations
2021-10-07 02:12:42 +02:00
Magne Sjaastad
0e620c8408 #8115 3D View : Add checkbox for Cell Result 2021-10-06 18:33:04 +02:00
Magne Sjaastad
63ff8ec58b #8115 3D View : Simplify objects at top level 2021-10-06 18:33:04 +02:00
Magne Sjaastad
bfd4457a6a #8113 LAS file import: Do not use message box for warning 2021-10-06 18:31:49 +02:00
Magne Sjaastad
a647d1a038 Well Log Plot : Guard nullpointer access 2021-10-06 07:57:36 +02:00
Magne Sjaastad
414b0601c1 Remove "Separate" from result UI texts 2021-10-06 07:43:32 +02:00
Magne Sjaastad
d8a2bfef54 #8099 Result Mapping: Move result definitions into sub folders 2021-10-06 07:43:32 +02:00
Magne Sjaastad
5596ff28aa #8078 Intersections: Improve names of surface items 2021-10-06 07:43:32 +02:00
Magne Sjaastad
f9c2bb4349 Janitor : Remove confusing concept hasUserRequestedAnimation 2021-10-06 07:43:32 +02:00
Magne Sjaastad
4c01472fc1 #8097 Surface Result : Show separate results when Cell Result is None 2021-10-04 14:08:38 +02:00
Kristian Bendiksen
3d560147b2 Curve Plot Appearance: fix incorrect version check 2021-10-04 14:07:01 +02:00
Kristian Bendiksen
faba3a980d #8027 StimPlan Model Export: Add perforation, formation and facies info 2021-10-04 10:20:09 +02:00
Magne Sjaastad
e2df3e9464
clang-tidy : Add some bugprone- checks 2021-10-04 10:08:13 +02:00
Kristian Bendiksen
59013ca91e #8028 Ensemble Well Logs: formation annotation from K-Layer offsets 2021-10-04 08:56:43 +02:00
jonjenssen
72ce82b08b
Add parameter value check to see if it is possible to continue or not. (#8091) 2021-10-01 16:32:11 +02:00
jonjenssen
69c829dc32
Make sure we load two results files after wia script has completed. (#8088) 2021-10-01 15:15:30 +02:00
Magne Sjaastad
9bc3036e8a Janitor : Build AABB search trees before multi threaded loop
The construction of a AABB tree uses OpenMP internally, and will cause crash if started from a OpenMP loop.
2021-09-30 12:13:22 +02:00
Magne Sjaastad
163fc707bd Janitor : Remove obsolete logging 2021-09-30 12:13:22 +02:00
Kristian Bendiksen
6440bd5b8d #8052 StimPlan Model Plot: tweak default shown tracks. 2021-09-29 14:57:31 +02:00
Kristian Bendiksen
d9af96cd2a #8054 StimPlan Model Plot: Show date in stress legend. 2021-09-29 14:57:31 +02:00
Kristian Bendiksen
dfa378fb85 #7805 Convert RimPlotCurve to use RimPlotCurveAppearance configuration. 2021-09-29 14:16:43 +02:00
Kristian Bendiksen
ea3fdef281 Refactor: extract code for detecting logarithmic result 2021-09-29 14:16:43 +02:00
Kristian Bendiksen
e9b070c57f #7967 Ensemble Well Log: make PERMX/PERMZ plots logarithmic by default 2021-09-29 14:16:43 +02:00
Kristian Bendiksen
3ce0edb046 #7805 Ensemble well logs: Add curve appearence settings 2021-09-29 14:16:43 +02:00
Kristian Bendiksen
ed19afd126 #8044 StimPlan Model: Show anchor position depth with positive sign. 2021-09-29 14:04:11 +02:00
Kristian Bendiksen
9cec017895 #8044 StimPlan model: Set Extraction Depth Boundaries relative to Anchor position 2021-09-29 14:04:11 +02:00
Kristian Bendiksen
f407acd5fa #8034 Pass reader settings to eclipse loading methods. 2021-09-29 09:40:27 +02:00
jonjenssen
66852c4dad
WellIA: Load results after external computations script has completed (#8062)
* Load result after modeling has completed.
* Select new geomech view in project tree when importing a new geomech case
2021-09-28 12:39:54 +02:00
jonjenssen
d09ae4e1cb
Improved ODB support (#8046)
* Experiments for supporting visualization of new ODB files from WIA workflow

* Some more experiments to get odb working for wia results

* More work in progress, experimenting to get wellIA result files to load properly

* Make sure all part geometries use the same global bounding box

* Clean up code

* Add some safeguards for data calculations
Move parts below grid in project tree

* Fix warnings

* Add support for C3D8RT elements
Add some more safeguards for missing data
Remove strange part handling

* Support elements with reduced number of integration points by pretending to have 8.

* Change integration point mapping to correct order (ref. Stein and Abaqus 2019 doc)

* Do not allocate too much memory for element nodal results for 20 element node types

* Code cleanup.
Revert back to old integration point numbering scheme (ref. Stein)

* And, another integration point order update...

* Update comments
2021-09-27 12:44:29 +02:00
Kristian Bendiksen
ed2beec359 #8038 Python: add api to insert a fracture template and a fracture at given MD 2021-09-24 12:32:42 +02:00
Magne Sjaastad
15b4077876
Fix some minor issues (#8043)
* #8016 Surface Ensemble : Update 2d intersection views
* Ensemble WLP : Make code more robust to missing data
* Janitor: Do not add files to recently used list when importing ensemble
* #8016 Ensemble WLP : Delete all temporary plots in one go
* #8016 WLP: Create a default date string that can be exported to LAS
* #8016 Janitor: Use *.dev as default well path extension
2021-09-24 10:21:16 +00:00
Magne Sjaastad
515168600f
Improved UI for surface band and curves (#8026)
* Add surface intersection bands and curves
* #8024 Ensemble Surface : Fix mix of files for a ensemble layer surface
2021-09-23 09:59:29 +02:00
Kristian Bendiksen
3d0fa2e7c7 Remove excessive debug logging of well centers. 2021-09-23 09:21:15 +02:00
Kristian Bendiksen
ebeaa8088c #8030 Ensemble Fracture Statistics: report area for individual fractures 2021-09-23 09:21:15 +02:00
Kristian Bendiksen
02b5246a20
#8006 Ensemble Well Log: Create ensemble from well path in project (#8018) 2021-09-21 15:33:18 +02:00
Magne Sjaastad
2480a782d1
Ensemble Surface improvements
* Performance : Improve surface import
* Performance: Use opm when importing files
* Surface : Use the triangle size as basis for the maximum search distance
* Performance : Resample surfaces in parallell
* Performance: Import file surfaces in parallell
* Ensemble Surface : Create one ensemble per surface
2021-09-16 14:28:19 +02:00
Kristian Bendiksen
1e83254e9e
Make P10/P90 calculation style more explicit 2021-09-16 10:38:27 +02:00
Kristian Bendiksen
cd91a96871
#7953 StimPlan Model: always recompute anchor position and thickness direction. (#8004)
This is to support manually changing the MD directly in the project file.

Fixes #7953.
2021-09-14 10:46:12 +02:00
Kristian Bendiksen
1df25ed71c
#7966 Ensemble Well Log: depth equalization and filter by curve set options in well log plot (#8001) 2021-09-14 10:44:52 +02:00
Kristian Bendiksen
cf502b7e93
Ensemble Fracture Statistics: hide plot update behind USE_QTCHARTS (#7998) 2021-09-13 12:25:31 +02:00
magnesj
33ad42d694 Fixes by clang-tidy 2021-09-13 11:32:31 +02:00
Kristian Bendiksen
1312f1d7b5
7962 ensemble fracture stats skip zero width (#7992)
* #7962 Ensemble Fracture Statistics: Add option to exclude zero width fractures

* #7962 Ensemble Fracture Statistics: fix data accessor used in statistics plot.

* #7962 Ensemble Fracture Statistics: Update referring plots.

* Ensemble Fracture Statistics: parameter name

* Fixes by misspell-fixer (#7994)

Co-authored-by: kriben <kriben@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kriben <kriben@users.noreply.github.com>
2021-09-13 08:34:03 +00:00
Magne Sjaastad
7b1185cec4
Surface Folders
* #7978 Ensemble Surface : Use collection instead of specialized class
* Review updates
2021-09-13 10:16:09 +02:00
Magne Sjaastad
f699f5f6b8 #7912 Summary Data Import : Update to ESMRY format 2021-09-13 10:00:45 +02:00
Kristian Bendiksen
dab22c4716
#7986 Ensemble Fracture Statistics: block negative number of cells. (#7991) 2021-09-13 08:42:04 +02:00
Kristian Bendiksen
117d201703
#7963 Ensemble Fracture Statistics: add progress bar. (#7985)
Also avoid recalculating the statistics for each added file.
2021-09-10 14:54:46 +02:00
jonjenssen
a5b80c649b
Merge pull request #7960 from OPM/geomech_WIA4
GeoMech: Well Integrity Analysis
2021-09-09 17:34:27 +02:00
Kristian Bendiksen
6173b4f421 #7969 Rename command to "Create Ensemble Surface" 2021-09-09 14:07:48 +02:00
Kristian Bendiksen
8f5beb8851 #7928 Add user interface for exporting multiple well logs. 2021-09-09 08:38:00 +02:00
Kristian Bendiksen
a3a2aac9b6 Add method to remove plot in Well Log Plot Collection. 2021-09-09 08:38:00 +02:00
Kristian Bendiksen
2b3fbe022e #7927 Add user interface for exporting multiple surfaces. 2021-09-03 14:59:40 +02:00
Magne Sjaastad
7260d318e4 #7929 Python : Make sure progress dialog is created after early exit
On some systems, the progress dialog triggers redraw with incomplete data and causes crash. Make sure the progress dialog is created after early exit
2021-09-03 10:01:46 +02:00
Magne Sjaastad
640c59d682 #7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Magne Sjaastad
b397c230ac #7940 Python : Traverse inheritance stack to find correct script class name 2021-09-02 08:55:35 +02:00
Magne Sjaastad
be29b278f2
#7929 Python : Avoid creation of new view when opening case 2021-09-01 08:25:22 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00