Skip to content

Commit f159c8a

Browse files
authored
Merge pull request #18 from jukent/doi
doi infrastructure changes
2 parents 3edcf7c + 3b6ca96 commit f159c8a

File tree

6 files changed

+66
-25
lines changed

6 files changed

+66
-25
lines changed

CITATION.cff

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
cff-version: 1.2.0
2+
message: "If you use this cookbook, please cite it as below."
3+
authors:
4+
# add additional entries for each author -- see https://github.com/citation-file-format/citation-file-format/blob/main/schema-guide.md
5+
- family-names: Rose
6+
given-names: Brian E. J.
7+
orcid: https://orcid.org/0000-0002-9961-3821 # optional
8+
website: https://github.com/brian-rose # optional
9+
affiliation: University at Albany (State University of New York) # optional
10+
- family-names: Banihirwe
11+
given-names: Anderson
12+
orcid: https://orcid.org/0000-0001-6583-571X
13+
website: https://github.com/andersy005
14+
- family-names: Bonnlander
15+
given-names: Brian
16+
website: https://github.com/bonnland
17+
- family-names: de La Beaujardière
18+
given-names: Jeff
19+
website: https://github.com/jeffdlb
20+
affiliation: UCAR/NCAR
21+
- family-names: Henderson
22+
given-names: Scott
23+
website: https://github.com/scotthq
24+
orcid: https://orcid.org/0000-0003-0624-4965
25+
- name: "CESM LENS on AWS Cookbook contributors" # use the 'name' field to acknowledge organizations
26+
website: "https://github.com/ProjectPythia/cesm-lens-aws-cookbook/graphs/contributors"
27+
title: "CESM LENS on AWS Cookbook"
28+
abstract: "Notebooks developed to demonstrate analysis of CESM LENS data publicly available on Amazon S3 (us-west-2 region) using Xarray and Dask."

README.md

Lines changed: 20 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
[![nightly-build](https://github.com/ProjectPythia/cesm-lens-aws-cookbook/actions/workflows/nightly-build.yaml/badge.svg)](https://github.com/ProjectPythia/cesm-lens-aws-cookbook/actions/workflows/nightly-build.yaml)
66
[![Binder](https://binder.projectpythia.org/badge_logo.svg)](https://binder.projectpythia.org/v2/gh/ProjectPythia/cesm-lens-aws-cookbook/main?labpath=notebooks)
7+
[![DOI](https://zenodo.org/badge/509240024.svg)](https://zenodo.org/badge/latestdoi/509240024)
78

89
This Project Pythia Cookbook covers analysis of CESM LENS data publicly available on Amazon S3 (us-west-2 region) using Xarray and Dask
910

@@ -26,12 +27,15 @@ The total LENS data volume is ~500 TB, and is traditionally accessible through t
2627
## Structure
2728

2829
### Foundations
30+
2931
There is one notebook in this section that describes how to access the CESM LENS data from AWS using Intake ESM. It includes examples of using an enhanced catalog.
3032

3133
### Example workflows
34+
3235
This section contains an example of using this dataset to recreate two plots from a paper published in BAMS.
3336

3437
## Running the Notebooks
38+
3539
You can either run the notebook using [Binder](https://binder.projectpythia.org) or on your local machine.
3640

3741
### Running on Binder
@@ -52,26 +56,28 @@ a live Jupyter notebook are described in [Getting Started with
5256
Jupyter](https://foundations.projectpythia.org/foundations/getting-started-jupyter.html).
5357

5458
### Running on Your Own Machine
59+
5560
If you are interested in running this material locally on your computer, you will need to follow this workflow:
5661

57-
(Replace "cookbook-example" with the title of your cookbooks)
62+
(Replace "cookbook-example" with the title of your cookbooks)
5863

5964
1. Clone the `https://github.com/ProjectPythia/cesm-lens-aws-cookbook` repository:
6065

6166
```bash
6267
git clone https://github.com/ProjectPythia/cesm-lens-aws-cookbook.git
63-
```
68+
```
69+
6470
1. Move into the `cesm-lens-aws-cookbook` directory
65-
```bash
66-
cd cesm-lens-aws-cookbook
67-
```
71+
```bash
72+
cd cesm-lens-aws-cookbook
73+
```
6874
1. Create and activate your conda environment from the `environment.yml` file
69-
```bash
70-
conda env create -f environment.yml
71-
conda activate cla-cookbook-dev
72-
```
73-
1. Move into the `notebooks` directory and start up Jupyterlab
74-
```bash
75-
cd notebooks/
76-
jupyter lab
77-
```
75+
```bash
76+
conda env create -f environment.yml
77+
conda activate cla-cookbook-dev
78+
```
79+
1. Move into the `notebooks` directory and start up Jupyterlab
80+
```bash
81+
cd notebooks/
82+
jupyter lab
83+
```

_config.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,7 @@
44
title: CESM LENS on AWS Cookbook
55
author: the <a href="https://projectpythia.org/">Project Pythia</a> Community
66
logo: notebooks/images/logos/pythia_logo-white-rtext.svg
7-
8-
copyright: '2022'
9-
10-
description: Notebooks developed to demonstrate analysis of CESM LENS data publicly available on Amazon S3 (us-west-2 region) using Xarray and Dask.
11-
thumbnail: thumbnail.png
12-
tags:
13-
domains:
14-
- climate
15-
packages:
16-
- intake-esm
7+
copyright: "2022"
178

189
execute:
1910
# To execute notebooks via a Binder instead, replace 'cache' with 'binder'
@@ -38,7 +29,7 @@ sphinx:
3829
linkcheck_ignore: ["https://doi.org/*"] # don't run link checker on DOI links since they are immutable
3930
nb_execution_raise_on_error: true # raise exception in build if there are notebook errors (this flag is ignored if building on binder)
4031
html_favicon: notebooks/images/icons/favicon.ico
41-
html_last_updated_fmt: '%-d %B %Y'
32+
html_last_updated_fmt: "%-d %B %Y"
4233
html_theme: sphinx_pythia_theme
4334
html_permalinks_icon: '<i class="fas fa-link"></i>'
4435
html_theme_options:

_gallery_info.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
thumbnail: thumbnail.png
2+
tags:
3+
domains:
4+
- climate
5+
packages:
6+
- intake-esm

_toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
format: jb-book
22
root: README
33
parts:
4+
- caption: Preamble
5+
chapters:
6+
- file: notebooks/how-to-cite
47
- caption: Foundations
58
chapters:
69
- file: notebooks/foundations/enhanced-catalog.ipynb

notebooks/how-to-cite.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# How to Cite This Cookbook
2+
3+
The material in Project Pythia's CESM LENS on AWS Cookbook is licensed for free and open consumption and reuse. All code is served under [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0), while all non-code content is licensed under [Creative Commons BY 4.0 (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/). Effectively, this means you are free to share and adapt this material so long as you give appropriate credit to the Cookbook authors and the Project Pythia community.
4+
5+
The source code for the book is [released on GitHub](https://github.com/ProjectPythia/cesm-lens-aws-cookbook) and archived on Zenodo. This DOI will always resolve to the latest release of the book source:
6+
7+
[![DOI](https://zenodo.org/badge/509240024.svg)](https://zenodo.org/badge/latestdoi/509240024)

0 commit comments

Comments
 (0)