Skip to content

Fix missing realization curves for delta ensemble _DIFF vectors#659

Draft
Copilot wants to merge 3 commits intodevfrom
copilot/fix-issue-13581
Draft

Fix missing realization curves for delta ensemble _DIFF vectors#659
Copilot wants to merge 3 commits intodevfrom
copilot/fix-issue-13581

Conversation

Copy link

Copilot AI commented Feb 6, 2026

Delta ensemble plots showed only Mean statistics for _DIFF vectors; individual realization curves were missing.

Changes

RimDeltaSummaryEnsemble::ensembleSummaryAddresses()

  • Generate _DIFF suffixed addresses for all vectors from both source ensembles
  • Enables UI discovery of differential vectors for both statistics and realization curves

RimDeltaSummaryCase data retrieval

  • Strip _DIFF suffix before cache/reader lookups via getBaseAddress() helper
  • Modified timeSteps() and values() to normalize addresses:
    // Accept "FOPT_DIFF" from UI, query cache with "FOPT"
    auto baseAddress = getBaseAddress(resultAddress);
    if (needsCalculation(baseAddress)) {
        calculate(baseAddress);
    }
    return m_dataCache.at(baseAddress);

The _DIFF suffix is a presentation convention—delta cases always compute differences. This change aligns address representation between UI and internal storage.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 2 commits February 6, 2026 16:13
Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix issue 13581 in ResInsight Fix missing realization curves for delta ensemble _DIFF vectors Feb 6, 2026
Copilot AI requested a review from magnesj February 6, 2026 16:19
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.

2 participants