Skip to content

fix(dfns): fix olf idcxs fk backfill, trim migration comments - #350

Merged
wpbonelli merged 3 commits into
MODFLOW-ORG:developfrom
wpbonelli:fix-dfns
Aug 22, 2026
Merged

fix(dfns): fix olf idcxs fk backfill, trim migration comments#350
wpbonelli merged 3 commits into
MODFLOW-ORG:developfrom
wpbonelli:fix-dfns

Conversation

@wpbonelli

Copy link
Copy Markdown
Member
  • olf-zdg/olf-dfw's idcxs fk pointed at a nonexistent olf-cxs component; retarget to chf-cxs and drop the dead swf-* entries
  • trim excessive comments in the v2 migration

OLF has no cross-section component of its own (c92f3e51, "remove
olf-cxs.dfn": "Overland flow has no concept of cross section"), but
olf-zdg/olf-dfw's idcxs field still indexes into a shared SwfCxsType
object at the Fortran level (swf-zdg.f90) -- the same cross-section
data CHF's own zdg/cdb reference. Point the fk at chf-cxs instead of a
component that was never real. Also drop the swf-zdg/swf-dfw entries
entirely -- SWF was split into CHF/OLF and removed (802d8e1d), so
there's no swf-* component left to backfill.

Surfaced building flopy4's mf6 codegen against a live modflow6 develop
checkout: Dfns(components=...) hard-fails construction when any fk
target doesn't resolve, and it doesn't, for any corpus that reflects
current (post-split) modflow6.
@wpbonelli wpbonelli added this to the 1.10.0 milestone Aug 22, 2026
@wpbonelli wpbonelli added the bug Something isn't working label Aug 22, 2026
@wpbonelli
wpbonelli merged commit a9d66f5 into MODFLOW-ORG:develop Aug 22, 2026
15 checks passed
@wpbonelli
wpbonelli deleted the fix-dfns branch August 22, 2026 12:15
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