Skip to content

Commit 7c1caf2

Browse files
authored
set up binder, add versioning notes, and render data tutorials (#2)
* set up a binder instance using the Hackweek Docker image (to create the environment used in Pangeo) * Rendered data-related tutorials, including the ones that cannot be run on Binder. * Added notes about icepyx versioning and tutorials that won't run in Binder due to large data download requirements.
1 parent 4c26dab commit 7c1caf2

31 files changed

Lines changed: 25007 additions & 13141 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,7 @@ dmypy.json
127127

128128
# Pyre type checker
129129
.pyre/
130+
131+
# large file types
132+
*.h5
133+
*.tif

04.Jupyter_and_iPython/02-Beyond-Plain-Python.ipynb

Lines changed: 42 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
"cell_type": "code",
6060
"execution_count": null,
6161
"metadata": {
62+
"collapsed": true,
6263
"jupyter": {
6364
"outputs_hidden": true
6465
}
@@ -98,6 +99,7 @@
9899
"cell_type": "code",
99100
"execution_count": null,
100101
"metadata": {
102+
"collapsed": true,
101103
"jupyter": {
102104
"outputs_hidden": true
103105
}
@@ -410,6 +412,7 @@
410412
"cell_type": "code",
411413
"execution_count": null,
412414
"metadata": {
415+
"collapsed": true,
413416
"jupyter": {
414417
"outputs_hidden": true
415418
}
@@ -601,27 +604,59 @@
601604
},
602605
{
603606
"cell_type": "code",
604-
"execution_count": null,
607+
"execution_count": 1,
605608
"metadata": {},
606-
"outputs": [],
609+
"outputs": [
610+
{
611+
"ename": "NameError",
612+
"evalue": "name 'imshow' is not defined",
613+
"output_type": "error",
614+
"traceback": [
615+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
616+
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
617+
"\u001b[0;32m<ipython-input-1-1088ebe55517>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mimshow\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mReadAsArray\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mzeros\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
618+
"\u001b[0;31mNameError\u001b[0m: name 'imshow' is not defined"
619+
]
620+
}
621+
],
607622
"source": [
608623
"imshow(data.ReadAsArray()), zeros(10)"
609624
]
610625
},
611626
{
612627
"cell_type": "code",
613-
"execution_count": null,
628+
"execution_count": 2,
614629
"metadata": {},
615-
"outputs": [],
630+
"outputs": [
631+
{
632+
"name": "stdout",
633+
"output_type": "stream",
634+
"text": [
635+
"Populating the interactive namespace from numpy and matplotlib\n"
636+
]
637+
}
638+
],
616639
"source": [
617640
"%pylab inline"
618641
]
619642
},
620643
{
621644
"cell_type": "code",
622-
"execution_count": null,
645+
"execution_count": 3,
623646
"metadata": {},
624-
"outputs": [],
647+
"outputs": [
648+
{
649+
"ename": "NameError",
650+
"evalue": "name 'data' is not defined",
651+
"output_type": "error",
652+
"traceback": [
653+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
654+
"\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
655+
"\u001b[0;32m<ipython-input-3-1088ebe55517>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m\u001b[0m\n\u001b[0;32m----> 1\u001b[0;31m \u001b[0mimshow\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mReadAsArray\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mzeros\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;36m10\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m",
656+
"\u001b[0;31mNameError\u001b[0m: name 'data' is not defined"
657+
]
658+
}
659+
],
625660
"source": [
626661
"imshow(data.ReadAsArray()), zeros(10)"
627662
]
@@ -809,7 +844,7 @@
809844
"metadata": {},
810845
"outputs": [],
811846
"source": [
812-
"%timeit numba_count(testdata)Modified"
847+
"%timeit numba_count(testdata)"
813848
]
814849
},
815850
{

0 commit comments

Comments
 (0)