Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluation workflows #337

Closed
wants to merge 58 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
1dbed5d
Modify Gemfile for local deployment
rbeucher Jul 24, 2024
376c28f
Change deployment action
rbeucher Jul 24, 2024
7ab318e
Delete some files
rbeucher Jul 24, 2024
66201c1
Update action
rbeucher Jul 24, 2024
324e4b6
Remove some files
rbeucher Jul 24, 2024
2e2cbb3
Restructure a bit
rbeucher Jul 24, 2024
39112d7
ex2 branch
flicj191 Jul 24, 2024
4b1dd16
Add some installation guides
rbeucher Jul 25, 2024
358392f
edit tutorial and recipes for ACCESS
flicj191 Jul 25, 2024
7625712
edit write recipe and associated files
flicj191 Jul 26, 2024
3ddcb54
Simplify
rbeucher Jul 28, 2024
af8eae5
initial jupyter notebook tutorial
flicj191 Jul 28, 2024
cbeeeb8
Updates
rbeucher Jul 29, 2024
9fa9692
diagnostic lesson edit
flicj191 Jul 29, 2024
80ae655
Add hackathon image
rbeucher Jul 29, 2024
21fd0fc
Update
rbeucher Jul 29, 2024
47dd2ae
edits formatting
flicj191 Jul 29, 2024
b12bc30
Fix typo
rbeucher Jul 29, 2024
fdcc911
adding start ARE session
flicj191 Jul 30, 2024
a5ec39c
Update name to CMIP7 Evaluation Hackathon
rbeucher Jul 30, 2024
b56184d
Change headings in setup guides
rbeucher Jul 30, 2024
6c2f988
Updates
rbeucher Jul 30, 2024
2ca8a74
edit with CMIP7 repo
flicj191 Jul 30, 2024
1b89c55
remove image
flicj191 Jul 30, 2024
455c526
Merge branch 'gh-pages' of github.com:ACCESS-NRI/CMIP7_MED_Hackathon …
flicj191 Jul 30, 2024
a0c548a
edit formatting
flicj191 Jul 30, 2024
193e6b6
Apply suggestions from code review
flicj191 Jul 31, 2024
bcf05a5
edits from review
flicj191 Jul 31, 2024
2ff832b
Merge pull request #1 from ACCESS-NRI/ex2_writerecipe
rbeucher Jul 31, 2024
ba609b5
add start
flicj191 Aug 1, 2024
0201de1
Merge branch 'gh-pages' of github.com:ACCESS-NRI/CMIP7_MED_Hackathon …
flicj191 Aug 1, 2024
11f9184
merge gh-pages and alter files
flicj191 Aug 1, 2024
a4f94ae
Jupyter tutorials add content
flicj191 Aug 2, 2024
3d66378
edits to jupyter lesson
flicj191 Aug 7, 2024
fe7d92c
clean
flicj191 Aug 7, 2024
fe222c3
move images, edit notebook
flicj191 Aug 9, 2024
0fb4f6b
Merge pull request #2 from ACCESS-NRI/jupyternotebook
rbeucher Aug 12, 2024
426add0
clean and add sea-ice example
flicj191 Aug 13, 2024
54aaa71
edit intro and run recipe lesson
flicj191 Aug 13, 2024
f3fb6e5
image name fix
flicj191 Aug 13, 2024
6909e93
edit run recipe
flicj191 Aug 14, 2024
e947050
init supported data
flicj191 Aug 20, 2024
9202820
Update evaluation workflow
rbeucher Aug 20, 2024
f800c6d
Modify introduction, add ESMValCore
rbeucher Aug 20, 2024
e47085c
Merge pull request #4 from ACCESS-NRI/intro_runfirstrecipe
rbeucher Aug 20, 2024
13eec38
Merge pull request #3 from ACCESS-NRI/jupyternotebook
rbeucher Aug 20, 2024
49e3d4e
Add zv30 ro requirements
rbeucher Aug 20, 2024
42cdb6f
Merge branch 'gh-pages' of github.com:ACCESS-NRI/CMIP7_MED_Hackathon …
rbeucher Aug 20, 2024
b36444d
edit supported data
flicj191 Aug 21, 2024
cc4ff5b
add zv30 and ERA5 info
flicj191 Aug 22, 2024
5286e41
Update 03-supported-data.md
rbeucher Aug 23, 2024
9eeeb26
Merge pull request #5 from ACCESS-NRI/supported_data
rbeucher Aug 23, 2024
359abd8
Merge branch 'gh-pages' of github.com:ACCESS-NRI/CMIP7_MED_Hackathon …
rbeucher Aug 24, 2024
cd4ee8c
Restructure
rbeucher Aug 24, 2024
1b74d17
Update
rbeucher Aug 24, 2024
e930b26
Add introduction
rbeucher Aug 24, 2024
e3a80ec
Update Workflow part
rbeucher Aug 25, 2024
d650801
Add ESMValtool video series
rbeucher Aug 25, 2024
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
31 changes: 0 additions & 31 deletions .github/workflows/build-check-tutorial-site.yml

