Commit Graph

215 Commits

Author SHA1 Message Date
Gaute Lindkvist
438febe049 #5472 Add indication of water depth to formation and casing track
* Also add lighter formation lines as an option and make this default for WBS plots
2020-02-07 13:52:42 +01:00
Gaute Lindkvist
228b651789 #5456 Auto zoom X in Well Log Plots if the range changes considerably when changing curve data 2020-02-04 16:24:28 +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
56d141d4c3 Support setting Wbs-parameters from Python. 2020-01-22 09:28:46 +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
edc276db4d Well Log Plot and Well Distribution Plots no longer inherit Multiplot
* Also cleaned up RiuQwtPlotWidget
2020-01-16 14:33:33 +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
9ffbd97f8c Multi page plot works 2020-01-07 14:26:46 +01:00
Magne Sjaastad
1c4feade71 #5279 Formations GeoMech : Add const and simplify access 2020-01-03 11:59:17 +01:00
Magne Sjaastad
afc9ace33e #5279 Formations : Add const and simplify access 2020-01-03 09:59:38 +01:00
Gaute Lindkvist
62817054c4 Improve canvas top alignment in well log plots 2019-11-27 13:22:23 +01:00
Gaute Lindkvist
431f0ff347 Add additional WBS curves and rewrite parameters 2019-11-27 10:14:15 +01:00
Gaute Lindkvist
85d683634c Further refactoring 2019-11-20 13:14:45 +01:00
Gaute Lindkvist
d9043db5e0 Refactor RimPlotWindow and RimPlotInterface 2019-11-20 13:14:45 +01:00
Gaute Lindkvist
4dd0651dae Remove width scaling factors 2019-11-20 13:14:45 +01:00
Gaute Lindkvist
8252ab8808 Rename GridPlot to MultiPlot throughout 2019-11-20 13:14:45 +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
Gaute Lindkvist
ae9575feb2 #5049 Fix missing axis title for well allocation plots 2019-11-19 10:33:18 +01:00
Magne Sjaastad
0caaaf7159 clang-format : Fixes related to bug in clang-format plugin
The LLVM/clang plugin to visual studio has a bug related to single space formatting changes. This commit fixes invalid formatting related to these issues.
2019-11-07 07:37:50 +01:00
Gaute Lindkvist
c1dfe193d7 #4990 Column and row span 2019-11-05 15:34:36 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +01:00
Magne Sjaastad
93f6bc8c72 Janitor : Remove invalid conditionals 2019-11-03 11:43:46 +01:00
Gaute Lindkvist
30db19a1d0 Create Grid plot collection and allow creation of new combination plots 2019-10-31 14:09:50 +01:00
Gaute Lindkvist
edead9e3af Made RiuQwtPlotWidget axis operations much more general 2019-10-28 10:18:03 +01:00
Gaute Lindkvist
0e9cda8e84 Fix update of fonts in summary and grid cross plot axes 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
4a4653a0df
Better minimum width for well log tracks (#4824)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots
2019-10-07 08:32:34 +02:00
Gaute Lindkvist
45d6acadaa Fix Well Log Plot depth axis label 2019-10-03 15:45:20 +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
d7197b7a88 Fix crashes in well log plots 2019-09-26 08:45:04 +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
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
baa266f0f9 Improve lines and shading 2019-09-10 16:52:32 +02:00
Gaute Lindkvist
06cea12447 #4666 Support color fill for formations in Well Log Tracks 2019-09-10 13:23:29 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +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
ba9b84850d #4368 RFT and PLT plots : Disable advanced grid line settings 2019-04-26 09:30:28 +02:00
Magne Sjaastad
157ff774e8 #4068 System : Add forward declare 2019-02-12 14:49:37 +01:00
Jacob Støren
58ac488929 #3958 Refactoring : RigResultAccessorFactory simplification
To make the result address including basetimestep info reach the CellResultsData class.
2019-01-30 15:25:29 +01:00
Gaute Lindkvist
4591d9f20e #3615 Fix z-order so packers are added after other components
*  Valves are added last of all
* This way packers are displayed on top of perforation intervals and fishbones.
2018-12-05 15:47:16 +01:00
Gaute Lindkvist
ae8cb9d210 #3741 Make it possible to enable/disable all well path components in plots and 3d view.
* Add check box to casing design and update of plot
* Add isEnabled() method to component interface which controls plotting.
2018-11-22 13:39:08 +01:00
Gaute Lindkvist
e3b7cc0558 #3521 Make different size casings take up different columns. 2018-10-18 20:15:31 +02:00
Magne Sjaastad
766fea603e #3512 System : Remove unused functions 2018-10-18 15:14:25 +02:00
Gaute Lindkvist
09f3e0e772 #3466 Minor improvements to plotting of completions 2018-10-09 15:27:46 +02:00
Gaute Lindkvist
e61e71ecbf #3467 Improved code using RimWellPathComponentInterface 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
1019eeaa6a #3467 New interface class for completions +use RiaDefines::CompletionType 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
f3a2521eda #3466 Add attribute items to legend by creating a new RiuQwtPlotItemGroup that combines sub-graphics 2018-10-09 14:05:57 +02:00
Gaute Lindkvist
fbc49e2b02 #3443 MSW: Visualise perforations, fishbones, packers and fractures in well log plots 2018-10-05 15:35:15 +02:00
Bjørn Erik Jensen
492904d465 Fix warnings 2018-09-27 10:01:45 +02: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
8e66ba405c Fix crash following legend updates. 2018-09-07 15:19:43 +02:00
Gaute Lindkvist
612409ac59 #3337 Make sure well log plots maintain legend order if you hide and show items. 2018-09-07 14:45:59 +02:00
Gaute Lindkvist
bdcdf49269 #3304 Implement common data source changing for zonation and well path attributes 2018-09-07 14:45:59 +02:00
Gaute Lindkvist
a30139c08a Range adjustment for tracks with well path attributes 2018-09-05 15:27:34 +02:00
Gaute Lindkvist
847c6127b0 #3308 Fix formation names in well log tracks. 2018-09-05 15:19:22 +02:00
Gaute Lindkvist
385f7ad0da #3305 Implement well path attribute track in well bore stability plots
* Fix depth start and end of attributes to match the TVD/MD display setting.
2018-09-05 15:19:22 +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
f8045826c7 Rename track formation source from "Well Path" to "Well Picks for Well Path"
* Well Path is already used elsewhere in the same group
2018-08-30 16:07:14 +02:00
Gaute Lindkvist
adc9ad322a #3187 symbols and labels for well path attributes, initial work. 2018-08-30 16:06:20 +02:00
Gaute Lindkvist
714aafc05c #3155 Slightly tweak X-autozoom so it zooms to the nearest outside minor tick.
* Looks much better and makes the problem of having tick labels overlap with neighbour tracks much rarer.
2018-07-16 08:57:28 +02:00
Gaute Lindkvist
ca1f9506b1 #3155 Implement grid lines settings for depth axis as well
* Done to "get away with" removing tick marks on all depth axes apart from the first track
2018-07-16 08:57:28 +02:00
Gaute Lindkvist
162d82f8b7 #3155 Remove track spacing 2018-07-16 08:57:28 +02:00
Gaute Lindkvist
f8a7ba541f #3156 Make formation labels optional even if formation lines are shown 2018-07-16 08:57:28 +02:00
Gaute Lindkvist
ff84d81e44 Clean up after review
* Disable grid lines and tick marks if x range is empty.
* Rename intervals to intervalCount when it is an integer count.
* Fix some compile warnings.
2018-07-02 10:29:32 +02:00
Gaute Lindkvist
470c28677c Fix crash when loading formation names. 2018-07-02 10:29:31 +02:00
Gaute Lindkvist
fc821ea524 Make updating of well log plots more robust
1. Don't update tracks in RimWellLogPlot::createViewWidget.
 * We haven't set up the MDI windows properly yet.
 * Instead implement updateVIewWidgetAfterCreation override and do update tracks there.
2.  Perform calculateAvailableDepthRange in applyZoomAllDepths
3. Do replot of track widgets twice when changing visible range. Need to investigate this one further.
2018-07-02 10:29:31 +02:00
Gaute Lindkvist
ec63f0c28e Setter methods for grid lines, plot title visibility and tick intervals
* Allows us to set them programatically.
2018-07-02 10:29:31 +02:00
Gaute Lindkvist
5d6188b39c #3103 Manual tick marker setting 2018-07-02 10:29:30 +02:00
Gaute Lindkvist
707a7a91e6 #3103 Make grid lines match major and minor interval and make the grid lines optional 2018-07-02 09:51:10 +02:00
Gaute Lindkvist
2a9d506ae0 #3103 Set axis tick intervals based on track width: more ticks for wide tracks. 2018-07-02 09:51:10 +02:00
Gaute Lindkvist
20a145d760 #3104 More sensible variable width for users: drop down list of narrow, normal, wide, etc. 2018-06-27 08:35:17 +02:00
Gaute Lindkvist
e4288972de #3104 Well Log Plots: Implement variable width for tracks 2018-06-27 08:35:17 +02:00
Gaute Lindkvist
405d470eda #3098 Show depth axis only for left-most plot. They all share the same depth axis anyway. 2018-06-27 08:35:17 +02:00
Magne Sjaastad
ad4e0bccc5 Guard null pointer access 2018-06-26 13:14:37 +02:00
Jacob Støren
5059201126 #2609 Cleanup RimWellPath ready for refactor into two classes 2018-06-18 17:13:30 +02:00
Gaute Lindkvist
660b6a6430 #2944 Hide auto scale toggles for well log plots. 2018-05-23 11:35:24 +02:00
Gaute Lindkvist
208313f672 #2944 Stop auto-zooming on load of Well Log Curves. 2018-05-23 11:29:16 +02:00
Magne Sjaastad
ca0c13be41 #2544 Use helper class to get extractors 2018-03-14 14:35:45 +01:00
Rebecca Cox
84725ced9b Make branch detection toggle hidden if show formations is toggled off 2018-01-26 15:49:18 +01:00
Rebecca Cox
007602dbf9 #2326 Well allocation plot: Remove formation options regarding well path 2018-01-26 10:28:24 +01:00
Rebecca Cox
9617481406 #2327 Formation RFT Plot: Read tvdss from well pick files 2018-01-24 08:21:22 +01:00
Rebecca Cox
9a41e1c134 #2321 Avoid crash when opening a project file with a PLT/RFT plot and where main plot window was closed before saving 2018-01-05 11:11:27 +01:00
Rebecca Cox
074a8fc546 #2303 Formations: Remove well pick filter when depth type is PL 2018-01-05 08:36:59 +01:00
Rebecca Cox
cf12e5ae36 #2303 Formations: Update well path only when formation source changes 2018-01-05 08:36:59 +01:00
Rebecca Cox
fc2e638ba2 #2303 Formation: Make formations for RFT and PLT work 2018-01-05 08:36:59 +01:00
Rebecca Cox
6e4449960f #2227 Well formatins: Clear well path if it does not have well picks 2017-12-12 08:38:04 +01:00
Rebecca Cox
fb876f8fdc #2227 Well formations: Remove fluid annotation duplicates 2017-12-11 15:12:12 +01:00
Rebecca Cox
c3cd0a650e #2227 Well formations: update ui. remove level from RigWellPathFormation 2017-12-11 15:12:12 +01:00
Rebecca Cox
406c371682 #2227 Well formation: Make level filter dynamic 2017-12-11 15:12:12 +01:00
Rebecca Cox
fa3d9c4fc2 #2227 Well Formation: Add filter. Filter options not dynamic 2017-12-11 15:12:12 +01:00
Magne Sjaastad
46bad03c4a #2127 Clamp sim well branch index to valid range 2017-12-08 10:24:14 +01:00
Magne Sjaastad
0e5e88008a #2127 Sim Well Branches : Move logic related to uiOrdering to RiaSimWellBranchTools 2017-12-08 10:24:14 +01:00
Magne Sjaastad
1841379e64 #2127 Sim Well Branches : Major refactor of sim well branch computation
Remove local branch geometry caches
Add checkbox to control if branch detection should be used
Add RiaSimWllBranchTools and move helper functions from RimProject
2017-12-08 10:24:14 +01:00
Rebecca Cox
a2d2879bab #2227 Well formations: New Rig data stucture with top+base MD and level 2017-12-08 09:27:37 +01:00
Rebecca Cox
5145d3f8a5 #2223 Well Formations: Rename to Well Picks where sensible 2017-12-05 14:14:53 +01:00
Rebecca Cox
899a226a38 #2226 Well Formations: Avoid adding "Top" to the formation names 2017-12-05 12:56:21 +01:00
Rebecca Cox
99dd255ee8 Formations: Change group name 2017-12-04 10:26:34 +01:00
Rebecca Cox
32c1fa25d5 Guard for if eclipseCaseData is null 2017-12-01 15:39:54 +01:00
Rebecca Cox
6fc888d718 Capitalize ui name in PDM fields 2017-11-30 13:44:18 +01:00