Skip to content

Commit dd22b99

Browse files
committed
Emphasize instructions in module 1 notebook
1 parent 912d04b commit dd22b99

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

examples/module-1/example-1.ipynb

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
"source": [
88
"# Module 1: Working in JupyterHub\n",
99
"\n",
10-
"Let's look at some data."
10+
"Let's look at some data.\n",
11+
"\n",
12+
"* **Read this notebook and execute each cell (`SHIFT+ENTER`) as you go!**"
1113
]
1214
},
1315
{
@@ -29,6 +31,8 @@
2931
"\n",
3032
"We've prepared a simple dataset in an open format, [GeoJSON](https://geojson.org/), which contains one point: The Sustainability, Energy, and Environment Community (SEEC) building where we are now.\n",
3133
"\n",
34+
"When loading this data, we call the variable `gdf`, short for `GeoDataFrame`, an object provided by `geopandas` for tabular geospatial data.\n",
35+
"\n",
3236
"We'll look at the raw data in tabular form, and then plot it."
3337
]
3438
},
@@ -69,7 +73,7 @@
6973
"source": [
7074
"## That's not a very useful plot, is it?\n",
7175
"\n",
72-
":) No! We'll come back to this."
76+
"😉 No! We'll come back to this."
7377
]
7478
},
7579
{
@@ -97,7 +101,7 @@
97101
" {\n",
98102
" \"Address\": [\"National Snow and Ice Data Center CIRES, 449 UCB University of Colorado Boulder\"],\n",
99103
" \"Name\": [\"National Snow and Ice Data Center (NSIDC)\"],\n",
100-
" \"geometry\": [Point(-105.25271574468819, 40.01262175838934)], # Longitude first!\n",
104+
" \"geometry\": [Point(-105.25271574468819, 40.01262175838934)], # IMPORTANT: Longitude first!\n",
101105
" },\n",
102106
" crs=\"EPSG:4326\",\n",
103107
")\n",
@@ -136,7 +140,7 @@
136140
"\n",
137141
"Well, we can see that these points are relatively near each-other!\n",
138142
"\n",
139-
"Just kidding, we need more. :)\n",
143+
"Again, just kidding, we need more. 😉\n",
140144
"\n",
141145
"We could write a bunch of additional code to visualize it effectively, but there are easier ways. We'll look at this in Module 2."
142146
]
@@ -166,11 +170,16 @@
166170
"source": [
167171
"## Challenge: Create some data of our own\n",
168172
"\n",
169-
"Fill in the blanks in the cells below!\n",
173+
"* **Create a add a GeoDataFrame containing a point that is meaningful to you**:\n",
174+
" * Your favorite coffee shop?\n",
175+
" * The shelter where you adopted your pet?\n",
176+
" * The town where you grew up?\n",
177+
"\n",
178+
" Hint: Modify code from one of the cells above.\n",
170179
"\n",
171-
"Perhaps add a data point that is meaningful to you: Your favorite coffee shop? The shelter where you adopted your pet? The town where you grew up?\n",
180+
" Hint: Right click on a location in [Google Maps](https://www.google.com/maps) to get a latitude and longitude.\n",
172181
"\n",
173-
"Right click on a location in [Google Maps](https://www.google.com/maps) to get the latitude and longitude."
182+
" Hint: Longitude first 😉"
174183
]
175184
},
176185
{
@@ -180,7 +189,7 @@
180189
"metadata": {},
181190
"outputs": [],
182191
"source": [
183-
"my_gdf = # ... populate your data here!"
192+
"my_gdf = # ... create your GeoDataFrame here!"
184193
]
185194
},
186195
{

0 commit comments

Comments
 (0)