Skip to content

codegen baseline#310

Draft
mjreno wants to merge 5 commits intomodflowpy:developfrom
mjreno:codegen_baseline
Draft

codegen baseline#310
mjreno wants to merge 5 commits intomodflowpy:developfrom
mjreno:codegen_baseline

Conversation

@mjreno
Copy link
Copy Markdown
Contributor

@mjreno mjreno commented Apr 28, 2026

Continuation of #176.

Introduces a code generation utility that produces Python package classes directly from MODFLOW 6 DFN specification files. Currently integrates unsupported packages (python package file not in repo), manually maintained package files and codegen generated files.

Workflow:

# Regenerate all existing, codegen controlled generated files from the develop branch DFNs
pixi run generate-classes

# Preview generation into a temp directory without touching the repo
pixi run generate-classes-preview

# Target a specific upstream ref or local DFN directory
generate-mf6-classes --ref 6.6.0
generate-mf6-classes --dfnpath /path/to/modflow6/doc/mf6io/mf6ivar/dfn

@mjreno mjreno marked this pull request as draft April 28, 2026 11:37
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.

1 participant