Commit Graph
71 Commits
Author SHA1 Message Date
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
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 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 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 fef0a2b70c Janitor : Remove obsolete includes in header files 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
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 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 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 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 2a65636ba3 #8250 Use variadic macros and remove obsolete parameters 2021-11-14 15:26:09 +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
Kristian Bendiksen 75fe73ee64 Refactor: Start using setUiTreeHidden where missing. 2021-10-24 09:11:20 +02:00
Magne Sjaastad 163fc707bd Janitor : Remove obsolete logging 2021-09-30 12:13:22 +02:00
Kristian Bendiksen dfa378fb85 #7805 Convert RimPlotCurve to use RimPlotCurveAppearance configuration. 2021-09-29 14:16:43 +02:00
Kristian Bendiksen 1e83254e9e Make P10/P90 calculation style more explicit 2021-09-16 10:38:27 +02:00
Magne Sjaastad f699f5f6b8 #7912 Summary Data Import : Update to ESMRY format 2021-09-13 10:00:45 +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 638f926429 cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Magne Sjaastad b78cf3a4bb Use cmake-format on all cmake files 2021-08-26 19:46:38 +02:00
Magne Sjaastad 49fa169db8 ##7903: Improve ensemble surface names
Update the name of statistics surface when created
Regenerate surface geo only when required
Create statistics surfaces when importing surface ensemble
2021-08-26 15:12:27 +02:00
Kristian Bendiksen 3c784e9549 #7716 Ensemble Well Logs: Use colors from ensemble curve set 2021-06-30 10:43:11 +02:00
Kristian Bendiksen a5bc860526 #7716 Ensemble Well Logs: use filters from summary ensemble curve set. 2021-06-30 10:43:11 +02:00
Kristian Bendiksen 6c11b6f33b Refactor: Make interface to enable reuse 2021-06-30 10:43:11 +02:00
Kristian Bendiksen f31aecf507 Refactor: extract EnsembleParameter into separate file. 2021-06-30 10:43:11 +02:00
Magne Sjaastad 60dbb8a715 #7774 Ensemble Statistics : Remove test for match on first reported simulation time step
When computing statistics curves for an ensemble, we computed these values based on curves having identical same timestamp as the first summary case in the ensemble. If the simulator had numerical issues, this first time step can be slightly different from case to case.

Remove this test on first time step, but keep the optional test on last time step.
2021-06-11 18:16:56 +02:00
Magne Sjaastad 4b7744af26 #7771 Summary Plot Resampling: Crash for identical case names but different size
Avoid mix of curve values of different size
2021-06-11 14:48:36 +02:00
Magne Sjaastad 2e5953216f #7438 Project File: Simulation name is hard coded in plots 2021-06-11 08:06:46 +02:00
Magne Sjaastad 40c44983f4 #7761 Objective Function : Fix typo for history vector 2021-06-10 11:31:26 +02:00
Magne Sjaastad 4de91e885b #7761 Objective Function : Change formula and add several options 2021-06-09 21:22:37 +02:00
Magne Sjaastad 536e656684 #7633 Summary Reader : Resolve symlinks for h5 file management 2021-04-28 14:10:23 +02:00
Magne Sjaastad 1cf1eef048 #7632 Preferences : Add separate tab Eclipse Summary
Remove obsolete includes
2021-04-28 14:10:23 +02:00
Magne Sjaastad 2c91725365 #7622 Summary Restart : Add summary restart reader
Move libecl reader into RifEclEclipseSummary
Add a summary file restart history reader
Simplify RifEclipseSummary
2021-04-27 16:08:57 +02:00
Magne Sjaastad 9b6371c5c7 #7622 Summary Restart : Remove unused includes 2021-04-27 16:08:57 +02:00
Magne Sjaastad a6277c0ddc Make opm summary reader work with mixed casing (#7593)
* #7592 opm-common : Add case insensitive file search
* #7592 opm-common : Find file based on case insensitive search
* #7592 opm-common : Improve error messages
2021-04-19 16:40:29 +02:00
Magne Sjaastad 52799e8b4c Minor HDF adjustments (#7577)
* #7575 Summary HDF : Do not import summary if no UNSRMY file is found
* #7575 Summary HDF : Add optional check on time stamp of h5 file
* Use std::filesystem to check file access
* Do not keep h5 file open
2021-04-16 10:52:30 +02:00
magnesj a44378e2f5 Fixes by clang-tidy 2021-04-15 08:00:07 +02:00
Magne Sjaastad e68c982cf9 #7572 Preferences : Move more into summary settings file 2021-04-14 13:53:21 +02:00
Magne Sjaastad 27e3bc1b56 #7563 HDF5 Export : Add support for defining how many threads to use 2021-04-14 13:53:21 +02:00