ioos / ioos/xarray-subset-grid
Way to Auto-run the examples.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 9
- Forks
- 11
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 4
Description
What should we add?
We have a bunch of examples (though not enough) in the docs dir -- but it's hard to know if they still work, as things change.
It would be good to set up a way to auto-run all the examples, then we could put that in the CI, and know when / if they break.
They are mostly Jupyter notebooks, but some scripts too.
I think the way to run a Juyter notebook is to nbconvert it to a script, then run that, but maybe there's another way now?
I've done things like this in the past by haveing a python script that finds all the examples and runs them (in a subprocess), and make s areport if any fail. But maybe there's a pre-existing package that can do it more automagically?
Reference
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inventorying the notebooks and scripts in the docs directory and determine how each example can be run non-interactively, including whether nbconvert is suitable. Evaluate an existing Python runner or package, then define a CI check that executes all examples and reports failures. Done means the examples run automatically and failures are visible in CI.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- jupyter-notebook, python
- Domain
- ci-cd, documentation, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100