Commit Graph

181 Commits

Author SHA1 Message Date
Gaute Lindkvist
1649d27d0f Remove superfluous Signal::disconnect() calls 2020-09-17 08:22:00 +02:00
Kristian Bendiksen
ca0a596817 #6369 Mud Weight Window: Update well log extraction curves WBS plot when MWW parameters change. 2020-08-31 15:31:52 +02:00
Gaute Lindkvist
af44659860 #6293 Make sure stacking is only available for some curv
* Well Log Curves and Summary Curves for now.
2020-08-11 09:57:56 +02:00
Gaute Lindkvist
d861af44b6 Temp work 2020-07-27 08:47:01 +02:00
Gaute Lindkvist
33fb733110 #6118 Automatic red, green and blue curve colors for oil, gas and water properties when using area fill
* Also removed green, red and blue from the cycled well log colors to avoid clashes.
* Only automatic when area fill is on.
* Potential color clashes for the general case with multiple Oil-curves in the same plot.
2020-06-22 11:02:33 +02:00
Kristian Bendiksen
89473aa9bd #6035 Handle missing values in fracture model plot. 2020-06-10 07:20:39 +02:00
Kristian Bendiksen
20ca3354b9
Stimplan preprocessor refact (#5895)
* #5633 Add Fracture Model data object.
* #5633 Add visualization for Fracture Model.
* Use thickness direction well path.
* #5834 WIP Fracture Model: Extract facies names along thickness direction vector
* Update to class enums.
* Remove RimFractureModel dip, tilt and azimuth (no longer used).
* #5824: Fix fracture model direction relative to formation dip
* Workaround problem in generated python code which breaks tests on linux. See #5862.
* Update name of thickness direction well path.
* #5834 Add import command for facies roff file.
* #5834 Show color legend data in facies track.
Also make it possible to change the data source for the curve data in plot.
* Fracture Model: replace "Thickness Type" with "Extraction Type".
* Use shorter curve legends in fracture model plot.
* Use class enum for RimFractureModel::ExtractionType.
* Use RimProject::current() instead of RiaApplication::instance()->project().
* Simplify RimFractureModel by not implementing Rim3dPropertiesInterface.
* Use scoped enums in RiaPlotAnnotationTool.
* Remove unused RimFractureModelPlot fields.
* Hide fracture model plots field, and add accessor methods.
2020-05-14 06:39:55 +02:00
Gaute Lindkvist
24d58e3a98 Fix crash in WBS curves when rkb diff is 0 2020-05-13 13:03:28 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad
bc400af345 #5837 Well Log Curves : Show icons in tree view 2020-04-28 07:31:00 +02:00
Magne Sjaastad
95fc63fe7c Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
f89dcf4e52 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
1c75d9b4bd #5663 Fix element property input for UCS 2020-03-10 20:11:54 +01:00
Gaute Lindkvist
bd1d1caacc #5591 Avoid saw tooth shape on normalized stresses 2020-03-02 15:04:25 +01:00
Magne Sjaastad
0cd0c7d80d #5612 Saturation Pressure Plots : Remove duplicated code 2020-02-28 12:39:24 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
c9f5b47a90 Support different units when importing and exporting WBS LAS. 2020-02-03 15:56:07 +01:00
Gaute Lindkvist
b40f3dcd39 #5399 Export LAS-curves of WBS-parameters with the LAS-name rather than the Ui name 2020-01-29 09:45:38 +01:00
Gaute Lindkvist
954bf1e02e Support setting of child fields from Python and pass in WbsParameters if provided
Also fixes #5354
2020-01-22 09:28:46 +01:00
Gaute Lindkvist
10f749f356 #5219 Implement support for TVDRKB for well log depth
* Also show air gap in title when TVDRKB is selected and not otherwise
2020-01-08 14:35:48 +01:00
Gaute Lindkvist
1b345fa20f Fix Pseudo-length labels for RFT plots 2019-11-29 15:03:37 +01:00
Gaute Lindkvist
431f0ff347 Add additional WBS curves and rewrite parameters 2019-11-27 10:14:15 +01:00
Gaute Lindkvist
60b09d7bfd #5061 WAP: fix update of well allocation data when changing depth type 2019-11-19 13:19:56 +01:00
Magne Sjaastad
7c8cf60dba clang-format : Set AllowAllParametersOfDeclarationOnNextLine to false 2019-11-04 14:35:41 +01:00
Gaute Lindkvist
e8c745d704 Implement creation of combination plots from selected plots 2019-10-31 15:12:54 +01:00
Gaute Lindkvist
edead9e3af Made RiuQwtPlotWidget axis operations much more general 2019-10-28 10:18:03 +01:00
Gaute Lindkvist
c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +02:00
Gaute Lindkvist
0e5b9687b4 Fix missing GeoMech result definition in Well Log Curves 2019-10-18 08:14:34 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
Gaute Lindkvist
2cc822399b Renames following review 2019-10-03 14:57:46 +02:00
Gaute Lindkvist
f5b10b4d70
#4800 WBS: Add parameter track which is off by default (#4816)
* Initial WIP

* Identical results with spreadsheet

* Improved and more robust smoothing by filtering points first

* Improved smoothing and more GUI

* Include mixed-label for smoothing threshold

* Implement WBS parameters track

* Much better alignment of tracks without flickering

* Don't replace user description when dragging and dropping tracks

* Fix missing OBG and SH curves

* Fix curve and track D&D

* Make sure parameter curves aren't WBS curves
2019-10-03 14:41:37 +02:00
Gaute Lindkvist
55f0cac713
#4664 Implement smoothing of WBS curves (#4809)
* Initial WIP

* Identical results with spreadsheet

* Improved and more robust smoothing by filtering points first

* Improved smoothing and more GUI

* Include mixed-label for smoothing threshold
2019-10-03 14:16:56 +02:00
Gaute Lindkvist
05b5417fdd #4798 Set ST S33 as default geomech curve 2019-09-30 18:48:02 +02:00
Gaute Lindkvist
f2eac1e2ec #4792 Fix xValue range for Well Allocation Plots 2019-09-30 15:35:15 +02:00
Gaute Lindkvist
1968703da8 #4782 Well Log Plots: make default variable PORO 2019-09-27 10:06:15 +02:00
Gaute Lindkvist
3f7fde5227
#4695 Add color shading annotation for WBS parameters, similarly to formations (#4757)
* First wbs parameter shading
* Fix wrong Grid->grid rename in GRPC CMakeLists.cmake
* Support color shading of Well Log Tracks based on WBS parameters
* Further improvements to shading for WBS
* #4696 Set RIG_NODEL Por-Bar as default Well log extraction curve parameter for GeoMech
* Fix canvas alignment issue for new WBS plots
2019-09-25 11:59:31 +02:00
Gaute Lindkvist
460fbb6b9c More work on setting default values when creating new well log plots 2019-09-11 15:54:59 +02:00
Gaute Lindkvist
8b052f3c04 #4696 Make Nodel, POR the default GeoMech well log extraction curve 2019-09-11 13:46:31 +02:00
Gaute Lindkvist
fb12ad7db0 #4696 Sensible defaults for well log plot and improve reliability of common date source 2019-09-11 12:51:25 +02:00
Gaute Lindkvist
129df990ae #4665 Implement a Well Bore Stability Plot class
* Trigger updates when Ui fields are changed
  * Show only WBS parameter options that have available data
  * Clang-format WBS stuff
2019-09-09 13:12:02 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Magne Sjaastad
e4672aefa9 #4348 System , cppcheck : Remove duplicate test 2019-04-20 13:46:12 +02:00
Gaute Lindkvist
d69153c013 #3489 Fix legend text for flow diagnostics. 2018-11-22 13:39:07 +01:00
Gaute Lindkvist
0460eb2ac2 #3309 Toolbar buttons for well log plot data source and make sure only visible curves and zonation/attributes affect the data source.
* This also required adding some updateConnectedEditors for updating the selected property views when changing the toolbar.
2018-09-10 10:26:11 +02:00
Gaute Lindkvist
5a2ecf25c2 Rename measuredDepth and TVD methods in well log extractor code 2018-09-04 12:02:23 +02:00
Gaute Lindkvist
12484bf1e9 #3297 Make casing shoe a right-angled triangle and refactor symbols
* Put plot symbol enum inside the symbol class.
* Put line style enums inside the line class.
* Add custom capability.
2018-09-04 12:02:06 +02:00
Gaute Lindkvist
4c84bbb8a3 #3014 and #3022 Well Bore Stability: LAS and element table input and cleaned up extraction code. 2018-09-04 12:01:07 +02:00
Gaute Lindkvist
a2c3c9d03f #3182 Clean up well log plot names 2018-08-08 08:10:57 +02:00