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

Self-contained example notebooks #1348

Closed
3 tasks done
wpbonelli opened this issue Sep 13, 2023 · 1 comment
Closed
3 tasks done

Self-contained example notebooks #1348

wpbonelli opened this issue Sep 13, 2023 · 1 comment
Assignees
Labels
documentation Documentation changes enhancement examples MODFLOW 6 examples
Milestone

Comments

@wpbonelli
Copy link
Contributor

wpbonelli commented Sep 13, 2023

Background

The MODFLOW 6 example problems are an entry point to MODFLOW and a common first step is likely to locally reproduce example problems, but the notebooks assumes the common/](https://github.com/MODFLOW-USGS/modflow6-examples/tree/master/common) and data directories are present in the right relative locations, used from notebooks via sys.path manipulation. So it is either necessary to clone the repo then running the scripts or notebooks from the scripts/ or notebooks/ folders, respectively, manually download the implicit dependencies, or alter the examples to remove them.

Proposal

The example notebooks could be downloadable from the docs, and could run with no external dependencies besides a Python/flopy environment and the MODFLOW binaries.

Related: make flopy notebooks self-contained

@wpbonelli
Copy link
Contributor Author

if MODFLOW-USGS/modflow-devtools#134 materializes example scripts can be updated to use it, but otherwise this is done — the examples now only require modflow programs and a suitable python environment, no implicit filesystem dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation changes enhancement examples MODFLOW 6 examples
Projects
None yet
Development

No branches or pull requests

1 participant