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 (demo) #134

Open
wpbonelli opened this issue Jan 11, 2024 · 1 comment
Open

Models API (demo) #134

wpbonelli opened this issue Jan 11, 2024 · 1 comment
Labels
enhancement New feature or request question Further information is requested

Comments

@wpbonelli
Copy link
Contributor

wpbonelli commented Jan 11, 2024

Demo programmatic access to example data/models via https://github.com/fatiando/pooch.

This could be convenient for

@wpbonelli wpbonelli added enhancement New feature or request question Further information is requested labels Jan 11, 2024
@wpbonelli wpbonelli changed the title Models API Models API (demo) Feb 1, 2024
@wpbonelli
Copy link
Contributor Author

wpbonelli commented Feb 1, 2024

A simple proof of concept is available here: https://github.com/wpbonelli/modflow-devtools/tree/models-api

If this seems worthwhile, flopy may be a better place for it because the API

  • could return MFSimulation or model directly
  • could construct models lazily from Python/flopy on first call then cache input files, as an alternative to downloading them from GitHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant