-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
332 lines (272 loc) · 16.1 KB
/
index.html
File metadata and controls
332 lines (272 loc) · 16.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
<!DOCTYPE html>
<html lang="en">
<head>
<title>Crop Mapping Course 2025</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700,300" rel="stylesheet" type="text/css">
<link rel="icon" href="assets/NASA_Harvest_favicon.png">
<link rel="stylesheet" type="text/css" rel="noopener" target="_blank" href="main.css">
</head>
<body>
<!-- Header -->
<div id="navbar">
<a href="https://nasaharvest.github.io/">
<div id="logo">
<img src="assets/logo.png"/>
<div id="logotext">
<h1>NASA Harvest</h1>
<h3>Machine Learning</h3>
</div>
</div>
</a>
<div class="menu">
<a href="https://nasaharvest.github.io/">About</a>
<a href="https://nasaharvest.github.io/#sessions">Sessions</a>
<a href="https://nasaharvest.github.io/#profiles">Team</a>
</div>
</div>
<div id="content">
<h1>Cropland Mapping using Google Earth Engine</h1>
<strong>Instructor: </strong> Ivan Zvonkov (University of Maryland)
|
<a href="https://www.youtube.com/playlist?list=PL-9oZ-VfNz0tSYovvDRYTc1TnaZLCyIxq">Youtube Playlist</a>
|
<a href="https://drive.google.com/drive/folders/1JG0J0hI6FSZ8SgeAj_pikly8AFx8jHvq?usp=sharing">Slides Folder</a>
|
<a href="https://code.earthengine.google.com/?accept_repo=users/izvonkov/crop-mapping-2025">Google Earth Engine Repository</a>
<br><br>
<details open>
<summary>🌾 1. What is cropland and why map it?</summary>
<div class="video" >
<iframe src="https://www.youtube.com/embed/M8CrI6eNMYs?si=RIlMx8r97zD7mV2Y" title="Video player" allowfullscreen></iframe>
<h3>
<a href="https://www.youtube.com/watch?v=M8CrI6eNMYs">Video</a>
|
<a href="https://docs.google.com/presentation/d/1pPn94p69DDA6zRJCRn1v_Y-L5qr_Yeoz1QZidk2yQvo/edit?usp=sharing">Slides</a>
</h3>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Understand definitions of cropland</li>
<li>✅ Understand why cropland maps are needed</li>
</ol>
<hr/>
<h2>Assignment</h2>
<h4><a href="https://code.earthengine.google.com/94b7fa0b43519872716c02730b891f7f">01_GLAD_cropland</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate map</li>
<li><input type="checkbox">Modify script to display maps from all years in <a href="https://www.nature.com/articles/s43016-021-00429-z">paper</a></li>
<li><input type="checkbox"><strong>[BONUS CHALLENGE]</strong> Modify script to display maps together as in paper <a href="https://glad.earthengine.app/view/global-cropland-dynamics">Earth Engine App</a></li>
</ol>
</div>
<br><br>
</details>
<details>
<summary>🇸🇳 2. Cropland in a specific region of interest</summary>
<div class="video" >
<iframe src="https://www.youtube.com/embed/wrf5RoJvOP8?si=EkvUWdhRXuaZ2VQp" title="Video player" allowfullscreen></iframe>
<h3>
<a href="https://youtu.be/wrf5RoJvOP8?si=CwRw_M1w7OlB5OkJ">Video</a>
|
<a href="https://docs.google.com/presentation/d/1UF_dvTolOR4LfKgIDfZgby8vYmFe0cnEbrvQL08YdPI/edit?usp=sharing">Slides</a>
</h3>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Understand Senegal geography</li>
<li>✅ Load and investigate available cropland maps</li>
</ol>
<hr/>
<h2>Assignment</h2>
<h4><a href="https://code.earthengine.google.com/25f5f1284986730220447dd245e11af7">02a_GLAD_in_Senegal</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to display cropland in Senegal</li>
</ol>
<h4><a href="https://code.earthengine.google.com/d5389494e655b166c615b0aea2fd4a5a">02b_WorldCover_in_Senegal</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to display cropland in Senegal</li>
</ol>
<h4><a href="https://code.earthengine.google.com/97a0167cd1443fdc553170ecb1fc55c1">02c_visualizing_all_maps</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to display multiple cropland maps</li>
</ol>
</div>
</details>
<details>
<summary>🛰️ 3. Data used to map cropland</summary>
<div class="video" >
<iframe src="https://www.youtube.com/embed/NY9Boqt6FbA?si=wZTzH7L6JQexTqrl" title="Video player" allowfullscreen></iframe>
<h3>
<a href="https://youtu.be/NY9Boqt6FbA?si=sS1RY6R0e9FwCTcz">Video</a>
|
<a href="https://docs.google.com/presentation/d/1ovAUFnlNySt7DjQjpfDwjetDA0iymKktmR8V1mQFwGQ/edit?usp=sharing">Slides</a>
</h3>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Use crop calendar for data selection</li>
<li>✅ Load and process S2 data</li>
</ol>
<hr/>
<h2>Assignment</h2>
<h4><a href="https://code.earthengine.google.com/3578505b4f97b6f94b6f98754751374d">03a_S2_visualize</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to display S2 (Sentinel-2) median composites</a></li>
</ol>
<h4><a href="https://code.earthengine.google.com/04a7a9a5af5e5235c27c76f079cecc3c">03b_S2_cloudscore_visualize</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to display S2 cloudfree median composites</a></li>
</ol>
<h4><a href="https://code.earthengine.google.com/0600e0d56977c5a3c62f28f3c0498c7f">03c_S2_cloudscore_gif</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to generate S2 cloudfree median composite gif</a></li>
</ol>
<h4><a href="https://code.earthengine.google.com/d99e41b52e914a9e5c956a0e8b853fe0">03d_S2_NDVI</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to generate S2 NDVI composite gif</a></li>
<li><input type="checkbox"><strong>[BONUS CHALLENGE]</strong> Modify the script to generate NDVI for the whole country. <em>Tip: Comment out gif generation</em></li>
</ol>
</div>
</details>
<details>
<summary>🤖 4. Machine learning for mapping cropland</summary>
<div class="video" >
<iframe src="https://www.youtube.com/embed/vY4WiJwPGhw?si=hqqgu4HiaM8FCypp" title="Video player" allowfullscreen></iframe>
<h3>
<a href="https://youtu.be/vY4WiJwPGhw?si=-2xX2dtsc7XRzFIH">Video</a>
|
<a href="https://docs.google.com/presentation/d/1rRkYohphIGTtbfVP8Z7u4xyKbVrIorzgB1a13Aa2G70/edit?usp=sharing">Slides</a>
</h3>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Understand rule-based classification</li>
<li>✅ Collect training data</li>
<li>✅ Understand ML-based classification</li>
</ol>
<hr/>
<h2>Assignment</h2>
<h4><a href="https://code.earthengine.google.com/e2c434baefc7ba942efe739817361997">04a_rule_based_classification</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to classify NDVI pixels into cropland pixels</li>
</ol>
<h4><a href="https://code.earthengine.google.com/1c97024432ba18799ea3967783bfab34">04b_rule_based_classification_SL</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Modify the script following the TODO comments to better classify NDVI pixels into cropland pixels</li>
</ol>
<h4><a href="https://code.earthengine.google.com/f280b6e14fa075e82ad7f34f78be7c52">04c_collecting_training_data</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Follow the TODO instructions to collect training data</li>
<li><input type="checkbox">Follow the TODO comments to save the collected points</li>
</ol>
<h4><a href="https://code.earthengine.google.com/98980bdc0893f945b6b96c9687b08224">04d_ML_classification</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Follow the TODO comments to modify the script and classify cropland</li>
</ol>
</div>
</details>
<details>
<summary>💡 5. From map to information</summary>
<div class="video" >
<iframe src="https://www.youtube.com/embed/4hDqQ-SgPDs?si=w8O9sMbsQoltUiNZ" title="Video player" allowfullscreen></iframe>
<h3>
<a href="https://youtu.be/4hDqQ-SgPDs">Video</a>
|
<a href="https://docs.google.com/presentation/d/1UiZc4ibpL-akOsdlZjjPmfX_Vh5eTZ0ZZ62hZZBuaOA/edit?usp=sharing">Slides</a>
</h3>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Improve cropland map</li>
<li>✅ Conduct accuracy assessment</li>
<li>✅ Understand basics of area estimation and uses</li>
</ol>
<hr/>
<h2>Assignment</h2>
<h4><a href="https://code.earthengine.google.com/26b4a7d25b1a1da7fbdef71b81ad1f59">5a_ML_classification_improve</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Follow the TODO comments to modify the script and better classify cropland in Saint Louis, Senegal</li>
</ol>
<h4><a href="https://code.earthengine.google.com/3d3c3579382407ad4111d87fbcaf5375">5b_assessing_accuracy</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Follow the TODO comments to load your map and assess its accuracy</li>
</ol>
<h4><a href="https://code.earthengine.google.com/28d9bcffaa9a95e4e3d8216b1f05b339">5c_pixel_counting</a></h4>
<ol>
<li><input type="checkbox">Run script and investigate result</li>
<li><input type="checkbox">Follow the TODO comments to print the areas in km2 and the cropland area proportion</li>
</ol>
</div>
</details>
<details>
<summary>6. 🧠 Final Project</summary>
<div class="video">
<h2>Final Project</h2>
For the final project, you will be using the knowledge and skills acquired during the course
to create a cropland map for a different Senegal admin zone.
<p><strong>Project Deliverables</strong></p>
<ol>
<li><input type="checkbox">Admin zone selection (Tip: use this <a href="https://code.earthengine.google.com/cb514488194d9057968e103dddcd38a0?accept_repo=users%2Fizvonkov%2Fcrop-mapping-2025">script</a>)</li>
<li><input type="checkbox">One page document on the admin zone geography and agriculture</li>
<li><input type="checkbox">GEE Script that processes Sentinel-2 data for cropland investigation</li>
<li><input type="checkbox">GEE Script for collecting training data points</li>
<li><input type="checkbox">GEE Script for creating cropland map using collected training points</li>
<li><input type="checkbox">Cropland map saved as a GEE Asset</li>
<li><input type="checkbox">GEE Script for conducting accuracy assessment (using provided points)</li>
<li><input type="checkbox">One page document outlining your process and results</li>
</ol>
</div>
<div class="course">
<h2>Learning Outcomes</h2>
<ol>
<li>✅ Analysis of remote sensing data</li>
<li>✅ Create a quality cropland map from scratch</li>
<li>✅ Conduct accuracy assessment</li>
</ol>
<h2>Optional Bonus Tasks</h2>
<ol>
<li><input type="checkbox">Conduct a visual assessment comparing your map to existing cropland maps</li>
<li><input type="checkbox">Investigate adjustments to Sentinel-2 data time frame</li>
<li><input type="checkbox">Investigate use of Sentinel-1 data in your admin zone</li>
<li><input type="checkbox">Investigate other ML classifiers available in GEE</li>
</ol>
</div>
<hr>
</details>
<br/>
<p>The course was supported by the University of Maryland, NASA SERVIR, and the Xylem Lab.</p>
<div id="partners">
<div class="column">
<img
src="assets/umd-logo.png"
style="max-height: 4.5em;"/>
</div>
<div style="padding: 0px 48px">
<img src="assets/servir.png" style="max-height: 4.5em;"/>
</div>
<div style="padding: 0px 48px">
<img src="assets/Xylem.png" style="max-height: 5em;"/>
</div>
</div>
</div>
</body>
</html>