Skip to content

codegen baseline#310

Merged
mjreno merged 18 commits into
modflowpy:developfrom
mjreno:codegen_baseline
May 13, 2026
Merged

codegen baseline#310
mjreno merged 18 commits into
modflowpy: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

This PR extends support to a limited set of GWF/GWT/GWE/PRT model packages and is intended to be a step towards broad coverage.

@mjreno mjreno marked this pull request as draft April 28, 2026 11:37
@mjreno mjreno force-pushed the codegen_baseline branch 2 times, most recently from da6b5fa to 13c5bc6 Compare May 11, 2026 13:19
@mjreno mjreno force-pushed the codegen_baseline branch from a63a48a to fb761e8 Compare May 12, 2026 19:31
@mjreno mjreno marked this pull request as ready for review May 13, 2026 16:15
@mjreno mjreno merged commit 58380ac into modflowpy:develop May 13, 2026
16 checks passed
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