Skip to content

Commit bb65245

Browse files
authored
Merge branch 'xarray-contrib:main' into main
2 parents 155c810 + 9f99c2d commit bb65245

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+18309
-16964
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
FROM pangeo/base-image:2023.07.05
1+
FROM pangeo/base-image:2024.05.07

.github/dependabot.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
version: 2
22
updates:
3-
- package-ecosystem: 'docker'
4-
directory: '/.devcontainer'
3+
- package-ecosystem: "docker"
4+
directory: "/.devcontainer"
55
schedule:
6-
interval: 'daily'
6+
interval: "daily"
7+
- package-ecosystem: "github-actions"
8+
directory: "/.github"
9+
schedule:
10+
interval: "monthly"

.github/workflows/main.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ permissions:
1414

1515
# Allow one concurrent deployment
1616
concurrency:
17-
group: 'pages'
17+
group: ${{ github.workflow }}-${{ github.ref }}
1818
cancel-in-progress: true
1919

2020
jobs:

.github/workflows/preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions:
66
pull-requests: write # allow surge-preview to create/update PR comments
77

88
concurrency:
9-
group: 'preview'
9+
group: ${{ github.workflow }}-${{ github.ref }}
1010
cancel-in-progress: true
1111

1212
jobs:

.github/workflows/qaqc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- main
77

88
concurrency:
9-
group: 'qaqc'
9+
group: ${{ github.workflow }}-${{ github.ref }}
1010
cancel-in-progress: true
1111

1212
jobs:
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
check_filenames: true
3535
check_hidden: true
36-
skip: '.git,*.js,qaqc.yml'
36+
skip: ".git,*.js,qaqc.yml"
3737
ignore_words_list: hist,nd
3838

3939
# borrowed from https://github.com/ProjectPythia/pythia-foundations/blob/main/.github/workflows/link-checker.yaml

.pre-commit-config.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,43 +3,44 @@ ci:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.4.0
6+
rev: v4.6.0
77
hooks:
88
- id: trailing-whitespace
99
- id: end-of-file-fixer
1010
- id: check-docstring-first
1111
- id: check-json
12+
exclude: ^.devcontainer/
1213
- id: check-yaml
1314
- id: double-quote-string-fixer
1415

1516
- repo: https://github.com/psf/black
16-
rev: 23.3.0
17+
rev: 24.4.2
1718
hooks:
1819
- id: black
1920
- id: black-jupyter
2021

2122
- repo: https://github.com/keewis/blackdoc
22-
rev: v0.3.8
23+
rev: v0.3.9
2324
hooks:
2425
- id: blackdoc
2526

2627
- repo: https://github.com/PyCQA/flake8
27-
rev: 6.0.0
28+
rev: 7.0.0
2829
hooks:
2930
- id: flake8
3031

3132
- repo: https://github.com/PyCQA/isort
32-
rev: 5.12.0
33+
rev: 5.13.2
3334
hooks:
3435
- id: isort
3536

3637
- repo: https://github.com/pre-commit/mirrors-prettier
37-
rev: v3.0.0-alpha.9-for-vscode
38+
rev: v4.0.0-alpha.8
3839
hooks:
3940
- id: prettier
4041

4142
- repo: https://github.com/kynan/nbstripout
42-
rev: 0.6.1
43+
rev: 0.7.1
4344
hooks:
4445
- id: nbstripout
4546
args: [--extra-keys=metadata.kernelspec metadata.language_info.version]

