Skip to content

Commit b1119d6

Browse files
authored
Refinements to NCL and computational notebook tempaltes (#43)
1 parent a3c2dec commit b1119d6

File tree

2 files changed

+26
-20
lines changed

2 files changed

+26
-20
lines changed

templates/computational_template.ipynb

+8-15
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,21 @@
3232
]
3333
},
3434
{
35-
"cell_type": "markdown",
3635
"metadata": {},
37-
"source": [
38-
"## Content\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"
43-
]
44-
},
45-
{
4636
"cell_type": "markdown",
47-
"metadata": {},
48-
"source": [
49-
"Then link to the corresponding computational notebook that demonstrates the functionality in python. If one does not exist, create one."
50-
]
37+
"source": "---"
5138
},
5239
{
5340
"cell_type": "markdown",
5441
"metadata": {},
5542
"source": [
56-
"Include the same summary section of the computational notebook, highlighting if any altercations have been made to match the NCL functionality more closely"
43+
" ## Content Sections\n",
44+
"In the content sections, provide sections on topics such as:\n",
45+
"- working through a geoscience-specific problem\n",
46+
"- explaining the concepts behind the functionality\n",
47+
"- introducing other examples in the python ecosystem that cover similar topics\n",
48+
"\n",
49+
"*Note that these examples can be their own ##-level headers and that your final notebook is not expected to have a section with the ## Content Sections present in this cell*"
5750
]
5851
}
5952
],

templates/ncl_template.ipynb

+18-5
Original file line numberDiff line numberDiff line change
@@ -45,24 +45,37 @@
4545
"cell_type": "markdown",
4646
"metadata": {},
4747
"source": [
48-
"## Content\n",
48+
"## Content Sections\n",
4949
"In the content sections, provide relevant context to the NCL functions. For example, cover topics like:\n",
5050
"- Is there relevant history to the function?\n",
5151
"- Is there a specific use case that the function is designed for?\n",
5252
"- Are the methods used in the original function still relevant or outdated?\n",
5353
"- How closely does python replicate the functionality?\n",
54-
"- What flags or inputs should be used in python to replicate the functionality?\n"
54+
"- What flags or inputs should be used in python to replicate the functionality?\n",
55+
"\n",
56+
"*Note that these examples can be their own ##-level headers and that your final notebook is not expected to have a section with the ## Content Sections present in this cell*"
5557
]
5658
},
5759
{
5860
"cell_type": "markdown",
5961
"metadata": {},
60-
"source": "Then link to the corresponding computational notebook that demonstrates the functionality in python. If one does not exist, consider creating one."
62+
"source": [
63+
"## Python changes to approximate NCL functionality\n",
64+
"As a summary to the content sections above, compare the grab and go section of any corresponding computational notebook, highlighting if any altercations have been made to match the NCL functionality more closely.\n",
65+
"\n",
66+
"If there is no corresponding computational notebook, it is okay to just note what sections of the grab-and-go are specific to matching the python snippet to NCL functionality."
67+
]
6168
},
6269
{
63-
"cell_type": "markdown",
6470
"metadata": {},
65-
"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"
71+
"cell_type": "markdown",
72+
"source": [
73+
"## Python Resources\n",
74+
"\n",
75+
"Link to the corresponding computational notebook that demonstrates the functionality in python. If one does not exist, consider creating one.\n",
76+
"\n",
77+
"If no corresponding computational notebook exists in geocat-applications, linking to external resources is also appropriate."
78+
]
6679
},
6780
{
6881
"metadata": {},

0 commit comments

Comments
 (0)