Skip to content

#12276 Add RFT correlation report plot with cross-plot and tornado plot#13887

Merged
magnesj merged 6 commits intodevfrom
rft-correlation-plot-01
Apr 16, 2026
Merged

#12276 Add RFT correlation report plot with cross-plot and tornado plot#13887
magnesj merged 6 commits intodevfrom
rft-correlation-plot-01

Conversation

@magnesj
Copy link
Copy Markdown
Member

@magnesj magnesj commented Apr 16, 2026

Closes #12276

Summary

  • RimRftCorrelationReportPlot — new composite plot combining an RFT well log track, a parameter cross-plot, and a tornado plot in a dockable layout
  • RimParameterRftCrossPlot — scatter plot of an ensemble parameter vs. RFT-derived mean pressure in a configurable depth range, with click-to-select realization
  • RimRftTornadoPlot — correlation-sorted bar chart showing which ensemble parameters correlate most strongly with RFT pressure, with click-to-select realization
  • Click-to-select & highlight — clicking a point or bar highlights the selected realization across all panels (orange-red color, increased line thickness in RFT plot, X-cross symbol in cross-plot)
  • Access — right-click inside any RFT well log plot → Create RFT Correlation Report, also via the project tree context menu
  • Show Plot Data — supported for the cross-plot and tornado sub-panels

magnesj added 6 commits April 16, 2026 10:17
Guard against out-of-bounds IJK and invalid cells in RifReaderRftInterface.
Guard against null eclCase in RimDataSourceForRftPlt::address.
Guard against null plot widgets in RiuMultiPlotPage.
Fix interpolateMdFromTvd corrupting valid entries after infinity TVD values
by skipping infinity entries in the first pass and tracking only the last
two valid MD values for the startMD adjustment.
…plots

New shared event filter class that installs on a QwtPlot canvas and calls a
user-supplied callback with the closest data point on each click.

Migrate the local CurveSelectorFilter in RimParameterResultCrossPlot to use
the new shared class. Add Z_HIGHLIGHTED_CURVE to ZIndex enum and replace all
raw z-order integers in RiuQwtPlotCurveDefines with named constants.
New classes:
- RimRftCorrelationReportPlot: composite plot showing an RFT well log track
  alongside a parameter cross-plot and a tornado plot sub-plot.
- RimParameterRftCrossPlot: cross-plot of ensemble parameters vs RFT-derived
  measured depth values, with click-to-select realization support.
- RimRftTornadoPlot: tornado plot with correlation-sorted parameter list and
  click-to-select realization support.
- RicCreateRftCorrelationReportFeature: context menu command on RimWellRftPlot
  that creates a RimRftCorrelationReportPlot in the correlation plot collection.

Wire up in RimCorrelationPlotCollection and RimContextCommandBuilder.
Install RiuQwtCurveSelectorFilter on RimWellRftPlot canvas to support
click-to-select realization. Highlight the selected realization using a
contrast color (orange-red) and increased line thickness. React to both
click-to-select in the plot and selection changes in the Data Sources panel.

Add Z_HIGHLIGHTED_CURVE z-order and replace raw z-order integers with
named constants in RimWellRftPlot.

Highlight selected realization with XCROSS symbol in RimParameterRftCrossPlot
via RimSummaryEnsembleTools::findSummaryCase.
…ck menu

Override appendMenuItems in RimWellRftPlot to add RicCreateRftCorrelationReportFeature.
Call appendMenuItems from RiuMultiPlotPage::contextMenuEvent so any plot type
can contribute canvas menu items without modifying RiuMultiPlotPage.
Add RimRftCorrelationReportPlot to the isCommandEnabled check and expand
it into its cross-plot and tornado sub-plots in onActionTriggered, matching
the pattern used for RimCorrelationReportPlot.
@magnesj magnesj requested a review from kriben April 16, 2026 09:05
Copy link
Copy Markdown
Collaborator

@kriben kriben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@magnesj magnesj merged commit 387b19e into dev Apr 16, 2026
19 checks passed
@magnesj magnesj deleted the rft-correlation-plot-01 branch April 16, 2026 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable RFT correlation plots

2 participants