.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
*lock.yml
2-
conda/
1+
conda/**

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Thanks to our contributors so far!
5858

5959
## Acknowledgements
6060

61-
This website is the result of many contributions from the Xarray community! We're very grateful for everyone's volunteered effort as well as [sponsored development](https://xarray.dev/#sponsors). Funding for SciPy 2022, SciPy 2023 tutorial materialdevelopment specifically was supported by NASA's Open Source Tools, Frameworks, and Libraries Program (award 80NSSC22K0345).
61+
This website is the result of many contributions from the Xarray community! We're very grateful for everyone's volunteered effort as well as [sponsored development](https://xarray.dev/#sponsors). Funding for SciPy 2022, SciPy 2023 tutorial material development specifically was supported by NASA's Open Source Tools, Frameworks, and Libraries Program (award 80NSSC22K0345).

_config.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Learn more at https://jupyterbook.org/customize/config.html
2-
title: ''
2+
title: ""
33
author: The Xarray Community
4-
copyright: '2023'
4+
copyright: "2023"
55
logo: images/logo.png
66
only_build_toc_files: true
77

88
# See https://jupyterbook.org/customize/config.html#add-a-link-to-your-repository
99
html:
1010
# NOTE: this announcement shows up on all pages
11-
announcement: 'ℹ️ SciPy Tutorial Attendees. <a href="https://tutorial.xarray.dev/workshops/scipy2023/README.html">Click here </a>.'
11+
#announcement: 'ℹ️ SciPy Tutorial Attendees. <a href="https://tutorial.xarray.dev/workshops/scipy2023/README.html">Click here </a>.'
1212
home_page_in_navbar: false
1313
use_edit_page_button: true
1414
use_issues_button: true
@@ -35,7 +35,7 @@ parse:
3535
# Force re-execution of notebooks on each build.
3636
# See https://jupyterbook.org/content/execute.html
3737
execute:
38-
execute_notebooks: 'cache'
38+
execute_notebooks: "cache"
3939
allow_errors: false
4040
# Per-cell notebook execution limit (seconds)
4141
timeout: 300
@@ -48,11 +48,11 @@ latex:
4848
# Configure your Binder links, such as the URL of the BinderHub.
4949
launch_buttons:
5050
notebook_interface: jupyterlab
51-
binderhub_url: 'https://mybinder.org'
51+
binderhub_url: "https://mybinder.org"
5252

5353
# Information about where the book exists on the web
5454
repository:
55-
url: 'https://github.com/xarray-contrib/xarray-tutorial'
55+
url: "https://github.com/xarray-contrib/xarray-tutorial"
5656
branch: main
5757

5858
# Bibliography
@@ -71,7 +71,7 @@ sphinx:
7171
config:
7272
language: en # accessibility
7373
# application/vnd.holoviews_load.v0+json, application/vnd.holoviews_exec.v0+json
74-
suppress_warnings: ['mystnb.unknown_mime_type', 'misc.highlighting_failure']
74+
suppress_warnings: ["mystnb.unknown_mime_type", "misc.highlighting_failure"]
7575
notfound_context:
7676
body: "<h1>Whoops! 404 Page Not Found</h1>\n\n<p>Sorry, this page doesn't exist. Many sections of this book have been updated recently.</p><p> Try the search box 🔎 to find what you're looking for!</p>"
7777
notfound_urls_prefix: /

_toc.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ parts:
99
- file: overview/learning-paths.md
1010
sections:
1111
- file: overview/fundamental-path/README.md
12+
- file: overview/intermediate-path/README.md
1213

1314
- caption: Fundamentals
1415
chapters:
@@ -45,9 +46,12 @@ parts:
4546
- file: intermediate/xarray_ecosystem
4647
- file: intermediate/hvplot
4748
- file: intermediate/cmip6-cloud
48-
- file: data_cleaning/data_cleaning.md
49+
- file: intermediate/data_cleaning/05.1_intro.md
4950
sections:
50-
- file: data_cleaning/ice_velocity
51+
- file: intermediate/data_cleaning/05.2_examples.md
52+
- file: intermediate/data_cleaning/05.3_ice_velocity
53+
- file: intermediate/data_cleaning/05.4_contributing.md
54+
- file: intermediate/data_cleaning/05.5_scipy_talk.md
5155

5256
- caption: Advanced
5357
chapters:

0 commit comments

Comments
 (0)