Skip to content

I preserve full group names from Flow ESMRY summaries - #1305

Draft
manduinca wants to merge 2 commits into
equinor:mainfrom
manduinca:fix/full-group-names-from-esmry
Draft

manduinca wants to merge 2 commits into
equinor:mainfrom
manduinca:fix/full-group-names-from-esmry

Conversation

@manduinca

@manduinca manduinca commented Oct 22, 2026 •

Copy link
Copy Markdown

Issue
Resolves #1304

Approach
I read group names from a matching companion ESMRY before building the summary indexes, so names longer than eight characters remain distinct even when SMSPEC truncates them to the same prefix. I retain the SMSPEC names when the companion is absent, malformed, or incompatible, and I leave the public names of other variable types unchanged.

I validate the companion's start time, units, parameter order, and truncated names with the existing file reader and summary-key constructors. I accept full well names in well, connection, and segment metadata when their SMSPEC prefixes match, while checking the remaining numeric or IJK components. I also handle Flow's empty ESMRY unit for YEARS.

Validation
I merged current main and preserved both the 62 Flow regression cases and the upstream short STARTDAT test when resolving their conflict. The complete Python suite passes: 1,769 passed and 161 skipped.

I built with ASAN and UBSAN and ran the complete native CTest suite: 54/54 passed, including 167 passed Catch2 cases with 6,204 assertions and one filesystem-specific skip. Main has migrated or removed legacy test registrations since the previous 63-entry run.

I also extended both a group name and a well name in a real OPM Flow case and verified that all 410 data vectors across seven timesteps remain unchanged through lazy, eager, and explicit loading. Ruff 0.16.4 and clang-format checks pass.

I resolve group names from matching companion ESMRY metadata before
building summary indexes, so long names with the same eight-character
SMSPEC prefix keep their own values.

I reuse the existing keyword reader and summary-key constructors to
validate parameter alignment and retain SMSPEC names when a companion
is absent or incompatible. I accept full well names during validation
while preserving their public SMSPEC names and numeric key components.
I cover loading paths and fallback behavior with regression tests.

Fixes equinor#1304

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.

Use full group names from Flow ESMRY summaries

1 participant