Skip to content

fix(dfns): mark iper as an index - #397

Merged
wpbonelli merged 1 commit into
MODFLOW-ORG:developfrom
wpbonelli:iper-index
Oct 22, 2026
Merged

wpbonelli merged 1 commit into
MODFLOW-ORG:developfrom
wpbonelli:iper-index

Conversation

@wpbonelli

Copy link
Copy Markdown
Member

IPER is 1-based in the file and 0-based in Python , mark it as an index

IPER is 1-based in the file and 0-based in memory, like every other field marked index = true, but the DFNs didn't say so, so consumers had to recognize it by name. Set index on the period block's header field in the migration, on the same basis as fill_forward: v1 has no tag for it, and period is the only repeating block whose header is a 1-based position.

solutiongroup's group_num stays unmarked: it's a label that happens to be a number, not a position into anything.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wpbonelli wpbonelli added this to the 1.10.0 milestone Oct 22, 2026
@wpbonelli wpbonelli added the bug Something isn't working label Oct 22, 2026
@wpbonelli
wpbonelli marked this pull request as ready for review October 22, 2026 10:32
@wpbonelli
wpbonelli merged commit 73a0647 into MODFLOW-ORG:develop Oct 22, 2026
15 checks passed
@wpbonelli
wpbonelli deleted the iper-index branch October 22, 2026 10:33
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