ioos / ioos/xarray-subset-grid

Way to Auto-run the examples.

Open
#106 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

GSoC: 2026 Testing / CI
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.