eadrah commited on
Commit
b69d993
·
verified ·
1 Parent(s): 606bbb0

Upload 12 files

Browse files
README.md ADDED
@@ -0,0 +1,486 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Burnt & Flooded Crop Benchmark Data (BFC-Bench):
2
+
3
+ ### Global, Phenology-timed, Agriculutral Hazard Benchmark Data for Geosppatial Foundation Models
4
+
5
+ The following pipelines build the satellite image chips of Burnt and Flooded cropland demonstrated in https://doi.org/10.xxxx/axxxxxxxx (in preperation)
6
+ The pipelines build one folder per hazard, and include phenological stage along side quality control properties:
7
+
8
+ ![Events with damaged cropland: 1,297 flood events and 1,463 burn events](figures/global_map.png)
9
+
10
+ | folder | hazard | label source |
11
+ |:-------|:------|:------|
12
+ | [`Flooded/`](Flooded/README.md) | floods | Cross-referenced Global Flood Monitoring (GFM) flood extent on cropland |
13
+ | [`Burnt/`](Burnt/README.md) | agricultural fires | Cross-referenced Sentinel-2 dNBR inside the MODIS burned-area on cropland |
14
+
15
+ Each chip is 512 × 512 px at 10 m and comes with its label, Sentinel-2 and Sentinel-1 images from
16
+ before and after the event, the crop growth stage at the event date, and a quality-control verdict.
17
+
18
+
19
+ ## Data access and citation
20
+
21
+ - **Data:** the released chips and their manifests are on Hugging Face:
22
+ [eadrah/AgDamage_Benchmark_v1](https://huggingface.co/datasets/eadrah/AgDamage_Benchmark_v1)
23
+ - **Publication:** *title, authors, venue, year* (to be added):
24
+ [https://doi.org/10.xxxx/axxxxxxxx](https://doi.org/10.xxxx/axxxxxxxx) (in preperation)
25
+ - **Authors:** *Esmaeel Adrah<sup>1</sup>, Julina Maharjan<sup>1</sup>, Jamon Van Den Hoek<sup>2</sup>, He Yin<sup>1,3,4</sup>*
26
+ <br><sup>1</sup> Department of Geography, Kent State University
27
+ <br><sup>2</sup> Department of Geography and Environmental Sciences, Oregon State University
28
+ <br><sup>3</sup> School of Environment, Society & Sustainability, University of Utah
29
+ <br><sup>4</sup> Scientific Computing and Imaging Institute, University of Utah
30
+ - **Contact:** *Esmaeel Adrah (eadrah@kent.edu | esmaeelad@gmail.com)*, *He Yin (he.yin@utah.edu)*
31
+
32
+
33
+ If you use this dataset or code, please cite:
34
+
35
+ ```bibtex
36
+ @article{bfcbench,
37
+ title = {< Burnt & Flooded Crop Benchmark Data (BFC-Bench): Global, Phenology-timed, Agriculutral Hazard Benchmark Data for Geosppatial Foundation Models>},
38
+ author = {<Esmaeel Adrah, Julina Maharjan, Jamon Van Den Hoek, He Yin>>},
39
+ journal = {<TBD>},
40
+ year = {<2026>},
41
+ doi = {10.xxxx/axxxxxxxx}
42
+ }
43
+ ```
44
+
45
+ ## Overview
46
+ [Summary](#Summary) · [Examples](#examples) · [Statistics](#statistics) ·
47
+ [Chip format](#chip-format) · [Setup](#setup) · [Running](#running)
48
+
49
+
50
+
51
+ ## Summary
52
+
53
+ | | $\color{#185FA5}{\blacksquare}$ Flooded crop | $\color{#d7191c}{\blacksquare}$ Burnt crop |
54
+ |---|:--|:--|
55
+ | events in the event list | 1,952 | 1,619 |
56
+ | events with released chips | 1,297 | 1,463 |
57
+ | released chips | **5,102** | **4,786** |
58
+ | chips per event (mean) | 3.9 | 3.3 |
59
+ | event years | 2020–2026 | 2020–2025 |
60
+ | regions | 10 | 11 |
61
+ | chips with both Sentinel-1 images | 4,999 (98%) | 4,647 (97%) |
62
+ | chips with all four images usable | 3,804 (75%) | 4,593 (96%) |
63
+ | chips with a crop growth stage | 4,486 (88%) | 3,571 (75%) |
64
+
65
+ The released chips are on Hugging Face:
66
+ [eadrah/AgDamage_Benchmark_v1](https://huggingface.co/datasets/eadrah/AgDamage_Benchmark_v1).
67
+ Each hazard folder here holds its two tables:
68
+
69
+ - `manifest.csv`: one row per released chip, with its event, dates, damaged-cropland fractions,
70
+ bounds, shard, crop growth stage and QC verdict
71
+ - `events_master.csv`: every event in the event list, including events that yielded no chips, with
72
+ its area, dates, how it was confirmed and its chip count (the Flooded table also has the `batch`
73
+ each event was built in)
74
+
75
+ `Flooded/excluded_chips.csv` lists the 30 chips left out of the release because both Sentinel-2
76
+ images were missing.
77
+
78
+
79
+
80
+ ## Examples
81
+
82
+ ### $\color{#185FA5}{\blacksquare}$ Flooded crop
83
+
84
+ ![Flood events in six countries: Sentinel-2 and Sentinel-1 before and after, label and flood persistence](figures/example_flooded.png)
85
+
86
+ Six chips from Niger, Pakistan, China, Brazil, Thailand and Greece, one per event. Columns:
87
+ Sentinel-2 before and after, Sentinel-1 VV before and after, the label ($\color{#185FA5}{\blacksquare}$ flooded crop, $\color{#639922}{\blacksquare}$ dry cropland
88
+ , $\color{#BA7517}{\blacksquare}$ excluded crop, $\color{#D3D1C7}{\blacksquare}$ non-crop) and flood persistence, the share of valid Sentinel-1 overpasses in which each pixel was flooded. fc is the chip's flooded-cropland share.
89
+
90
+ ### $\color{#d7191c}{\blacksquare}$ Burnt crop
91
+
92
+ ![Burn events in six countries: Sentinel-2 and Sentinel-1 before and after, label and dNBR severity](figures/example_burnt.png)
93
+
94
+ Six chips from Ethiopia, India, China, Brazil, Vietnam and Turkey. Columns:
95
+ Sentinel-2 before and after, Sentinel-1 before and after, the label ($\color{#d7191c}{\blacksquare}$ burned cropland, $\color{#1a9641}{\blacksquare}$ unburned
96
+ cropland, $\color{#fdae61}{\blacksquare}$ excluded crop, $\color{#e8e8e8}{\blacksquare}$ non-cropland) and dNBR burn severity, from 0 (unburned) to 4
97
+ (high).
98
+
99
+
100
+
101
+ ## Chip format
102
+
103
+ Each chip is a 512 × 512 px tile at 10 m in the event's UTM zone: five GeoTIFFs and a JSON sidecar.
104
+
105
+ | file | bands | type | content |
106
+ |:---|:--|:--|:---|
107
+ | `label` | 5 | uint8 | class and per-pixel damage layers (below) |
108
+ | `s2_pre`, `s2_post` | 12 | float32 | Sentinel-2 before / after: B2 B3 B4 B5 B6 B7 B8 B8A B9 B11 B12 (surface reflectance × 10,000) and NDVI |
109
+ | `s1_pre`, `s1_post` | 2 | float32 | Sentinel-1 before / after: VV and VH backscatter (dB) |
110
+ | `json` | | | sidecar metadata |
111
+
112
+ Image pixels with no data are 0. The pipelines write the files as `<chip>_label.tif`,
113
+ `<chip>_s2_pre.tif`, … and `<chip>.json`; in the released shards they are `<chip>.label.tif`,
114
+ `<chip>.s2_pre.tif`, … and `<chip>.json`. Chip ids are `<event>_r<row>_c<col>`.
115
+
116
+ ### Label
117
+
118
+ Band 1 holds the class:
119
+
120
+ | value (band 1) | $\color{#185FA5}{\blacksquare}$ Flooded crop label | $\color{#d7191c}{\blacksquare}$ Burnt crop label |
121
+ |:--|:---|:---|
122
+ | 1 | $\color{#185FA5}{\blacksquare}$ flooded cropland | $\color{#d7191c}{\blacksquare}$ burned cropland |
123
+ | 2 | $\color{#639922}{\blacksquare}$ dry cropland | $\color{#1a9641}{\blacksquare}$ unburned cropland |
124
+ | 3 | $\color{#BA7517}{\blacksquare}$ excluded cropland: inside the GFM exclusion mask | $\color{#fdae61}{\blacksquare}$ excluded cropland: no clear Sentinel-2 view before and after |
125
+ | 4 | $\color{#D3D1C7}{\blacksquare}$ non-cropland | $\color{#e8e8e8}{\blacksquare}$ non-cropland |
126
+ | 255 | cropland never observed in label data | cropland never observed in label data |
127
+
128
+ and bands 2–5 describe each pixel:
129
+
130
+ | band | $\color{#185FA5}{\blacksquare}$ Flooded crop label | $\color{#d7191c}{\blacksquare}$ Burnt crop label |
131
+ |:--|:---|:---|
132
+ | 2 | GFM flood likelihood, 0–100; 255 = not observed | dNBR, stored as (dNBR + 500) / 8; 255 = not observed |
133
+ | 3 | GFM exclusion mask (1 = excluded) | excluded-cropland mask (0/1) |
134
+ | 4 | cropland (0/1) | cropland (0/1) |
135
+ | 5 | flood persistence, 0–100: % of valid Sentinel-1 overpasses flooded; 255 = not observed | burn severity, 0 unburned · 1 low · 2 moderate-low · 3 moderate-high · 4 high; 255 = not observed |
136
+
137
+ A Flooded pixel is flooded cropland when GFM mapped it as flooded in any Sentinel-1 overpass in a geo-cross referenced event. A
138
+ Burnt pixel is burned cropland when it was seen clearly before and after, its dNBR is at least 100 in a geo-cross referenced event where it lies inside the MODIS MCD64A1 burned-area perimeter.
139
+
140
+ ### Before and after imagery
141
+
142
+ | | $\color{#185FA5}{\blacksquare}$ Flooded crop | $\color{#d7191c}{\blacksquare}$ Burnt crop |
143
+ |:--|:---|:---|
144
+ | Sentinel-2 before | the scene clearest over the chip, 30 days before the event | clearest-first mosaic, 110 to 8 days before the first burn day |
145
+ | Sentinel-2 after | the scene clearest over the chip, 30 days after the event | clearest-first mosaic, 10 to 75 days after the last burn day |
146
+ | Sentinel-1 before | the nearest scene, 30 days before the event | nearest-first , up to 60 days before the first burn day − 5 days |
147
+ | Sentinel-1 after | the nearest scene on the same pass and orbit, 30 days after | nearest-first , up to 75 days after the last burn day + 8 days |
148
+
149
+
150
+ ## Statistics
151
+
152
+
153
+ ### Temporal distriubtion of the chips
154
+ ##### Distribution across crop growth stages and by month at the event date
155
+
156
+ ![Chips by crop growth stage at the event date, and by month of the event](figures/phenology.png)
157
+
158
+ The stage comes from VIIRS VNP22Q2 land-surface phenology: the event date's position in the local
159
+ growth cycle, by majority over the chip. *No data* means the event is after 2024, beyond VNP22Q2
160
+ coverage, or no valid growth cycle covers the chip.
161
+
162
+
163
+ ### Spatial distribution of the chips
164
+ ##### Distribution across regions and latitude
165
+
166
+ ![Chips by region and by latitude](figures/spatial.png)
167
+
168
+
169
+ ### Chip quality
170
+
171
+ ![Chip quality-control verdicts and usable imagery](figures/qc.png)
172
+
173
+ Every image of every chip is scanned for missing, empty or corrupt data, cloud and
174
+ swath-edge gaps, and the chip gets its worst defect as the verdict. An image counts as usable
175
+ unless it is corrupt, cloud-blank or cut by a severe swath edge. The
176
+ status definitions are in [`Flooded/README.md`](Flooded/README.md#04--quality-control) and
177
+ [`Burnt/README.md`](Burnt/README.md#04--quality-control).
178
+
179
+
180
+ ### Sidecar Metadata (`<chip>.json`)
181
+
182
+ | field | content |
183
+ |:---|:---|
184
+ | `chip_id`, `event_id`, `rank` | the chip, its event, and its rank within the event, best first (Flooded counts from 0, Burnt from 1) |
185
+ | `source`, `tier`, `provenance` | source of the event and confirmation source: `confirmed_by`, `n_independent`, and the GFM flood area (Flooded) or the MODIS / VIIRS burned fractions and active-fire count (Burnt) |
186
+ | `continent`, `country`, `place` | location labels |
187
+ | `event_date_start`, `event_date_end` | the event dates: reported flood dates (Flooded), first and last burn day (Burnt) |
188
+ | `crs`, `res_m`, `size` | UTM projection, 10 m, 512 px |
189
+ | `min_lon`, `min_lat`, `max_lon`, `max_lat` | chip bounds (WGS 84) |
190
+ | `cropland_frac`, `excluded_crop_frac` | cropland share and excluded-cropland share |
191
+ | `flooded_crop_frac`, `flooded_crop_px`, `flood_persistence_mean` | Flooded: flooded-cropland share and pixel count; mean persistence over flooded cropland (%) |
192
+ | `burned_crop_frac`, `burned_crop_px`, `burn_severity_mean` | Burnt: burned-cropland share and pixel count; mean severity over burned cropland (0–4) |
193
+ | `label_path`, `imagery` | the label file; per image its `date`, `clear_frac` (Sentinel-2), `pass` and `rel_orbit` (Sentinel-1) and `path`; Burnt also records the Sentinel-2 search windows |
194
+ | `phenology` | crop growth stage at the event date (`stage_at_flood` / `stage_at_burn`), its agreement over the chip, the stage shares, the growth cycle used and its transition dates; `null` with a `phenology_note` when unavailable |
195
+ | `qc` | `verdict`, `all_rasters_ok`, `all_rasters_usable`, `s2_usable`, `s1_usable`, `n_usable_rasters`, `defects`, and the status of each image under `rasters` |
196
+ | `has_s1` | both Sentinel-1 images are present |
197
+
198
+ Example snapshots below, file paths are shortened to the file name.
199
+
200
+ <details>
201
+ <summary>🟦 Flooded crop sidecar: <code>DFO5292_r53248_c52736.json</code> (Niger, first chip of the example above)</summary>
202
+
203
+ ```json
204
+ {
205
+ "chip_id": "DFO5292_r53248_c52736",
206
+ "event_id": "DFO5292",
207
+ "rank": 0,
208
+ "source": "dfo",
209
+ "tier": "C",
210
+ "continent": "Africa",
211
+ "country": "Niger",
212
+ "place": "Niger",
213
+ "provenance": {
214
+ "origin": "dfo",
215
+ "confirmed_by": [
216
+ "GFM"
217
+ ],
218
+ "n_independent": 1,
219
+ "tier": "C",
220
+ "gfm_flood_km2": 143.155
221
+ },
222
+ "event_date_start": "2022-09-17",
223
+ "event_date_end": "2022-09-21",
224
+ "crs": "EPSG:32632",
225
+ "res_m": 10,
226
+ "size": 512,
227
+ "label_path": "…/DFO5292_r53248_c52736_label.tif",
228
+ "flood_persistence_mean": 48.3,
229
+ "cropland_frac": 0.7851,
230
+ "flooded_crop_frac": 0.356,
231
+ "flooded_crop_px": 93323,
232
+ "excluded_crop_frac": 0.0745,
233
+ "min_lon": 10.968826,
234
+ "min_lat": 12.78406,
235
+ "max_lon": 11.016339,
236
+ "max_lat": 12.830689,
237
+ "imagery": {
238
+ "s2_pre": {
239
+ "date": "2022-09-11",
240
+ "clear_frac": 0.8976,
241
+ "path": "…/DFO5292_r53248_c52736_s2_pre.tif"
242
+ },
243
+ "s2_post": {
244
+ "date": "2022-09-26",
245
+ "clear_frac": 1.0,
246
+ "path": "…/DFO5292_r53248_c52736_s2_post.tif"
247
+ },
248
+ "s1_pre": {
249
+ "date": "2022-09-09",
250
+ "path": "…/DFO5292_r53248_c52736_s1_pre.tif",
251
+ "pass": "ASCENDING",
252
+ "rel_orbit": 59
253
+ },
254
+ "s1_post": {
255
+ "date": "2022-09-21",
256
+ "path": "…/DFO5292_r53248_c52736_s1_post.tif",
257
+ "pass": "ASCENDING",
258
+ "rel_orbit": 59
259
+ }
260
+ },
261
+ "phenology": {
262
+ "stage_at_flood": "peak/maturity",
263
+ "stage_agreement": 0.61,
264
+ "stage_fractions": {
265
+ "dormant": 0.058,
266
+ "green-up": 0.138,
267
+ "peak/maturity": 0.61,
268
+ "senescence": 0.193
269
+ },
270
+ "flood_date": "2022-09-17",
271
+ "growth_cycle": "event-year cycle 1",
272
+ "transitions": {
273
+ "green_up_onset": "2022-07-12",
274
+ "maximum": "2022-08-25",
275
+ "senescence_onset": "2022-09-30",
276
+ "dormancy_onset": "2022-12-03"
277
+ },
278
+ "n_valid_pixels": 103
279
+ },
280
+ "qc": {
281
+ "all_rasters_ok": true,
282
+ "all_rasters_usable": true,
283
+ "s2_usable": true,
284
+ "s1_usable": true,
285
+ "n_usable_rasters": 4,
286
+ "verdict": "clean",
287
+ "defects": [],
288
+ "rasters": {
289
+ "s2_pre": {
290
+ "status": "ok",
291
+ "nodata_frac": 0.0,
292
+ "white_frac": 0.0477
293
+ },
294
+ "s2_post": {
295
+ "status": "ok",
296
+ "nodata_frac": 0.0,
297
+ "white_frac": 0.0
298
+ },
299
+ "s1_pre": {
300
+ "status": "ok",
301
+ "nodata_frac": 0.0
302
+ },
303
+ "s1_post": {
304
+ "status": "ok",
305
+ "nodata_frac": 0.0
306
+ }
307
+ }
308
+ },
309
+ "has_s1": true
310
+ }
311
+ ```
312
+
313
+ </details>
314
+
315
+ <details>
316
+ <summary>🟥 Burnt crop sidecar: <code>MC202001224756_r0187_c0148.json</code> (India, October 2020)</summary>
317
+
318
+ ```json
319
+ {
320
+ "chip_id": "MC202001224756_r0187_c0148",
321
+ "event_id": "MC202001224756",
322
+ "rank": 3,
323
+ "source": "mcd64-cluster",
324
+ "tier": "A",
325
+ "continent": "SouthAsia",
326
+ "country": "India",
327
+ "place": "India",
328
+ "provenance": {
329
+ "origin": "MCD64A1 burned-area clustering (GlobFire method)",
330
+ "confirmed_by": [
331
+ "MODIS MCD64A1",
332
+ "VIIRS VNP64A1",
333
+ "VIIRS VNP14A1 active fire"
334
+ ],
335
+ "n_independent": 2,
336
+ "tier": "A",
337
+ "burn_km2": 235.28,
338
+ "modis_frac": 0.956,
339
+ "viirs_frac": 0.905,
340
+ "active_fire_px": 145
341
+ },
342
+ "event_date_start": "2020-10-14",
343
+ "event_date_end": "2020-10-31",
344
+ "crs": "EPSG:32643",
345
+ "res_m": 10,
346
+ "size": 512,
347
+ "label_path": "…/MC202001224756_r0187_c0148_label.tif",
348
+ "burn_severity_mean": 2.34,
349
+ "cropland_frac": 0.9346,
350
+ "burned_crop_frac": 0.8585,
351
+ "burned_crop_px": 225045,
352
+ "excluded_crop_frac": 0.0,
353
+ "min_lon": 75.352022,
354
+ "min_lat": 30.760139,
355
+ "max_lon": 75.405713,
356
+ "max_lat": 30.806494,
357
+ "imagery": {
358
+ "s2_pre": {
359
+ "date": "2020-09-29",
360
+ "clear_frac": 1,
361
+ "path": "…/MC202001224756_r0187_c0148_s2_pre.tif"
362
+ },
363
+ "s2_post": {
364
+ "date": "2020-12-08",
365
+ "clear_frac": 1,
366
+ "path": "…/MC202001224756_r0187_c0148_s2_post.tif"
367
+ },
368
+ "s1_pre": {
369
+ "date": "2020-10-04",
370
+ "path": "…/MC202001224756_r0187_c0148_s1_pre.tif",
371
+ "pass": "ASCENDING",
372
+ "rel_orbit": 100
373
+ },
374
+ "s1_post": {
375
+ "date": "2020-11-09",
376
+ "path": "…/MC202001224756_r0187_c0148_s1_post.tif",
377
+ "pass": "ASCENDING",
378
+ "rel_orbit": 100
379
+ },
380
+ "s2_pre_window": [
381
+ "2020-06-26",
382
+ "2020-10-06"
383
+ ],
384
+ "s2_post_window": [
385
+ "2020-11-10",
386
+ "2021-01-14"
387
+ ]
388
+ },
389
+ "qc": {
390
+ "all_rasters_ok": true,
391
+ "all_rasters_usable": true,
392
+ "s2_usable": true,
393
+ "s1_usable": true,
394
+ "n_usable_rasters": 4,
395
+ "verdict": "clean",
396
+ "defects": [],
397
+ "rasters": {
398
+ "s2_pre": {
399
+ "status": "ok",
400
+ "nodata_frac": 0.0,
401
+ "white_frac": 0.0005
402
+ },
403
+ "s2_post": {
404
+ "status": "ok",
405
+ "nodata_frac": 0.0,
406
+ "white_frac": 0.0002
407
+ },
408
+ "s1_pre": {
409
+ "status": "ok",
410
+ "nodata_frac": 0.0
411
+ },
412
+ "s1_post": {
413
+ "status": "ok",
414
+ "nodata_frac": 0.0
415
+ }
416
+ }
417
+ },
418
+ "phenology": {
419
+ "stage_at_burn": "senescence",
420
+ "stage_agreement": 0.629,
421
+ "stage_fractions": {
422
+ "dormant": 0.371,
423
+ "senescence": 0.629
424
+ },
425
+ "burn_date": "2020-10-14",
426
+ "growth_cycle": "event-year cycle 2",
427
+ "transitions": {
428
+ "green_up_onset": "2020-07-21",
429
+ "maximum": "2020-08-18",
430
+ "senescence_onset": "2020-10-06",
431
+ "dormancy_onset": "2020-11-14"
432
+ },
433
+ "n_valid_pixels": 5
434
+ },
435
+ "has_s1": true
436
+ }
437
+ ```
438
+
439
+ </details>
440
+
441
+ ## Setup
442
+
443
+ ```bash
444
+ conda env create -f environment.yml
445
+ conda activate agdamage
446
+ earthengine authenticate
447
+ export EE_PROJECT=<your-project-id> # a Cloud project registered for Earth Engine
448
+ ```
449
+
450
+ ## Running
451
+
452
+ The scripts read and write in the folder they are run from, so run every step of a pipeline from
453
+ the same working folder, for example:
454
+
455
+ ```bash
456
+ mkdir -p ~/work/burnt && cd ~/work/burnt
457
+ python /path/to/AgDamage/Burnt/01_build_events.py --n 100
458
+ python /path/to/AgDamage/Burnt/02_build_chips.py
459
+ ```
460
+
461
+ The steps, options and outputs of each pipeline are in its folder's README.
462
+
463
+ ## Acknowledgments
464
+
465
+
466
+ **Affiliated institutions:**
467
+
468
+
469
+ <p align="center">
470
+ <img src="figures/logos/institution_1.png" alt="Institution 1" height="70">
471
+ &nbsp;&nbsp;&nbsp;&nbsp;
472
+ <img src="figures/logos/institution_2.png" alt="Institution 2" height="70">
473
+ &nbsp;&nbsp;&nbsp;&nbsp;
474
+ <img src="figures/logos/institution_3.png" alt="Institution 3" height="70">
475
+ </p>
476
+
477
+ <p align="center">
478
+ <img src="figures/logos/institution_4.png" alt="Institution 4" height="80">
479
+ </p>
480
+
481
+ **Funding:** *This research was funded by NASA Disaster Program Grant number#* (to be added).
482
+
483
+ <p align="center">
484
+ &nbsp;&nbsp;&nbsp;&nbsp;
485
+ <img src="figures/logos/funder.png" alt="Funder" height="150">
486
+ </p>
figures/example_burnt.png ADDED

Git LFS Details

  • SHA256: c60f6311227a804c8fe98b8565c1b9912ae6cb649aac7f2958caf50d666bea41
  • Pointer size: 132 Bytes
  • Size of remote file: 3.53 MB
figures/example_flooded.png ADDED

Git LFS Details

  • SHA256: 66ef12364429be0fb9b02bb4bb3ce22661ec932cb64920e4b15d9ed8487cdf7b
  • Pointer size: 132 Bytes
  • Size of remote file: 3.79 MB
figures/global_map.png ADDED

Git LFS Details

  • SHA256: 2fe9ff1b13ea3224e07068e249bc3a31d5d97a13eb709a2b46fbf20000c566f0
  • Pointer size: 131 Bytes
  • Size of remote file: 302 kB
figures/logos/funder.png ADDED

Git LFS Details

  • SHA256: 1f0eb0c35a6313d6292ff7e2715845da0dd2f9b342eb1960637838a0f97980c7
  • Pointer size: 130 Bytes
  • Size of remote file: 41 kB
figures/logos/institution_1.png ADDED

Git LFS Details

  • SHA256: e8da2fb72597c23fd730d84ab8e450433d4c7bf9163ec0e88289325ceb1fc338
  • Pointer size: 130 Bytes
  • Size of remote file: 25.2 kB
figures/logos/institution_2.png ADDED

Git LFS Details

  • SHA256: 1227b04a0e092eb2d253d0048523a48f0c86c7f312d15da9bbba8b647288e4fb
  • Pointer size: 130 Bytes
  • Size of remote file: 10.8 kB
figures/logos/institution_3.png ADDED

Git LFS Details

  • SHA256: c007fe91f156b21a29ee5e138b35cf0eb8d1aeafb75e038dbb234dd6a159fceb
  • Pointer size: 130 Bytes
  • Size of remote file: 24 kB
figures/logos/institution_4.png ADDED

Git LFS Details

  • SHA256: 95ced100f22b12ca22004067e8c2f5a7f5b8430d9c7bab34598598d423152a29
  • Pointer size: 130 Bytes
  • Size of remote file: 63.8 kB
figures/phenology.png ADDED

Git LFS Details

  • SHA256: a0655a3c102c5cf492ea29750a3cebc50822d05f45791b16886e337713aa3569
  • Pointer size: 130 Bytes
  • Size of remote file: 89.9 kB
figures/qc.png ADDED

Git LFS Details

  • SHA256: 0d60b8d86a9f52f5047c638535ee43ea45df30b74777726e88e9d5b52c2d080b
  • Pointer size: 131 Bytes
  • Size of remote file: 112 kB
figures/spatial.png ADDED

Git LFS Details

  • SHA256: 6170242ac4ad60ca6b98c8543794853f5c31b39a31ad94aac1375881025a4577
  • Pointer size: 131 Bytes
  • Size of remote file: 132 kB