This file was deleted.

42 changes: 0 additions & 42 deletions .github/workflows/install-esmvaltool-run-recipes.yml

This file was deleted.

119 changes: 119 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
name: Website
on:
push:
branches:
- gh-pages
- main
pull_request: null
jobs:
build-website:
if: ${{ !endsWith(github.repository, '/styles') }}
runs-on: ubuntu-20.04
env:
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
defaults:
run:
shell: bash
steps:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true

- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.x'

- name: Install GitHub Pages, Bundler, and kramdown gems
run: |
gem install github-pages bundler kramdown kramdown-parser-gfm

- name: Install Python modules
run: |
python3 -m pip install --upgrade pip setuptools wheel pyyaml==5.3.1 requests

- name: Checkout the lesson
uses: actions/checkout@master
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}

- name: Look for R-markdown files
id: check-rmd
run: |
echo "count=$(shopt -s nullglob; files=($(find . -iname '*.Rmd')); echo ${#files[@]})" >> $GITHUB_OUTPUT

- name: Set up R
if: steps.check-rmd.outputs.count != 0
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
install-r: false

- name: Restore R Cache
if: steps.check-rmd.outputs.count != 0
uses: actions/cache@v2
with:
path: ${{ env.R_LIBS_USER }}
key: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-${{ hashFiles('.github/depends.Rds') }}
restore-keys: ${{ runner.os }}-${{ hashFiles('.github/R-version') }}-1-

- name: Install needed packages
if: steps.check-rmd.outputs.count != 0
run: |
source('bin/dependencies.R')
install_required_packages()
shell: Rscript {0}

- name: Query dependencies
if: steps.check-rmd.outputs.count != 0
run: |
source('bin/dependencies.R')
deps <- identify_dependencies()
create_description(deps)
use_bioc_repos()
saveRDS(remotes::dev_package_deps(dependencies = TRUE), ".github/depends.Rds", version = 2)
writeLines(sprintf("R-%i.%i", getRversion()$major, getRversion()$minor), ".github/R-version")
shell: Rscript {0}

- name: Install system dependencies for R packages
if: steps.check-rmd.outputs.count != 0
run: |
while read -r cmd
do
eval sudo $cmd || echo "Nothing to update"
done < <(Rscript -e 'cat(remotes::system_requirements("ubuntu", "20.04"), sep = "\n")')

- name: Render the markdown and confirm that the site can be built
run: make site

- name: Checkout github pages
if: ${{ github.event_name == 'push' && steps.check-rmd.outputs.count != 0 && github.ref != 'refs/heads/gh-pages'}}
uses: actions/checkout@master
with:
ref: gh-pages
path: gh-pages

- name: Commit and Push
if: ${{ github.event_name == 'push' && steps.check-rmd.outputs.count != 0 && github.ref != 'refs/heads/gh-pages'}}
run: |
# clean up gh-pages
cd gh-pages
git rm -rf . # remove all previous files
git restore --staged . # remove things from the stage
cd ..
# copy everything into gh-pages site
cp -r `ls -A | grep -v 'gh-pages' | grep -v '.git' | grep -v '.bundle/' | grep -v '_site'` gh-pages
# move into gh-pages, add, commit, and push
cd gh-pages
# setup git
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add -A .
git commit --allow-empty -m "[Github Actions] render website (via ${{ github.sha }})"
git push origin gh-pages
# return
cd ..
90 changes: 12 additions & 78 deletions .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,95 +1,29 @@
{
"creators": [
{
"affiliation": "NLeSC, Netherlands",
"name": "Alidoost, Fakhereh",
"orcid": "0000-0001-8407-6472"
"affiliation": "ACCESS-NRI, Australia",
"name": "Beucher, Romain",
"orcid": "0000-0003-3891-5444"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "Andela, Bouwe",
"orcid": "0000-0001-9005-8940"
"affiliation": "ACCESS-NRI, Australia",
"name": "Chun, Felicity",
"orcid": ""
},
{
"affiliation": "DLR, Germany",
"name": "Bock, Lisa",
"orcid": "0000-0001-7058-5938"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "Camphuijsen, Jaro",
"orcid": "0000-0002-8928-7831"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "Drost, Niels",
"orcid": "0000-0001-9795-7981"
},
{
"affiliation": "DLR, Germany",
"name": "Hassler, Birgit",
"orcid": "0000-0003-2724-709X"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "Kalverla, Peter",
"orcid": "0000-0002-5025-7862"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "López-Tarifa, Pablo",
"orcid": "0000-0002-4136-1860"
},
{
"affiliation": "PML, UK",
"name": "de Mora, Lee",
"orcid": "0000-0002-5080-3149"
},
{
"affiliation": "LMU, Germany",
"name": "Mueller, Benjamin"
},
{
"affiliation": "URead, UK",
"name": "Predoi, Valeriu",
"orcid": "0000-0002-9729-6578"
},
{
"affiliation": "URead, UK",
"name": "Swaminathan, Ranjini",
"orcid": "0000-0001-5853-2673"
},
{
"affiliation": "NLeSC, Netherlands",
"name": "Verhoeven, Stefan",
"orcid": "0000-0002-5821-2060"
"affiliation": "ACCESS-NRI, Australia",
"name": "Zeng, Yousong",
"orcid": "0000-0002-8385-5367"
}
],
"description": "ESMValTool 2.0 Tutorial.",
"description": "ACCESS-NRI MED Hackathon",
"license": {
"id": "CC-BY-4.0"
},
"title": "ESMValTool Tutorial",
"title": "ACCESS MED Hackathon",
"communities": [
{
"identifier": "is-enes3"
},
{
"identifier": "dlr_de"
},
{
"identifier": "nlesc"
}
],
"grants": [
{
"id": "10.13039/501100000780::776613"
},
{
"id": "10.13039/501100000780::824084"
},
{
"id": "10.13039/501100003246::2300185259"
"identifier": "access-nri"
}
]
}
83 changes: 16 additions & 67 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -1,80 +1,29 @@
# YAML 1.2
---
abstract: "ESMValTool 2.0 Tutorial."
abstract: "ACCESS MED Hackathon"

