favyen commited on
Commit
466c3d2
1 Parent(s): 3d0dfbe

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +83 -0
README.md ADDED
@@ -0,0 +1,83 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # OPTIMUS Dataset
6
+
7
+ This dataset contains approximately 600K image time series of 40-50 Sentinel-2 satellite images captured between January 2016 and December 2023.
8
+
9
+ It also includes 300 time series that are labeled with binary "change" or "no change" labels.
10
+
11
+ It is used to train and evaluate OPTIMUS (TODO - paper link).
12
+
13
+ The time series are distributed globally, with half of the time series selected at random locations covered by Sentinel-2, and the other half sampled specifically within urban areas.
14
+
15
+ Each image is 512x512 at roughly 10 m/pixel (the source image is 10 m/pixel but it is re-projected to WebMercator). Within each time series, the images are aligned and so cover the same location at different timestamps.
16
+
17
+ The dataset is released under Apache License 2.0.
18
+
19
+
20
+ ## Dataset Details
21
+
22
+ ### Images
23
+
24
+ The bulk of the dataset is stored in tar files in the "images" directory.
25
+ Once extracted, these images follow this directory structure:
26
+
27
+ ```
28
+ 2016-01/
29
+ tci/
30
+ 1234_5678.png
31
+ 2345_6789.png
32
+ ...
33
+ 2016-03/
34
+ tci/
35
+ 1234_5678.png
36
+ ...
37
+ 2016-05/
38
+ ...
39
+ ...
40
+ 2023-11/
41
+ ```
42
+
43
+ Here, the top level folders are different timestamps, so one time series consists of the images with the same filename (like `1234_5678.png`) across the different timestamp folders.
44
+
45
+ The filename identifies a position in the WebMercator grid at zoom level 13 (where the world is split into 2^13 tiles vertically and 2^13 tiles horizontally).
46
+ This matches the grid system used in Satlas; see https://github.com/allenai/satlas/blob/main/SatlasPretrain.md#coordinates for how to get the corner longitude/latitude coordinates from the tile.
47
+
48
+ For example, here are the corners of 1234_5678.png:
49
+
50
+ ```python
51
+ import math
52
+
53
+ def mercator_to_geo(p, zoom=13, pixels=512):
54
+ n = 2**zoom
55
+ x = p[0] / pixels
56
+ y = p[1] / pixels
57
+ x = x * 360.0 / n - 180
58
+ y = math.atan(math.sinh(math.pi * (1 - 2.0 * y / n)))
59
+ y = y * 180 / math.pi
60
+ return (x, y)
61
+
62
+ for offset in [(0, 0), (0, 1), (1, 0), (1, 1)]:
63
+ print(mercator_to_geo((1234 + offset[0], 5678 + offset[1]), pixels=1))
64
+ ```
65
+
66
+ Each image is cropped from a Sentinel-2 L1C scene, using B04/B03/B02 only. See https://dataspace.copernicus.eu/explore-data/data-collections/sentinel-data/sentinel-2 for details about the Sentinel-2 mission.
67
+
68
+ ### Other Files
69
+
70
+ Besides the images, there are additional files:
71
+
72
+ - `index.json` identifies which tar files contain which tiles. It is a list of groups of files, and `groups[1234]` corresponds to the files present in 1234.tar.
73
+ - `2024_dataset_tiles_random.json` and `2024_dataset_tiles_urban.json` differentiate which tiles were selected based on random global sampling, and which were selected based on targeted sampling of urban areas.
74
+ - `forest_loss_dataset.tar` contains additional image time series that contain forest loss.
75
+ -
76
+
77
+ ## Authors
78
+
79
+ - Raymond Yu (University of Washington)
80
+ - Paul Han (University of Washington)
81
+ - Josh Myers-Dean (Allen Institute of AI)
82
+ - Piper Wolters (Allen Institute of AI)
83
+ - Favyen Bastani (Allen Institute of AI)