Skip to content

Add CWSS remote kerchunk demo notebook - #846

Merged
tomvothecoder merged 5 commits into
mainfrom
docs/add-remote-kerchunk-tutorial
Sep 22, 2026
Merged

tomvothecoder merged 5 commits into
mainfrom
docs/add-remote-kerchunk-tutorial

Conversation

@tomvothecoder

@tomvothecoder tomvothecoder commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add the CWSS 2026 companion notebook for remote JSON/Kerchunk CMIP access, including reusable Kerchunk utilities and supporting ECS metadata.
  • Link the companion Google Slides presentation and publish separate presentation and demo cards on the documentation site.
  • Retrieve the 50 MB Kerchunk catalog from xcdat-data with Pooch, pinned to commit e31bf6cdfd478550e9a284e6d17ef35edce5ee03 and verified with SHA-256.
  • Document the optional xsearch installation and distinguish the public remote workflow from the NERSC-only local comparison.

Validation

  • Ruff check for kerchunk_utils.py
  • Notebook JSON and code-cell syntax validation
  • Pooch download and checksum verification
  • Sphinx documentation build (passes with the repository’s existing unrelated autodoc/toctree warnings)

@tomvothecoder
tomvothecoder force-pushed the docs/add-remote-kerchunk-tutorial branch from 2a98f3d to 00071b1 Compare September 21, 2026 18:40
@tomvothecoder

Copy link
Copy Markdown
Collaborator Author

@pochedls This PR is ready for review. I used an AI agent to organize and refactor the notebook.

You can view a preview of the rendered notebook here: https://xcdat.readthedocs.io/en/docs-add-remote-kerchunk-tutorial/demos/26-09-24-cwss-seminar/riotai_example_remote.html

The notebook is now self-contained. It includes environment instruction setup, functions embedded from fx.py, and kerchunk mapping and ECS data files downloaded from the xcdat-data repo before running the workflows. The workflow timer starts after these files are downloaded and is ran 3 times, with the median taken at the end.

Let me know if you have any suggestions.

@tomvothecoder

tomvothecoder commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator Author

I performed the timing again just to make sure it was consistent.

Original timing

Remote workflow median (3 runs): 03:21; local NERSC workflow median (3 runs): 02:35.
Remote runs: 03:31, 03:19, 03:21.
Local runs: 03:13, 02:35, 02:35.

Re-run, similar results

Remote workflow median (3 runs): 03:20; local NERSC workflow median (3 runs): 02:40.
Remote runs: 03:20, 03:13, 03:21.
Local runs: 03:10, 02:38, 02:40.

@tomvothecoder
tomvothecoder merged commit bbebbab into main Sep 22, 2026
5 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in xCDAT Development Sep 22, 2026
@tomvothecoder
tomvothecoder deleted the docs/add-remote-kerchunk-tutorial branch September 22, 2026 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: docs Updates to documentation

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant