Skip to content

#14964: Use correct depth unit when creating RFT plots - #14965

Open
magnesj wants to merge 1 commit into
devfrom
14964-rft-depth-unit
Open

magnesj wants to merge 1 commit into
devfrom
14964-rft-depth-unit

Conversation

@magnesj

@magnesj magnesj commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #14964

New RFT plots for a summary ensemble in field units were created with depth unit Meter.

  • Detect the unit system in RifOpmCommonEclipseSummary from the summary vector units.
  • RifMultipleSummaryReaders::unitSystem() returns the first known unit instead of only asking the first (calculated) reader.
  • RifDataSourceForRftPlt::availableUnitSystems() includes summary case and ensemble units.
  • A newly created RFT plot sets its depth unit from its data sources, falling back to the grid model unit.

@magnesj
magnesj force-pushed the 14964-rft-depth-unit branch from 4752738 to 75c3c34 Compare October 16, 2026 15:31
Read the summary unit system from SMSPEC INTEHEAD, and fall back to vector
units for ESMRY files without SMSPEC. The unit system is read on first
request to keep summary import fast. Ensembles use the same realization as
for addresses. New RFT plots get the depth unit from their data sources.
@magnesj
magnesj force-pushed the 14964-rft-depth-unit branch from 75c3c34 to b099b20 Compare October 17, 2026 06:58
@magnesj
magnesj marked this pull request as ready for review October 19, 2026 08:17
@magnesj
magnesj requested a review from kriben October 19, 2026 08:17
@magnesj magnesj self-assigned this Oct 19, 2026

This branch has not been deployed

No deployments
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.

RFT plot created with wrong depth unit for summary ensemble in field units

1 participant