Skip to content

Commit

Permalink
Create _schema_
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfiex committed Dec 9, 2024
1 parent 6417488 commit f72339d
Show file tree
Hide file tree
Showing 341 changed files with 2,637 additions and 1,662 deletions.
Binary file modified .DS_Store
Binary file not shown.
35 changes: 35 additions & 0 deletions .github/ISSUE_TEMPLATE/cmipld_activity.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: 'Add/Modify: Activity'
description: 'Type: activity'
title: 'Add/Modify: Activity: <enter item name>'
labels:
- delta
- activity
body:
- type: markdown
attributes:
value: " To add a new activity please fill in the form below. \n\n Existing\
\ entries are: \n\n\t | aerchemmip | c4mip | cfmip | cmip | damip | dcpp\
\ | geomip | lesfmip | lmip | pmip | ramip | rfmip | scenariomip | tipmip\
\ | \n ___ \n Alternatively [see here](https://github.com/wcrp-cmip/WCRP-universe/tree/main/src-data/activity/)\
\ for more examples. \n ___"
- id: description
attributes:
label: Description
description: A detailed description of the activity or project.
validations:
required: true
type: input
- id: name
attributes:
label: Name
description: The name of the activity.
validations:
required: true
type: input
- id: url
attributes:
label: Url
description: A URL providing further documentation or references.
validations:
required: true
type: input
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/cmipld_consortium.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: 'Add/Modify: Consortium'
description: 'Type: consortium'
title: 'Add/Modify: Consortium: <enter item name>'
labels:
- delta
- consortium
body:
- type: markdown
attributes:
value: Please fill in the form below.
- id: '@context'
attributes:
label: '@Context'
description: Context identifier, typically set to '_context_'
validations:
required: true
type: input
- id: changes
attributes:
label: Changes
description: Description of recent changes to the consortia
validations:
required: false
type: input
- id: cmip-acronym
attributes:
label: Cmip-Acronym
description: Official acronym for the consortia
validations:
required: true
type: input
- id: members
attributes:
label: Members
description: Map of member organizations within the consortia
validations:
required: true
type: input
- id: name
attributes:
label: Name
description: Full name of the consortia
validations:
required: true
type: input
- id: status
attributes:
label: Status
description: Current operational status of the consortia
options:
- active
- inactive
- dissolved
validations:
required: true
type: dropdown
- id: url
attributes:
label: Url
description: Official website or reference URL
validations:
required: false
type: input
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/cmipld_realm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: 'Add/Modify: Realm'
description: 'Type: realm'
title: 'Add/Modify: Realm: <enter item name>'
labels:
- delta
- realm
body:
- type: markdown
attributes:
value: " To add a new realm please fill in the form below. \n\n Existing entries\
\ are: \n\n\t | aerosol | atmos | atmoschem | land | landice | ocean\
\ | ocnbgchem | seaice | \n ___ \n Alternatively [see here](https://github.com/wcrp-cmip/WCRP-universe/tree/main/src-data/realm/)\
\ for more examples. \n ___"
- id: description
attributes:
label: Description
description: A detailed description of the realm .
validations:
required: true
type: input
- id: name
attributes:
label: Name
description: CMIP name used by the realm.
validations:
required: true
type: input
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/cmipld_source_type.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 'Add/Modify: Source_type'
description: Defines a CMIP source-type, including descriptive information about different
model runs, such as those uncoupled from the atmosphere.
title: 'Add/Modify: Source_type: <enter item name>'
labels:
- delta
- source_type
body:
- type: markdown
attributes:
value: Please fill in the form below.
- id: '@context'
attributes:
label: '@Context'
description: URI for the JSON-LD context describing source-type descriptors
validations:
required: true
type: input
- id: description
attributes:
label: Description
description: Detailed description of the source type
validations:
required: true
type: input
- id: name
attributes:
label: Name
description: Name or label for the source type
validations:
required: true
type: input
10 changes: 5 additions & 5 deletions .github/workflows/disabled /publish2pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ jobs:
rm -rf docs
fi
# Checkout the specified branch's data_descriptors directory into production
git checkout "${BRANCH}" -- data_descriptors
# mv data_descriptors docs
# Checkout the specified branch's src-data directory into production
git checkout "${BRANCH}" -- src-data
# mv src-data docs
# copy the 404 code.
cp 404.html data_descriptors/404.html
cp .nojekyll data_descriptors/.nojekyll
cp 404.html src-data/404.html
cp .nojekyll src-data/.nojekyll
# Find all .json files and create symbolic links without the .json extension
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

# - name: Pre-check files
# run: |
# for file in data_descriptors/*; do
# for file in src-data/*; do
# if [ ! -f "$file" ]; then
# echo "Error: $file does not exist."
# exit 1
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: 'data_descriptors'
path: 'src-data'
retention-days: 0

- name: Deploy to GitHub Pages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-jsonld.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
id: updated-dirs
uses: WCRP-CMIP/CMIP-LD/actions/updated-dirs@main
with:
filter_dir: "data_descriptors"
filter_dir: "src-data"

- name: Group JSONLD files
id: group-jsonld
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# WCRP-UNIVERSE
# WCRP-universe
TESTING ONLY: Auxillary data and global definitions to be used across miltiple Model Intercomparison Projects.

Replace the badge below with relevant repo links
[![Pages Served](https://github.com/WCRP-CMIP/WCRP-UNIVERSE/actions/workflows/static.yml/badge.svg)](https://github.com/WCRP-CMIP/WCRP-UNIVERSE/actions/workflows/static.yml)
[![Pages Served](https://github.com/WCRP-CMIP/WCRP-universe/actions/workflows/static.yml/badge.svg)](https://github.com/WCRP-CMIP/WCRP-universe/actions/workflows/static.yml)
Binary file removed data_descriptors/.DS_Store
Binary file not shown.
10 changes: 0 additions & 10 deletions data_descriptors/activity/_context_

This file was deleted.

11 changes: 0 additions & 11 deletions data_descriptors/consortia/_context_

This file was deleted.

10 changes: 0 additions & 10 deletions data_descriptors/frequency/_context_

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gm.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gn.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gna.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gng.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gnz.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr1.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr1a.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr1g.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr1z.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr2.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr2a.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr2g.json

This file was deleted.

9 changes: 0 additions & 9 deletions data_descriptors/grid_label/gr2z.json

This file was deleted.

Loading

0 comments on commit f72339d

Please sign in to comment.