Skip to content

Commit b3bc9d7

Browse files
committed
better pass at templates
1 parent 0bffa6b commit b3bc9d7

File tree

2 files changed

+46
-23
lines changed

2 files changed

+46
-23
lines changed

templates/NCL_template.ipynb

+24-11
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# NCL Equivalency Template\n",
8-
"This template is to create notebooks that add on to notebooks created from the computational template to give them context in terms of their application related to corresponding functionality in NCL.\n",
9-
"Like that template, this should be the only use of the top level header (`#`) in the notebook."
7+
"# NCL Equivalency Notebook Template\n",
8+
"This template is to create notebooks that add-on to notebooks created from the computational template to give them context in terms of their application related to corresponding functionality in NCL if necessary\n",
9+
"\n",
10+
"Like that template, this should be the only use of the top level header (`#`) in the notebook.\n",
11+
"\n",
12+
"This notebook can be aimed at a more advanced audience, as these notebooks assume that the user is seeking information beyond the basic \"how to do this in python\" that the computational notebook provides."
1013
]
1114
},
1215
{
@@ -15,8 +18,22 @@
1518
"source": [
1619
"## Overview\n",
1720
"When possible, lead with a short intro paragraph that covers the content and scope of the materials in the notebook\n",
18-
"- List and link to the NCL documentation for the functions to be covered in the notebook\n",
19-
"\n"
21+
"- Link to the NCL documentation for the functions to be covered in the notebook\n",
22+
"- Link to any resources you found useful when constructing this notebook\n",
23+
"- Link to the computational notebook that corresponds to this notebook"
24+
]
25+
},
26+
{
27+
"metadata": {},
28+
"cell_type": "markdown",
29+
"source": [
30+
"## Grab and Go\n",
31+
"\n",
32+
"Where possible, provide a code section that can be copied and pasted to replciate NCL functionality.\n",
33+
" \n",
34+
"```python \n",
35+
"# Python code\n",
36+
"```"
2037
]
2138
},
2239
{
@@ -35,16 +52,12 @@
3552
{
3653
"cell_type": "markdown",
3754
"metadata": {},
38-
"source": [
39-
"Then link to the corresponding computational notebook that demonstrates the functionality in python. If one does not exist, create one."
40-
]
55+
"source": "Then link to the corresponding computational notebook that demonstrates the functionality in python. If one does not exist, consider creating one."
4156
},
4257
{
4358
"cell_type": "markdown",
4459
"metadata": {},
45-
"source": [
46-
"Include the same summary section of the computational notebook, highlighting if any altercations have been made to match the NCL functionality more closely"
47-
]
60+
"source": "Include the same grab and go section of the computational notebook, highlighting if any altercations have been made to match the NCL functionality more closely"
4861
}
4962
],
5063
"metadata": {

templates/computational_template.ipynb

+22-12
Original file line numberDiff line numberDiff line change
@@ -4,32 +4,42 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"# NCL Equivalency Template\n",
8-
"This template is to create notebooks that add on to notebooks created from the computational template to give them context in terms of their application related to corresponding functionality in NCL.\n",
9-
"Like that template, this should be the only use of the top level header (`#`) in the notebook."
7+
"# Computational Notebook Template\n",
8+
"This template is designed to be the main page of content for a specific topic added to geocat-applications. \n",
9+
"\n",
10+
"It should start with a header describing the type of functionality the notebook demonstrates and should be the only use of the top level header (`#`) in the notebook."
1011
]
1112
},
1213
{
1314
"cell_type": "markdown",
1415
"metadata": {},
1516
"source": [
1617
"## Overview\n",
17-
"When possible, lead with a short intro paragraph that covers the content and scope of the materials in the notebook\n",
18-
"- List and link to the NCL documentation for the functions to be covered in the notebook\n",
19-
"\n"
18+
"When possible, lead with a short intro paragraph that covers the content and scope of the materials in the notebook"
19+
]
20+
},
21+
{
22+
"metadata": {},
23+
"cell_type": "markdown",
24+
"source": [
25+
"## Grab and Go\n",
26+
"\n",
27+
"Where possible, provide a code section that can be copied and pasted to use the base-level functionality described in the notebook.\n",
28+
" \n",
29+
"```python \n",
30+
"# Python code\n",
31+
"```"
2032
]
2133
},
2234
{
2335
"cell_type": "markdown",
2436
"metadata": {},
2537
"source": [
2638
"## Content\n",
27-
"In the content sections, provide relevant context to the NCL functions. For example, cover topics like:\n",
28-
"- Is there relevant history to the function?\n",
29-
"- Is there a specific use case that the function is designed for?\n",
30-
"- Are the methods used in the original function still relevant or outdated?\n",
31-
"- How closely does python replicate the functionality?\n",
32-
"- What flags or inputs should be used in python to replicate the functionality?\n"
39+
"In the content sections, provide sections on topics such as:\n",
40+
"- working through a geoscience-specific problem\n",
41+
"- explaining the concepts behind the functionality\n",
42+
"- introducing other examples in the python ecosystem that cover similar topics\n"
3343
]
3444
},
3545
{

0 commit comments

Comments
 (0)