Skip to content

Commit 83e0670

Browse files
committed
doi
1 parent 1aedead commit 83e0670

File tree

6 files changed

+40
-8
lines changed

6 files changed

+40
-8
lines changed

CITATION.cff

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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: Camron
6+
given-names: Drew
7+
orcid: https://orcid.org/0000-0001-7246-6502
8+
website: https://github.com/dcamron
9+
affiliation: UCAR/Unidata
10+
- name: "Metpy Cookbook contributors" # use the 'name' field to acknowledge organizations
11+
website: "https://github.com/ProjectPythia/metpy-cookbook/graphs/contributors"
12+
title: "Metpy Cookbook"
13+
abstract: "A sample cookbook description."

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
</div>
88
</div>
99

10-
1110
**:warning: THIS COOKBOOK IS UNDER CONSTRUCTION :warning:**
1211

1312
# MetPy Cookbook
1413

1514
[![nightly-build](https://github.com/ProjectPythia/metpy-cookbook/actions/workflows/nightly-build.yaml/badge.svg)](https://github.com/ProjectPythia/metpy-cookbook/actions/workflows/nightly-build.yaml)
1615
[![Binder](http://binder.mypythia.org/badge_logo.svg)](http://binder.mypythia.org/v2/gh/ProjectPythia/metpy-cookbook/main?labpath=notebooks)
16+
[![DOI](https://zenodo.org/badge/620944317.svg)](https://zenodo.org/badge/latestdoi/620944317)
1717

1818
This Cookbook is the oversized recipe book for all your MetPy needs.
1919
We provide a gallery of real workflows centered around meteorological data,
@@ -34,7 +34,6 @@ MetPy Maintainers and the MetPy Community.
3434

3535
### The MetPy Example Gallery
3636

37-
3837
## Running the Notebooks
3938

4039
You can either run the notebook using [Binder](https://mybinder.org/) or on your local machine.

_config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,13 @@ parse:
4343

4444
sphinx:
4545
config:
46-
4746
html_favicon: notebooks/images/icons/favicon.ico
48-
html_last_updated_fmt: '%-d %B %Y'
47+
html_last_updated_fmt: "%-d %B %Y"
4948
html_theme: sphinx_pythia_theme
5049
html_permalinks_icon: '<i class="fas fa-link"></i>'
5150
html_theme_options:
5251
home_page_in_toc: true
53-
repository_url: https://github.com/ProjectPythia/cookbook-template/ # Online location of your book
52+
repository_url: https://github.com/ProjectPythia/metpy-cookbook/ # Online location of your book
5453
repository_branch: main # Which branch of the repository should be used when creating links (optional)
5554
use_issues_button: true
5655
use_repository_button: true

_gallery_info.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
thumbnail: metpy.png
2+
tags:
3+
domains:
4+
- meteorology
5+
- data access
6+
packages:
7+
- metpy
8+
- siphon
9+
- cartopy
10+
- xarray
11+
- pint

_toc.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
format: jb-book
22
root: README
33
parts:
4+
- caption: Preamble
5+
chapters:
6+
- file: notebooks/how-to-cite
47
- caption: The MetPy Gallery
58
chapters:
69
- file: notebooks/notebook-template
7-
title: What organization
10+
title: What organization
811
sections:
9-
- glob: notebooks/gallery/*
12+
- glob: notebooks/gallery/*
1013
- file: notebooks/gallery/index1
1114
title: do we want
1215
- file: notebooks/gallery/index2
13-
title: for these "chapters"?
16+
title: for these "chapters"?

notebooks/how-to-cite

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 Metpy 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/metpy-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/620944317.svg)](https://zenodo.org/badge/latestdoi/620944317)

0 commit comments

Comments
 (0)