From 3ef728ecd066fabc6297c04d14ee84de7c60610b Mon Sep 17 00:00:00 2001 From: Tom Nicholas Date: Fri, 4 Jul 2025 18:03:12 -0400 Subject: [PATCH 1/6] add index landing page --- workshops/scipy2025/index.ipynb | 101 ++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 workshops/scipy2025/index.ipynb diff --git a/workshops/scipy2025/index.ipynb b/workshops/scipy2025/index.ipynb new file mode 100644 index 00000000..e08806fc --- /dev/null +++ b/workshops/scipy2025/index.ipynb @@ -0,0 +1,101 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "0", + "metadata": {}, + "source": [ + "# SciPy 2025\n", + "\n", + "## Welcome to the Xarray SciPy 2025 Tutorial! \n", + "\n", + "\n", + "\n", + "**Xarray**: *Friendly, Interactive, and Scalable Scientific Data Analysis*\n", + "\n", + "July 8, 13:30–17:30 (US/Pacific), Tacoma Convention Center Room 315\n", + "\n", + "This *4-hour* workshop will explore content from [the Xarray tutorial](https://tutorial.xarray.dev), which contains a comprehensive collection of hands-on tutorial Jupyter Notebooks. We will review a curated set of examples that will prepare you for increasingly complex real-world data analysis tasks!\n", + "\n", + ":::{admonition} Learning Goals\n", + "- Understand xarray’s core data structures\n", + "- Understand how to map typical xarray computations and workflows over hierarchical data\n", + "- Understand how common storage formats correspond to the DataTree model\n", + "- Open a public Zarr store in the cloud and manipulate the contents\n", + ":::" + ] + }, + { + "cell_type": "markdown", + "id": "8b2a99f3", + "metadata": {}, + "source": [ + "## Schedule \n", + "\n", + "*Times in US/Pacific Timezone (Tacoma, WA)\n", + "\n", + "Use the links to navigate to the right notebooks.\n", + "\n", + "| Topic | Time | Notebook Links | \n", + "| :- | - | - | \n", + "| Introduction and Setup | 1:30 (10 min) | | \n", + "| The Xarray Data Model | 1:40 (50 min) | [Data structures](../../fundamentals/01_data_structures.md) | \n", + "| *10 minute Break* \n", + "| Computational Patterns | 2:30 (50 min) | [Computational Patterns](../../intermediate/01-high-level-computation-patterns.ipynb)
| \n", + "| *10 minute Break* | \n", + "| Storage formats | 3:30 (50 min) | [Storage formats](../../intermediate/storage_formats.ipynb) | \n", + "| *10 minute Break* | \n", + "| Zarr & the cloud | 4:30 (50 min) | [Intro to Zarr](../../intermediate/intro-to-zarr.ipynb) |\n", + "| | End 5:30 | |" + ] + }, + { + "cell_type": "markdown", + "id": "566c2093", + "metadata": {}, + "source": [ + "### Tutorial Setup\n", + "\n", + "We recommend using a preconfigured GitHub Codespace for this tutorial. This section describes how to access and manage a GitHub Codespace.\n", + "\n", + ":::{note}\n", + "If you prefer to work on your own computer, refer to instructions in the [Getting Started Section](../../overview/get-started.md)\n", + ":::\n", + "\n", + "This tutorial is available to run within [Github Codespaces](https://github.com/features/codespaces) - \"a development environment that's hosted in the cloud\".\n", + "\n", + "[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new/xarray-contrib/xarray-tutorial/tree/main?devcontainer_path=.devcontainer%2Fscipy2024%2Fdevcontainer.json)\n", + "\n", + "☝️ Click the button above to go to options window to launch a Github Codespace.\n", + "\n", + "GitHub currently gives every user [120 vCPU-hours per month for free](https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts), beyond that you must pay. **So be sure to explicitly stop your Codespace when you are done by going to this page (https://github.com/codespaces).**\n", + "\n", + "Once your Codespace is launched, the following happens:\n", + "\n", + "- [Visual Studio Code](https://code.visualstudio.com/) Interface will open up within your browser.\n", + "- A built in terminal will open and it will execute `jupyter lab` automatically.\n", + "- Once you see a url to click within the terminal, simply `cmd + click` the given url.\n", + "- This will open up another tab in your browser, leading to a [Jupyter Lab](https://jupyterlab.readthedocs.io/en/latest/) Interface.\n", + "\n", + ":::{warning}\n", + "Consider Codespaces as ephemeral environments. You may lose your connection and any edits you make.\n", + ":::" + ] + } + ], + "metadata": { + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} From 97a0d7f43f3b39ae4df5944f561ee0c5b46b097f Mon Sep 17 00:00:00 2001 From: Tom Nicholas Date: Fri, 4 Jul 2025 18:03:23 -0400 Subject: [PATCH 2/6] add to table of contents --- _toc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/_toc.yml b/_toc.yml index 6c0aeda8..95458d4b 100644 --- a/_toc.yml +++ b/_toc.yml @@ -81,6 +81,7 @@ parts: - caption: Workshops chapters: + - file: workshops/scipy2025/index.ipynb - file: workshops/scipy2024/index.ipynb - file: workshops/scipy2023/README - file: workshops/thinking-like-xarray/README From 0aa461e975a9280cf9a834e201c9c08c6b2018bb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 4 Jul 2025 22:04:26 +0000 Subject: [PATCH 3/6] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- workshops/scipy2025/index.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workshops/scipy2025/index.ipynb b/workshops/scipy2025/index.ipynb index e08806fc..0d801fba 100644 --- a/workshops/scipy2025/index.ipynb +++ b/workshops/scipy2025/index.ipynb @@ -27,7 +27,7 @@ }, { "cell_type": "markdown", - "id": "8b2a99f3", + "id": "1", "metadata": {}, "source": [ "## Schedule \n", @@ -51,7 +51,7 @@ }, { "cell_type": "markdown", - "id": "566c2093", + "id": "2", "metadata": {}, "source": [ "### Tutorial Setup\n", From 45c2e63c6d37cdb5f520ae94c62cd8ac75962d5f Mon Sep 17 00:00:00 2001 From: Scott Henderson <3924836+scottyhq@users.noreply.github.com> Date: Mon, 7 Jul 2025 11:59:28 +0200 Subject: [PATCH 4/6] point to IO notebook and getting_started section for now --- workshops/scipy2025/index.ipynb | 33 +++++---------------------------- 1 file changed, 5 insertions(+), 28 deletions(-) diff --git a/workshops/scipy2025/index.ipynb b/workshops/scipy2025/index.ipynb index 0d801fba..7666fb96 100644 --- a/workshops/scipy2025/index.ipynb +++ b/workshops/scipy2025/index.ipynb @@ -11,15 +11,15 @@ "\n", "\n", "\n", - "**Xarray**: *Friendly, Interactive, and Scalable Scientific Data Analysis*\n", + "**Hierarchical Data Analysis with Xarray DataTree & Zarr**\n", "\n", "July 8, 13:30–17:30 (US/Pacific), Tacoma Convention Center Room 315\n", "\n", "This *4-hour* workshop will explore content from [the Xarray tutorial](https://tutorial.xarray.dev), which contains a comprehensive collection of hands-on tutorial Jupyter Notebooks. We will review a curated set of examples that will prepare you for increasingly complex real-world data analysis tasks!\n", "\n", ":::{admonition} Learning Goals\n", - "- Understand xarray’s core data structures\n", - "- Understand how to map typical xarray computations and workflows over hierarchical data\n", + "- Understand Xarray’s core data structures\n", + "- Understand how to map typical Xarray computations and workflows over hierarchical data\n", "- Understand how common storage formats correspond to the DataTree model\n", "- Open a public Zarr store in the cloud and manipulate the contents\n", ":::" @@ -43,7 +43,7 @@ "| *10 minute Break* \n", "| Computational Patterns | 2:30 (50 min) | [Computational Patterns](../../intermediate/01-high-level-computation-patterns.ipynb)
| \n", "| *10 minute Break* | \n", - "| Storage formats | 3:30 (50 min) | [Storage formats](../../intermediate/storage_formats.ipynb) | \n", + "| Storage formats | 3:30 (50 min) | [Storage formats](../../fundamentals/01.1_io.ipynb) | \n", "| *10 minute Break* | \n", "| Zarr & the cloud | 4:30 (50 min) | [Intro to Zarr](../../intermediate/intro-to-zarr.ipynb) |\n", "| | End 5:30 | |" @@ -56,30 +56,7 @@ "source": [ "### Tutorial Setup\n", "\n", - "We recommend using a preconfigured GitHub Codespace for this tutorial. This section describes how to access and manage a GitHub Codespace.\n", - "\n", - ":::{note}\n", - "If you prefer to work on your own computer, refer to instructions in the [Getting Started Section](../../overview/get-started.md)\n", - ":::\n", - "\n", - "This tutorial is available to run within [Github Codespaces](https://github.com/features/codespaces) - \"a development environment that's hosted in the cloud\".\n", - "\n", - "[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new/xarray-contrib/xarray-tutorial/tree/main?devcontainer_path=.devcontainer%2Fscipy2024%2Fdevcontainer.json)\n", - "\n", - "☝️ Click the button above to go to options window to launch a Github Codespace.\n", - "\n", - "GitHub currently gives every user [120 vCPU-hours per month for free](https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces#monthly-included-storage-and-core-hours-for-personal-accounts), beyond that you must pay. **So be sure to explicitly stop your Codespace when you are done by going to this page (https://github.com/codespaces).**\n", - "\n", - "Once your Codespace is launched, the following happens:\n", - "\n", - "- [Visual Studio Code](https://code.visualstudio.com/) Interface will open up within your browser.\n", - "- A built in terminal will open and it will execute `jupyter lab` automatically.\n", - "- Once you see a url to click within the terminal, simply `cmd + click` the given url.\n", - "- This will open up another tab in your browser, leading to a [Jupyter Lab](https://jupyterlab.readthedocs.io/en/latest/) Interface.\n", - "\n", - ":::{warning}\n", - "Consider Codespaces as ephemeral environments. You may lose your connection and any edits you make.\n", - ":::" + "Refer to the [Getting Started Section](../../overview/get-started.md) for various options to run tutorial notebooks either on your personal computer or on a free Cloud-hosted server." ] } ], From 574f8d43e1d122cd260da5f1b068c61fe521a69f Mon Sep 17 00:00:00 2001 From: Scott Henderson <3924836+scottyhq@users.noreply.github.com> Date: Mon, 7 Jul 2025 12:09:57 +0200 Subject: [PATCH 5/6] adjust readme binder link and add banner for scipy --- README.md | 2 +- _config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc921d7b..9ab97996 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Deploy Website to GitHub Pages](https://github.com/xarray-contrib/xarray-tutorial/actions/workflows/main.yaml/badge.svg)](https://github.com/xarray-contrib/xarray-tutorial/actions/workflows/main.yaml) [![Jupyter Book Badge](https://jupyterbook.org/badge.svg)](https://tutorial.xarray.dev) -[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/xarray-contrib/xarray-tutorial/HEAD?labpath=overview/xarray-in-45-min.ipynb) +[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/xarray-contrib/xarray-tutorial/HEAD?labpath=workshops/scipy2025/index.ipynb) This is the repository for a Jupyter Book website with tutorial material for [Xarray](https://github.com/pydata/xarray), _an open source project and Python package that makes working with labelled multi-dimensional arrays simple, efficient, and fun!_ diff --git a/_config.yml b/_config.yml index 6f9cb4b6..d5dc54ed 100644 --- a/_config.yml +++ b/_config.yml @@ -10,7 +10,7 @@ exclude_patterns: [.github, .pixi] html: # NOTE: this announcement shows up on all pages #announcement: 'The Xarray 2024 User Survey is live. Please take ~5 minutes to fill it out and help us improve Xarray.' - #announcement: 'ℹ️ SciPy 2024 Tutorial Attendees. Click here .' + announcement: 'ℹ️ SciPy 2025 Tutorial Attendees. Click here! .' home_page_in_navbar: false use_edit_page_button: true use_issues_button: true From 237aa05dacf84e519a72f8a8c31cf67dd466b873 Mon Sep 17 00:00:00 2001 From: Scott Henderson <3924836+scottyhq@users.noreply.github.com> Date: Mon, 7 Jul 2025 12:21:14 +0200 Subject: [PATCH 6/6] fix banner color --- _static/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_static/style.css b/_static/style.css index b1024666..fb3ae652 100644 --- a/_static/style.css +++ b/_static/style.css @@ -1,3 +1,3 @@ .bd-header-announcement { - background-color: var(--pst-color-info-bg); + background-color: var(--pst-color-accent); }