Skip to content

Commit

Permalink
Merge pull request #21 from WCRP-CORDEX/rename
Browse files Browse the repository at this point in the history
change table prefix to CORDEX-CMIP6
  • Loading branch information
larsbuntemeyer authored Oct 23, 2023
2 parents 0d7d883 + e7a8165 commit 765ed8e
Show file tree
Hide file tree
Showing 27 changed files with 54 additions and 340 deletions.
18 changes: 3 additions & 15 deletions .github/workflows/update-cv.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,11 @@ jobs:
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install pre-commit
#pre-commit install
- name: Update controlled vocabulary
run: |
python scripts/createCORDEXCV.py
mv CORDEX_CV.json tables/Tables
# - name: Commit CORDEX_CV.json
# run: |
# cd tables
# git config --global user.name "github-actions[bot]"
# (pre-commit run --all-files) || true
# git pull origin main
#git config --global user.email 'your-username@users.noreply.github.com'
#git commit Tables/CORDEX_CV.json -m "automated CV update"
#git status
#git push
python scripts/create-cv.py
mv CORDEX-CMIP6_CV.json tables/Tables
- name: Check if there are any changes
id: verify_diff
Expand All @@ -73,6 +61,6 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
(pre-commit run --all-files) || true
git commit Tables/CORDEX_CV.json -m "automated CV update"
git commit Tables/CORDEX_CV.json -m "CV update"
git status
git push
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -680,13 +680,6 @@
"driving_source_id": "IPSL-CM6A-LR-INCA",
"driving_source": "IPSL-CM6A-LR-INCA (2019): \naerosol: INCA v6 AER\natmos: LMDZ (NPv6 ; 144 x 143 longitude/latitude; 79 levels; top level 80000 m)\natmosChem: none\nland: ORCHIDEE (v2.0, Water/Carbon/Energy mode)\nlandIce: none\nocean: NEMO-OPA (eORCA1.3, tripolar primarily 1deg; 362 x 332 longitude/latitude; 75 levels; top grid cell 0-2 m)\nocnBgchem: NEMO-PISCES\nseaIce: NEMO-LIM3"
},
"IPSL-CM6A-MR025": {
"driving_institution_id": [
"IPSL"
],
"driving_source_id": "IPSL-CM6A-MR025",
"driving_source": "IPSL-CM6A-MR025 (2021): \naerosol: none\natmos: LMDZ (NPv6; 256 x 256 longitude/latitude; 79 levels; top level 80000 m)\natmosChem: none\nland: ORCHIDEE (v2.2, Water/Carbon/Energy mode; same grid as atmos)\nlandIce: none\nocean: NEMO-OPA (eORCA025, tripolar primarily 0.25deg; 1442 x 1207 longitude/latitude; 75 levels; top grid cell 0-2 m)\nocnBgchem: none\nseaIce: NEMO-LIM3 (same grid as ocean)"
},
"IPSL-CM6A-MR1": {
"driving_institution_id": [
"IPSL"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
49 changes: 0 additions & 49 deletions CORDEX_grid_label.json

This file was deleted.

59 changes: 0 additions & 59 deletions docs/CORDEX_institution_id.html

This file was deleted.

74 changes: 0 additions & 74 deletions docs/CORDEX_source_id.html

This file was deleted.

92 changes: 0 additions & 92 deletions docs/CORDEX_source_id_components.html

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

table_dir = op.join(op.dirname(op.dirname(__file__)), "Tables")

table_prefix = "CORDEX"
table_prefix = "CORDEX-CMIP6"


def read_json_url(url):
Expand Down
Loading

0 comments on commit 765ed8e

Please sign in to comment.