authors:
-
affiliation: "NLeSC, Netherlands"
family-names: Alidoost
given-names: Fakhereh
orcid: "https://orcid.org/0000-0001-8407-6472"
affiliation: "ACCESS-NRI, Australia"
family-names: Beucher
given-names: Romain
orcid: "https://orcid.org/0000-0003-3891-5444"
-
affiliation: "NLeSC, Netherlands"
family-names: Andela
given-names: Bouwe
orcid: "https://orcid.org/0000-0001-9005-8940"
affiliation: "ACCESS-NRI, Australia"
family-names: Chun
given-names: Felicity
orcid: "https://orcid.org/"
-
affiliation: "DLR, Germany"
family-names: Bock
given-names: Lisa
orcid: "https://orcid.org/0000-0001-7058-5938"
-
affiliation: "NLeSC, Netherlands"
family-names: Camphuijsen
given-names: Jaro
orcid: "https://orcid.org/0000-0002-8928-7831"
-
affiliation: "NLeSC, Netherlands"
family-names: Drost
given-names: Niels
orcid: "https://orcid.org/0000-0001-9795-7981"
-
affiliation: "DLR, Germany"
family-names: Hassler
given-names: Birgit
orcid: "https://orcid.org/0000-0003-2724-709X"
-
affiliation: "NLeSC, Netherlands"
family-names: Kalverla
given-names: Peter
orcid: "https://orcid.org/0000-0002-5025-7862"
-
affiliation: "NLeSC, Netherlands"
family-names: López-Tarifa
given-names: Pablo
orcid: "https://orcid.org/0000-0002-4136-1860"
-
affiliation: "PML, UK"
name-particle: de
family-names: Mora
given-names: Lee
orcid: "https://orcid.org/0000-0002-5080-3149"
-
affiliation: "LMU, Germany"
family-names: Mueller
given-names: Benjamin
-
affiliation: "URead, UK"
family-names: Predoi
given-names: Valeriu
orcid: "https://orcid.org/0000-0002-9729-6578"
-
affiliation: "URead, UK"
family-names: Swaminathan
given-names: Ranjini
orcid: "https://orcid.org/0000-0001-5853-2673"
-
affiliation: "NLeSC, Netherlands"
family-names: Verhoeven
given-names: Stefan
orcid: "https://orcid.org/0000-0002-5821-2060"
affiliation: "ACCESS-NRI, Australia"
family-names: Yousong
given-names: Zeng
orcid: "https://orcid.org/0000-0002-8385-5367"
cff-version: "1.0.3"
date-released: 2020-08-06
doi: "10.5281/zenodo.3974591"
date-released: 2024-09-02
license: "CC-BY-4.0"
message: "If you use this tutorial, please cite it using these metadata."
repository-code: "https://github.com/ESMValGroup/ESMValTool_Tutorial/"
title: "ESMValTool Tutorial"
repository-code: "https://github.com/ACCESS-NRI/CMIP7_MED_Hackathon"
title: "ACCESS-NRI MED Hackathon"
keywords:
- "Earth System Model Validation"
- "Climate Science"
Expand Down
Loading