Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models API #190

Merged
merged 2 commits into from
Mar 5, 2025
Merged

Models API #190

merged 2 commits into from
Mar 5, 2025

Conversation

wpbonelli
Copy link
Contributor

@wpbonelli wpbonelli commented Mar 5, 2025

First draft of #134. API dynamically generated from a pooch registry. Alongside the registry a TOML file mapping model names to the set of model input files. These can be built and distributed with the package at release time. Then model input files can be downloaded at runtime.

This approach gives us the flexibility to support input files stored anywhere on GitHub, e.g. in the test models repos. It does not provide access to models defined with flopy, since this package does not depend on flopy.

@wpbonelli wpbonelli changed the title Models api Models API Mar 5, 2025
@wpbonelli wpbonelli marked this pull request as ready for review March 5, 2025 02:55
@wpbonelli wpbonelli merged commit e64ce4c into MODFLOW-ORG:develop Mar 5, 2025
18 checks passed
@wpbonelli wpbonelli deleted the models-api branch March 5, 2025 02:56
@wpbonelli wpbonelli mentioned this pull request Mar 5, 2025
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