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
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,23 @@ jobs:
mkdocs build --strict
(! git status --porcelain --untracked-files=no | grep '^.M') || (echo 'Docs are not up to date. Please run `make docs` locally then commit and upload the results.' && exit 1)

check-source-id-landing-pages-up-to-date:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Check docs are up to date
run: |
which pip
pip install -r requirements-docs.txt
python docs/source-id-landing-pages/auto-generate-source-id-pages.py
(! git status --porcelain --untracked-files=no | grep '^.M') || (echo 'Source ID landing pages are not up to date. Please run `make update-source-id-pages` locally then commit and upload the results.' && exit 1)

cvs-load-with-input4mips-validation:
runs-on: ubuntu-latest
# Ok if this fails, we just want to use it as a warning for us to update input4MIPs-validation
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ set-version: ## set the repository's version to the value of the environment va
update-html-pages: ## update our html pages
venv/bin/python python-packages/input4MIPs-CVs/src/input4MIPs_CVs/cli/update-html-pages.py --repo-root-dir .

.PHONY: update-source-id-pages
update-source-id-pages: ## update our source ID landing pages
venv/bin/python docs/source-id-landing-pages/auto-generate-source-id-pages.py

.PHONY: docs
docs: ## build the docs
venv/bin/mkdocs build
Expand Down
2 changes: 2 additions & 0 deletions changelog/225.docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Added landing pages for all source IDs (except source IDs that were never published) in `docs/source-id-landing-pages`.
These can then be linked up with ESGF's metadata using the citation info that is placed next to these landing pages.
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"creators": [
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA",
"creatorName": "Hoesly, Rachel",
"email": "rachel.hoesly@pnnl.gov",
"familyName": "Hoesly",
"givenName": "Rachel",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-0965-2729",
"schemeURI": "https://orcid.org/"
}
},
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA. Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA",
"creatorName": "Smith, Steve",
"email": "ssmith@pnnl.gov",
"familyName": "Smith",
"givenName": "Steve",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-3248-5607",
"schemeURI": "https://orcid.org/"
}
}
],
"dates": [
{
"date": "2024-11-08",
"dateType": "Created"
}
],
"descriptions": [
{
"descriptionType": "Abstract",
"text": "CMIP forcing dataset (input4MIPs).\nThis is all data published under the unique ID (known as a source ID) CEDS-CMIP-2024-10-21-supplemental."
}
],
"formats": [
{
"format": "application/x-netcdf"
}
],
"fundingReferences": [],
"identifier": {
"id": "10.5281/zenodo.13952845",
"identifierType": "DOI"
},
"language": "en",
"publication_year": 2024,
"publisher": "Earth System Grid Federation",
"relatedIdentifiers": [],
"resourceType": {
"resourceType": "Digital",
"resourceTypeGeneral": "Dataset"
},
"rightsList": [
{
"rights": "Creative Commons Attribution 4.0 International License (CC BY 4.0)",
"rightsURI": "http://creativecommons.org/licenses/by/4.0/"
}
],
"subjects": [
{
"subject": "input4MIPs.CMIP6Plus.CMIP.PNNL-JGCRI.CEDS-CMIP-2024-10-21-supplemental",
"subjectScheme": "DRS"
},
{
"subject": "forcing data"
},
{
"subject": "climate"
},
{
"subject": "CMIP6Plus"
}
],
"titles": "CEDS-CMIP-2024-10-21-supplemental data provided as part of input4MIPs"
}
19 changes: 19 additions & 0 deletions docs/source-id-landing-pages/CEDS-CMIP-2024-10-21-supplemental.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CEDS-CMIP-2024-10-21-supplemental

*ESGF link*: [https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-10-21-supplemental%22%5D%7D](https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-10-21-supplemental%22%5D%7D)

## Authors

1. Rachel Hoesly ([ORCID 0000-0003-0965-2729](https://orcid.org/0000-0003-0965-2729))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA

2. Steve Smith ([ORCID 0000-0003-3248-5607](https://orcid.org/0000-0003-3248-5607))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA
- Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA


## Basic metadata

- source_id: CEDS-CMIP-2024-10-21-supplemental
- contact: Rachel Hoesly (rachel.hoesly@pnnl.gov); Steve Smith (ssmith@pnnl.gov)
- further_info_url: https://www.pnnl.gov/projects/ceds
88 changes: 88 additions & 0 deletions docs/source-id-landing-pages/CEDS-CMIP-2024-10-21.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"creators": [
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA",
"creatorName": "Hoesly, Rachel",
"email": "rachel.hoesly@pnnl.gov",
"familyName": "Hoesly",
"givenName": "Rachel",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-0965-2729",
"schemeURI": "https://orcid.org/"
}
},
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA. Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA",
"creatorName": "Smith, Steve",
"email": "ssmith@pnnl.gov",
"familyName": "Smith",
"givenName": "Steve",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-3248-5607",
"schemeURI": "https://orcid.org/"
}
}
],
"dates": [
{
"date": "2024-10-31",
"dateType": "Created"
},
{
"date": "2024-10-20",
"dateType": "Created"
},
{
"date": "2024-11-08",
"dateType": "Created"
}
],
"descriptions": [
{
"descriptionType": "Abstract",
"text": "CMIP forcing dataset (input4MIPs).\nThis is all data published under the unique ID (known as a source ID) CEDS-CMIP-2024-10-21."
}
],
"formats": [
{
"format": "application/x-netcdf"
}
],
"fundingReferences": [],
"identifier": {
"id": "10.5281/zenodo.13952845",
"identifierType": "DOI"
},
"language": "en",
"publication_year": 2024,
"publisher": "Earth System Grid Federation",
"relatedIdentifiers": [],
"resourceType": {
"resourceType": "Digital",
"resourceTypeGeneral": "Dataset"
},
"rightsList": [
{
"rights": "Creative Commons Attribution 4.0 International License (CC BY 4.0)",
"rightsURI": "http://creativecommons.org/licenses/by/4.0/"
}
],
"subjects": [
{
"subject": "input4MIPs.CMIP6Plus.CMIP.PNNL-JGCRI.CEDS-CMIP-2024-10-21",
"subjectScheme": "DRS"
},
{
"subject": "forcing data"
},
{
"subject": "climate"
},
{
"subject": "CMIP6Plus"
}
],
"titles": "CEDS-CMIP-2024-10-21 data provided as part of input4MIPs"
}
19 changes: 19 additions & 0 deletions docs/source-id-landing-pages/CEDS-CMIP-2024-10-21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CEDS-CMIP-2024-10-21

