Skip to content

fix(dfns): restore gwf-sfr connectiondata ic shape - #377

Merged
wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
wpbonelli:sfr-deferred-ic-shape
Oct 3, 2026
Merged

wpbonelli merged 2 commits into
MODFLOW-ORG:developfrom
wpbonelli:sfr-deferred-ic-shape

Conversation

@wpbonelli

@wpbonelli wpbonelli commented Oct 3, 2026 •

Copy link
Copy Markdown
Member

MODFLOW-ORG/modflow6#2923 changed gwf-sfr connectiondata ic shape from (ncon(ifno)) to (:), accommodate this in the migration. And a similar defensive fix for gwf-lak connectiondata given MODFLOW-ORG/modflow6#3021

MODFLOW-ORG/modflow6#2923 changed gwf-sfr's connectiondata `ic` shape
from `(ncon(ifno))` to IDM's deferred `(:)`, which the v2 schema rejects,
so no DFN set including it validates. Map it back via _V1_SHAPE_FIXES.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli wpbonelli added this to the 1.10.0 milestone Oct 3, 2026
@wpbonelli wpbonelli added the bug Something isn't working label Oct 3, 2026
MODFLOW-ORG/modflow6#3021 (LAK IDM integration) changes gwf-lak's
connectiondata shape from `(sum(nlakeconn))` to `(nlakeconn)`, a
packagedata column rather than a dim, which silently drops the list
shape and the derived nlakeconn dim. Map it back via _V1_SHAPE_FIXES,
now also applied to recarray shapes in _infer_list_shape_dims.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli
wpbonelli marked this pull request as ready for review October 3, 2026 12:17
@wpbonelli
wpbonelli merged commit 6605b87 into MODFLOW-ORG:develop Oct 3, 2026
17 checks passed
@wpbonelli
wpbonelli deleted the sfr-deferred-ic-shape branch October 3, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant