Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions .github/workflows/nightly-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ jobs:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: ERA5_interactive
build_command: 'myst build --execute --html'

link-check:
if: ${{ github.repository_owner == 'ProjectPythia' }}
uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main

# We don't have a link-checker with MyST right now
# link-check:
# if: ${{ github.repository_owner == 'ProjectPythia' }}
# uses: ProjectPythia/cookbook-actions/.github/workflows/link-checker.yaml@main
5 changes: 3 additions & 2 deletions .github/workflows/publish-book.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: ERA5_interactive
build_command: 'myst build --execute --html'


deploy:
needs: build
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
31 changes: 31 additions & 0 deletions .github/workflows/replace-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: replace-links

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
- name: Find and Replace Repository Name
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "ProjectPythia/cookbook-template"
replace: "${{ github.repository_owner }}/${{ github.event.repository.name }}"
regex: false
exclude: ".github/workflows/replace-links.yaml"

- name: Find and Replace Repository ID
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "475509405"
replace: "${{ github.repository_id}}"
regex: false
exclude: ".github/workflows/replace-links.yaml"

- name: Push changes
uses: stefanzweifel/git-auto-commit-action@v5
2 changes: 1 addition & 1 deletion .github/workflows/trigger-book-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ jobs:
build:
uses: ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml@main
with:
environment_name: ERA5_interactive
artifact_name: book-zip-${{ github.event.number }}
base_url: '/${{ github.event.repository.name }}/_preview/${{ github.event.number }}'
# Other input options are possible, see ProjectPythia/cookbook-actions/.github/workflows/build-book.yaml
2 changes: 1 addition & 1 deletion .github/workflows/trigger-delete-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ on:

jobs:
delete:
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
uses: ProjectPythia/cookbook-actions/.github/workflows/delete-preview.yaml@main
7 changes: 0 additions & 7 deletions .github/workflows/trigger-link-check.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions Containerfile

This file was deleted.

83 changes: 0 additions & 83 deletions _config.yml

This file was deleted.

6 changes: 0 additions & 6 deletions _static/custom.css

This file was deleted.

Binary file removed _static/footer-logo-nsf.png
Binary file not shown.
27 changes: 0 additions & 27 deletions _templates/footer-extra.html

This file was deleted.

17 changes: 0 additions & 17 deletions _toc.yml

This file was deleted.

7 changes: 3 additions & 4 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ name: ERA5_interactive
channels:
- conda-forge
dependencies:
- python<3.12
- jupyter-book
- jupyterlab
- jupyterlab-myst
- jupyter_server
- zarr
- dask
Expand All @@ -21,7 +20,7 @@ dependencies:
- geopandas
- gcsfs
- cf_xarray
- sphinx-pythia-theme
- hvplot
- spatialpandas
- watchfiles
- watchfiles
- mystmd
33 changes: 33 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# See docs at: https://mystmd.org/guide/frontmatter
version: 1
extends:
- https://raw.githubusercontent.com/projectpythia/pythia-config/main/pythia.yml
project:
id: c598479d-c383-4e18-a8a5-b1840fefbec8
# title:
# description:
# keywords: []
# authors: []
github: https://github.com/projectpythia/ERA5_interactive-cookbook
# To autogenerate a Table of Contents, run "myst init --write-toc"
toc:
# Auto-generated by `myst init --write-toc`
- file: README.md
- title: Preamble
children:
- file: notebooks/how-to-cite.md
- title: Visualization Notebooks
children:
- file: notebooks/01BasicVisualization.ipynb
- file: notebooks/02InteractiveVisualization.ipynb
- file: notebooks/03_hvplot.ipynb
- file: notebooks/04_dashboard.ipynb
- title: Preprocessing Notebooks for NCAR RDA
children:
- file: notebooks/05_data_preprocessing.ipynb
- file: notebooks/06_era5_anomaly.ipynb

site:
options:
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
folders: true