|
1 | 1 | {
|
2 |
| - "layers": { |
3 |
| - "sentinel2_a": { |
4 |
| - "type": "raster", |
5 |
| - "alias": "sentinel2", |
6 |
| - "band_sets": [{ |
7 |
| - "dtype": "uint16", |
8 |
| - "bands": ["B02", "B03", "B04", "B08"] |
9 |
| - }, { |
10 |
| - "dtype": "uint16", |
11 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
12 |
| - "zoom_offset": -1 |
13 |
| - }, { |
14 |
| - "dtype": "uint16", |
15 |
| - "bands": ["B01", "B09", "B10"], |
16 |
| - "zoom_offset": -2 |
17 |
| - }], |
18 |
| - "data_source": { |
19 |
| - "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
20 |
| - "modality": "L1C", |
21 |
| - "index_cache_dir": "cache/sentinel2", |
22 |
| - "use_rtree_index": false, |
23 |
| - "max_time_delta": "1d", |
24 |
| - "query_config": { |
25 |
| - "max_matches": 2, |
26 |
| - "space_mode": "CONTAINS" |
27 |
| - }, |
28 |
| - "sort_by": "cloud_cover", |
29 |
| - "harmonize": true |
30 |
| - } |
| 2 | + "layers": { |
| 3 | + "label": { |
| 4 | + "type": "vector" |
| 5 | + }, |
| 6 | + "sentinel2_a": { |
| 7 | + "alias": "sentinel2", |
| 8 | + "band_sets": [ |
| 9 | + { |
| 10 | + "bands": [ |
| 11 | + "B02", |
| 12 | + "B03", |
| 13 | + "B04", |
| 14 | + "B08" |
| 15 | + ], |
| 16 | + "dtype": "uint16" |
31 | 17 | },
|
32 |
| - "sentinel2_b": { |
33 |
| - "type": "raster", |
34 |
| - "alias": "sentinel2", |
35 |
| - "band_sets": [{ |
36 |
| - "dtype": "uint16", |
37 |
| - "bands": ["B02", "B03", "B04", "B08"] |
38 |
| - }, { |
39 |
| - "dtype": "uint16", |
40 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
41 |
| - "zoom_offset": -1 |
42 |
| - }, { |
43 |
| - "dtype": "uint16", |
44 |
| - "bands": ["B01", "B09", "B10"], |
45 |
| - "zoom_offset": -2 |
46 |
| - }], |
47 |
| - "data_source": { |
48 |
| - "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
49 |
| - "modality": "L1C", |
50 |
| - "index_cache_dir": "cache/sentinel2", |
51 |
| - "use_rtree_index": false, |
52 |
| - "max_time_delta": "1d", |
53 |
| - "query_config": { |
54 |
| - "max_matches": 2, |
55 |
| - "space_mode": "CONTAINS" |
56 |
| - }, |
57 |
| - "sort_by": "cloud_cover", |
58 |
| - "harmonize": true, |
59 |
| - "time_offset": "-90d" |
60 |
| - } |
| 18 | + { |
| 19 | + "bands": [ |
| 20 | + "B05", |
| 21 | + "B06", |
| 22 | + "B07", |
| 23 | + "B8A", |
| 24 | + "B11", |
| 25 | + "B12" |
| 26 | + ], |
| 27 | + "dtype": "uint16", |
| 28 | + "zoom_offset": -1 |
61 | 29 | },
|
62 |
| - "sentinel2_c": { |
63 |
| - "type": "raster", |
64 |
| - "alias": "sentinel2", |
65 |
| - "band_sets": [{ |
66 |
| - "dtype": "uint16", |
67 |
| - "bands": ["B02", "B03", "B04", "B08"] |
68 |
| - }, { |
69 |
| - "dtype": "uint16", |
70 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
71 |
| - "zoom_offset": -1 |
72 |
| - }, { |
73 |
| - "dtype": "uint16", |
74 |
| - "bands": ["B01", "B09", "B10"], |
75 |
| - "zoom_offset": -2 |
76 |
| - }], |
77 |
| - "data_source": { |
78 |
| - "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
79 |
| - "modality": "L1C", |
80 |
| - "index_cache_dir": "cache/sentinel2", |
81 |
| - "use_rtree_index": false, |
82 |
| - "max_time_delta": "1d", |
83 |
| - "query_config": { |
84 |
| - "max_matches": 2, |
85 |
| - "space_mode": "CONTAINS" |
86 |
| - }, |
87 |
| - "sort_by": "cloud_cover", |
88 |
| - "harmonize": true, |
89 |
| - "time_offset": "-180d" |
90 |
| - } |
| 30 | + { |
| 31 | + "bands": [ |
| 32 | + "B01", |
| 33 | + "B09", |
| 34 | + "B10" |
| 35 | + ], |
| 36 | + "dtype": "uint16", |
| 37 | + "zoom_offset": -2 |
| 38 | + } |
| 39 | + ], |
| 40 | + "data_source": { |
| 41 | + "harmonize": true, |
| 42 | + "index_cache_dir": "cache/sentinel2", |
| 43 | + "max_time_delta": "1d", |
| 44 | + "modality": "L1C", |
| 45 | + "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
| 46 | + "query_config": { |
| 47 | + "max_matches": 2, |
| 48 | + "space_mode": "CONTAINS" |
91 | 49 | },
|
92 |
| - "sentinel2_a.1": { |
93 |
| - "type": "raster", |
94 |
| - "band_sets": [{ |
95 |
| - "dtype": "uint16", |
96 |
| - "bands": ["B02", "B03", "B04", "B08"] |
97 |
| - }, { |
98 |
| - "dtype": "uint16", |
99 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
100 |
| - "zoom_offset": -1 |
101 |
| - }, { |
102 |
| - "dtype": "uint16", |
103 |
| - "bands": ["B01", "B09", "B10"], |
104 |
| - "zoom_offset": -2 |
105 |
| - }] |
106 |
| - }, |
107 |
| - "sentinel2_b.1": { |
108 |
| - "type": "raster", |
109 |
| - "band_sets": [{ |
110 |
| - "dtype": "uint16", |
111 |
| - "bands": ["B02", "B03", "B04", "B08"] |
112 |
| - }, { |
113 |
| - "dtype": "uint16", |
114 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
115 |
| - "zoom_offset": -1 |
116 |
| - }, { |
117 |
| - "dtype": "uint16", |
118 |
| - "bands": ["B01", "B09", "B10"], |
119 |
| - "zoom_offset": -2 |
120 |
| - }] |
121 |
| - }, |
122 |
| - "sentinel2_c.1": { |
123 |
| - "type": "raster", |
124 |
| - "band_sets": [{ |
125 |
| - "dtype": "uint16", |
126 |
| - "bands": ["B02", "B03", "B04", "B08"] |
127 |
| - }, { |
128 |
| - "dtype": "uint16", |
129 |
| - "bands": ["B05", "B06", "B07", "B8A", "B11", "B12"], |
130 |
| - "zoom_offset": -1 |
131 |
| - }, { |
132 |
| - "dtype": "uint16", |
133 |
| - "bands": ["B01", "B09", "B10"], |
134 |
| - "zoom_offset": -2 |
135 |
| - }] |
136 |
| - }, |
137 |
| - "label": { |
138 |
| - "type": "vector" |
| 50 | + "sort_by": "cloud_cover", |
| 51 | + "use_rtree_index": false |
| 52 | + }, |
| 53 | + "type": "raster" |
| 54 | + }, |
| 55 | + "sentinel2_a.1": { |
| 56 | + "band_sets": [ |
| 57 | + { |
| 58 | + "bands": [ |
| 59 | + "B02", |
| 60 | + "B03", |
| 61 | + "B04", |
| 62 | + "B08" |
| 63 | + ], |
| 64 | + "dtype": "uint16" |
| 65 | + }, |
| 66 | + { |
| 67 | + "bands": [ |
| 68 | + "B05", |
| 69 | + "B06", |
| 70 | + "B07", |
| 71 | + "B8A", |
| 72 | + "B11", |
| 73 | + "B12" |
| 74 | + ], |
| 75 | + "dtype": "uint16", |
| 76 | + "zoom_offset": -1 |
| 77 | + }, |
| 78 | + { |
| 79 | + "bands": [ |
| 80 | + "B01", |
| 81 | + "B09", |
| 82 | + "B10" |
| 83 | + ], |
| 84 | + "dtype": "uint16", |
| 85 | + "zoom_offset": -2 |
| 86 | + } |
| 87 | + ], |
| 88 | + "type": "raster" |
| 89 | + }, |
| 90 | + "sentinel2_b": { |
| 91 | + "alias": "sentinel2", |
| 92 | + "band_sets": [ |
| 93 | + { |
| 94 | + "bands": [ |
| 95 | + "B02", |
| 96 | + "B03", |
| 97 | + "B04", |
| 98 | + "B08" |
| 99 | + ], |
| 100 | + "dtype": "uint16" |
| 101 | + }, |
| 102 | + { |
| 103 | + "bands": [ |
| 104 | + "B05", |
| 105 | + "B06", |
| 106 | + "B07", |
| 107 | + "B8A", |
| 108 | + "B11", |
| 109 | + "B12" |
| 110 | + ], |
| 111 | + "dtype": "uint16", |
| 112 | + "zoom_offset": -1 |
| 113 | + }, |
| 114 | + { |
| 115 | + "bands": [ |
| 116 | + "B01", |
| 117 | + "B09", |
| 118 | + "B10" |
| 119 | + ], |
| 120 | + "dtype": "uint16", |
| 121 | + "zoom_offset": -2 |
| 122 | + } |
| 123 | + ], |
| 124 | + "data_source": { |
| 125 | + "harmonize": true, |
| 126 | + "index_cache_dir": "cache/sentinel2", |
| 127 | + "max_time_delta": "1d", |
| 128 | + "modality": "L1C", |
| 129 | + "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
| 130 | + "query_config": { |
| 131 | + "max_matches": 2, |
| 132 | + "space_mode": "CONTAINS" |
| 133 | + }, |
| 134 | + "sort_by": "cloud_cover", |
| 135 | + "time_offset": "-90d", |
| 136 | + "use_rtree_index": false |
| 137 | + }, |
| 138 | + "type": "raster" |
| 139 | + }, |
| 140 | + "sentinel2_b.1": { |
| 141 | + "band_sets": [ |
| 142 | + { |
| 143 | + "bands": [ |
| 144 | + "B02", |
| 145 | + "B03", |
| 146 | + "B04", |
| 147 | + "B08" |
| 148 | + ], |
| 149 | + "dtype": "uint16" |
| 150 | + }, |
| 151 | + { |
| 152 | + "bands": [ |
| 153 | + "B05", |
| 154 | + "B06", |
| 155 | + "B07", |
| 156 | + "B8A", |
| 157 | + "B11", |
| 158 | + "B12" |
| 159 | + ], |
| 160 | + "dtype": "uint16", |
| 161 | + "zoom_offset": -1 |
| 162 | + }, |
| 163 | + { |
| 164 | + "bands": [ |
| 165 | + "B01", |
| 166 | + "B09", |
| 167 | + "B10" |
| 168 | + ], |
| 169 | + "dtype": "uint16", |
| 170 | + "zoom_offset": -2 |
| 171 | + } |
| 172 | + ], |
| 173 | + "type": "raster" |
| 174 | + }, |
| 175 | + "sentinel2_c": { |
| 176 | + "alias": "sentinel2", |
| 177 | + "band_sets": [ |
| 178 | + { |
| 179 | + "bands": [ |
| 180 | + "B02", |
| 181 | + "B03", |
| 182 | + "B04", |
| 183 | + "B08" |
| 184 | + ], |
| 185 | + "dtype": "uint16" |
| 186 | + }, |
| 187 | + { |
| 188 | + "bands": [ |
| 189 | + "B05", |
| 190 | + "B06", |
| 191 | + "B07", |
| 192 | + "B8A", |
| 193 | + "B11", |
| 194 | + "B12" |
| 195 | + ], |
| 196 | + "dtype": "uint16", |
| 197 | + "zoom_offset": -1 |
| 198 | + }, |
| 199 | + { |
| 200 | + "bands": [ |
| 201 | + "B01", |
| 202 | + "B09", |
| 203 | + "B10" |
| 204 | + ], |
| 205 | + "dtype": "uint16", |
| 206 | + "zoom_offset": -2 |
| 207 | + } |
| 208 | + ], |
| 209 | + "data_source": { |
| 210 | + "harmonize": true, |
| 211 | + "index_cache_dir": "cache/sentinel2", |
| 212 | + "max_time_delta": "1d", |
| 213 | + "modality": "L1C", |
| 214 | + "name": "rslearn.data_sources.gcp_public_data.Sentinel2", |
| 215 | + "query_config": { |
| 216 | + "max_matches": 2, |
| 217 | + "space_mode": "CONTAINS" |
| 218 | + }, |
| 219 | + "sort_by": "cloud_cover", |
| 220 | + "time_offset": "-180d", |
| 221 | + "use_rtree_index": false |
| 222 | + }, |
| 223 | + "type": "raster" |
| 224 | + }, |
| 225 | + "sentinel2_c.1": { |
| 226 | + "band_sets": [ |
| 227 | + { |
| 228 | + "bands": [ |
| 229 | + "B02", |
| 230 | + "B03", |
| 231 | + "B04", |
| 232 | + "B08" |
| 233 | + ], |
| 234 | + "dtype": "uint16" |
| 235 | + }, |
| 236 | + { |
| 237 | + "bands": [ |
| 238 | + "B05", |
| 239 | + "B06", |
| 240 | + "B07", |
| 241 | + "B8A", |
| 242 | + "B11", |
| 243 | + "B12" |
| 244 | + ], |
| 245 | + "dtype": "uint16", |
| 246 | + "zoom_offset": -1 |
| 247 | + }, |
| 248 | + { |
| 249 | + "bands": [ |
| 250 | + "B01", |
| 251 | + "B09", |
| 252 | + "B10" |
| 253 | + ], |
| 254 | + "dtype": "uint16", |
| 255 | + "zoom_offset": -2 |
| 256 | + } |
| 257 | + ], |
| 258 | + "type": "raster" |
139 | 259 | }
|
140 | 260 | },
|
141 | 261 | "tile_store": {
|
|
0 commit comments