Skip to content

Commit 387cdc7

Browse files
authored
Expand Contributor's Guide and README (#52)
1 parent d0762ab commit 387cdc7

8 files changed

+282
-80
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 🐛 Bug report
1+
name: 🐛 Bug Report
22
description: File a bug report
33
title: "[🐛]: "
44
labels: ["bug", "support", "triage"]

.github/ISSUE_TEMPLATE/feature_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 💡 Feature request
1+
name: 💡 Feature Request
22
description: Suggest an idea for this project
33
title: "[💡]: "
44
labels: ["support", "triage"]

.github/PULL_REQUEST_TEMPLATE.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ Closes #XXX
77
**General**
88
- [ ] PR includes a summary of changes
99
- [ ] Link relevant issues, make one if none exist
10+
- If adding a new page, select which type:
11+
- [ ] Python Entry
12+
- [ ] NCL Entry
13+
- [ ] Receipt
1014

1115
<!--
1216
Thank you so much for your PR! To help us review your contribution, please

CONTRIBUTING.md

+225-57
Large diffs are not rendered by default.

README.md

+34-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,38 @@
1-
# [GeoCAT Applications](https://ncar.github.io/geocat-applications/)
1+
# GeoCAT Applications
22

3-
This is the source repository for GeoCAT-applications.
3+
| **License** | [![License][license-badge]][repo-link] |
4+
| :----------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
5+
6+
## What is [GeoCAT Applications](https://ncar.github.io/geocat-applications/)?
7+
8+
GeoCAT Applications is a community resource managed by the GeoCAT team. Inspired by
9+
[NCL Applications](https://www.ncl.ucar.edu/Applications/).
10+
11+
GeoCAT Applications is broken into two main sections:
12+
1. Applications
13+
2. NCL to Python
14+
15+
### Applications
16+
Applications is designed to be a quick reference to demonstrate capabilities within the scientific
17+
Python ecosystem that may be relevant to your geoscience workflows
18+
19+
### NCL to Python
20+
NCL to Python consists of pages that explain specifically how to achieve something that was possible
21+
in NCL in Python, including any algorithmic differences, guidance regarding replication under different
22+
conditions or circumstances, and any other relevant comparisons between the NCL and Python functionality
23+
24+
These pages assume that the user has a working knowledge of NCL and are looking for transitional
25+
resources for specific functions. They also are not intended to be a comprehensive explanation of
26+
the Python recommendations, but rather a guide for users who are already familiar with the NCL
27+
function and are looking for “equivalent” Python code
28+
29+
## Contributing
30+
31+
If you are interesting in contributing to `geocat-applications`, please check out our
32+
[Contributor Guide](https://ncar.github.io/geocat-applications/CONTRIBUTING.html)
33+
34+
[license-badge]: https://img.shields.io/github/license/NCAR/geocat-applications?style=for-the-badge
35+
[repo-link]: https://github.com/NCAR/geocat-applications
436

537
## Contributors
638
Thank you to all of our contributors ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@
139139
'.rst': 'restructuredtext',
140140
'.ipynb': 'myst-nb',
141141
'.myst': 'myst-nb',
142+
'.md': 'myst-nb',
142143
}
143144

144145
# The encoding of source files.
@@ -179,7 +180,6 @@
179180
'ipynb_checkpoints',
180181
'.github',
181182
'ci',
182-
'CONTRIBUTING.md',
183183
'LICENSE.md',
184184
]
185185

index.rst

+8
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,14 @@ Python Examples
5757
NCL Index <ncl/ncl_index/ncl_index>
5858
NCL Applications <ncl/ncl_entries/ncl_entries.rst>
5959

60+
.. toctree::
61+
:maxdepth: 2
62+
:hidden:
63+
:caption: Contributing
64+
65+
Contributor Guide <CONTRIBUTING.md>
66+
Code of Conduct <CODE_OF_CONDUCT.md>
67+
6068
.. toctree::
6169
:maxdepth: 2
6270
:hidden:

templates/receipt_template.ipynb

+8-18
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@
4141
"metadata": {},
4242
"source": [
4343
"## NCL code\n",
44-
"<!---\n",
4544
"Edit the below cell to link to the ncl code included for comparison in this notebook. \n",
4645
"\n",
4746
"It may not be visible in your IDE or local editor, but it will be visible in generated documentation (locally, on PR previews, and the live webpage).\n",
48-
"-->"
47+
"\n",
48+
"Store NCL script in `ncl/ncl_raw` to generate within NCL Code. In the next cell, replace `./ncl.ncl` with `../ncl_raw/script_name.ncl`"
4949
]
5050
},
5151
{
@@ -77,9 +77,7 @@
7777
"metadata": {},
7878
"source": [
7979
"## Python Functionality\n",
80-
"<!---\n",
81-
"Show the python code that replicates the NCL functionality. Don't worry about providing narrative, just provide enough explanation that somebody with the knowledge level of another developer could follow along.\n",
82-
"-->"
80+
"Show the Python code that replicates the NCL functionality. Don't worry about providing narrative, just provide enough explanation that somebody with the knowledge level of another developer could follow along."
8381
]
8482
},
8583
{
@@ -90,23 +88,15 @@
9088
"outputs": [],
9189
"source": []
9290
},
93-
{
94-
"cell_type": "markdown",
95-
"id": "f5249331fd3ece22",
96-
"metadata": {},
97-
"source": ""
98-
},
9991
{
10092
"cell_type": "markdown",
10193
"id": "3237a0bffc6827fc",
10294
"metadata": {},
10395
"source": [
10496
"## Comparison\n",
105-
"<!---\n",
10697
"Directly compare the outputs, numerically, visually, or however is most appropriate.\n",
10798
"\n",
108-
"If possible and reasonable, include assert statements to validate the output.\n",
109-
"-->"
99+
"If possible and reasonable, include assert statements to validate the output."
110100
]
111101
},
112102
{
@@ -120,21 +110,21 @@
120110
],
121111
"metadata": {
122112
"kernelspec": {
123-
"display_name": "Python 3",
113+
"display_name": "Python 3 (ipykernel)",
124114
"language": "python",
125115
"name": "python3"
126116
},
127117
"language_info": {
128118
"codemirror_mode": {
129119
"name": "ipython",
130-
"version": 2
120+
"version": 3
131121
},
132122
"file_extension": ".py",
133123
"mimetype": "text/x-python",
134124
"name": "python",
135125
"nbconvert_exporter": "python",
136-
"pygments_lexer": "ipython2",
137-
"version": "2.7.6"
126+
"pygments_lexer": "ipython3",
127+
"version": "3.11.8"
138128
}
139129
},
140130
"nbformat": 4,

0 commit comments

Comments
 (0)