*ESGF link*: [https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-10-21%22%5D%7D](https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-10-21%22%5D%7D)

## Authors

1. Rachel Hoesly ([ORCID 0000-0003-0965-2729](https://orcid.org/0000-0003-0965-2729))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA

2. Steve Smith ([ORCID 0000-0003-3248-5607](https://orcid.org/0000-0003-3248-5607))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA
- Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA


## Basic metadata

- source_id: CEDS-CMIP-2024-10-21
- contact: Rachel Hoesly (rachel.hoesly@pnnl.gov); Steve Smith (ssmith@pnnl.gov)
- further_info_url: https://www.pnnl.gov/projects/ceds
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"creators": [
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA",
"creatorName": "Hoesly, Rachel",
"email": "rachel.hoesly@pnnl.gov",
"familyName": "Hoesly",
"givenName": "Rachel",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-0965-2729",
"schemeURI": "https://orcid.org/"
}
},
{
"affiliation": "Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA. Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA",
"creatorName": "Smith, Steve",
"email": "ssmith@pnnl.gov",
"familyName": "Smith",
"givenName": "Steve",
"nameIdenfitier": {
"nameIdenfitierScheme": "ORCID",
"pid": "0000-0003-3248-5607",
"schemeURI": "https://orcid.org/"
}
}
],
"dates": [
{
"date": "2024-11-26",
"dateType": "Created"
}
],
"descriptions": [
{
"descriptionType": "Abstract",
"text": "CMIP forcing dataset (input4MIPs).\nThis is all data published under the unique ID (known as a source ID) CEDS-CMIP-2024-11-25-supplemental."
}
],
"formats": [
{
"format": "application/x-netcdf"
}
],
"fundingReferences": [],
"identifier": {
"id": "10.5281/zenodo.14145000",
"identifierType": "DOI"
},
"language": "en",
"publication_year": 2024,
"publisher": "Earth System Grid Federation",
"relatedIdentifiers": [],
"resourceType": {
"resourceType": "Digital",
"resourceTypeGeneral": "Dataset"
},
"rightsList": [
{
"rights": "Creative Commons Attribution 4.0 International License (CC BY 4.0)",
"rightsURI": "http://creativecommons.org/licenses/by/4.0/"
}
],
"subjects": [
{
"subject": "input4MIPs.CMIP6Plus.CMIP.PNNL-JGCRI.CEDS-CMIP-2024-11-25-supplemental",
"subjectScheme": "DRS"
},
{
"subject": "forcing data"
},
{
"subject": "climate"
},
{
"subject": "CMIP6Plus"
}
],
"titles": "CEDS-CMIP-2024-11-25-supplemental data provided as part of input4MIPs"
}
19 changes: 19 additions & 0 deletions docs/source-id-landing-pages/CEDS-CMIP-2024-11-25-supplemental.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# CEDS-CMIP-2024-11-25-supplemental

*ESGF link*: [https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-11-25-supplemental%22%5D%7D](https://aims2.llnl.gov/search?project=input4MIPs&versionType=all&&activeFacets=%7B%22source_id%22%3A%5B%22CEDS-CMIP-2024-11-25-supplemental%22%5D%7D)

## Authors

1. Rachel Hoesly ([ORCID 0000-0003-0965-2729](https://orcid.org/0000-0003-0965-2729))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA

2. Steve Smith ([ORCID 0000-0003-3248-5607](https://orcid.org/0000-0003-3248-5607))
- Joint Global Change Research Institute, Pacific Northwest National Laboratory, College Park, MD, USA
- Department of Atmospheric and Oceanic Science, University of Maryland, College Park, MD, USA


## Basic metadata

- source_id: CEDS-CMIP-2024-11-25-supplemental
- contact: Rachel Hoesly (rachel.hoesly@pnnl.gov); Steve Smith (ssmith@pnnl.gov)
- further_info_url: https://www.pnnl.gov/projects/ceds
Loading