Commit
•
086ad27
1
Parent(s):
c249d22
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,82 @@
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
license: cc-by-sa-4.0
|
3 |
+
tags:
|
4 |
+
- earth-observation
|
5 |
+
- remote-sensing
|
6 |
+
- sentinel-2
|
7 |
+
- multi-spectral
|
8 |
+
- satellite
|
9 |
+
size_categories:
|
10 |
+
- 1M<n<10M
|
11 |
---
|
12 |
+
|
13 |
+
# Core-S2L1C (🥧 Pre-Release)
|
14 |
+
|
15 |
+
Contains a global coverage of Sentinel-2 (Level 1C) patches, each of size 1,068 x 1,068 pixels.
|
16 |
+
|
17 |
+
| Source | Sensing Type | Number of Patches | Patch Size | Total Pixels |
|
18 |
+
|--------|--------------|-------------------|------------|--------------|
|
19 |
+
|Sentinel-2 Level-1C |Optical Multispectral|TBC|TBC|TBC|
|
20 |
+
|
21 |
+
## Content
|
22 |
+
|
23 |
+
| Column | Details | Resolution |
|
24 |
+
|--------|---------|------------|
|
25 |
+
| B01 | Coastal aerosol, 442.7 nm (S2A), 442.3 nm (S2B) | 60m |
|
26 |
+
| B02 | Blue, 492.4 nm (S2A), 492.1 nm (S2B) | 10m |
|
27 |
+
| B03 | Green, 559.8 nm (S2A), 559.0 nm (S2B) | 10m |
|
28 |
+
| B04 | Red, 664.6 nm (S2A), 665.0 nm (S2B) | 10m |
|
29 |
+
| B05 | Vegetation red edge, 704.1 nm (S2A), 703.8 nm (S2B) | 20m |
|
30 |
+
| B06 | Vegetation red edge, 740.5 nm (S2A), 739.1 nm (S2B) | 20m |
|
31 |
+
| B07 | Vegetation red edge, 782.8 nm (S2A), 779.7 nm (S2B) | 20m |
|
32 |
+
| B08 | NIR, 832.8 nm (S2A), 833.0 nm (S2B) | 10m |
|
33 |
+
| B8A | Narrow NIR, 864.7 nm (S2A), 864.0 nm (S2B) | 20m |
|
34 |
+
| B09 | Water vapour, 945.1 nm (S2A), 943.2 nm (S2B) | 60m |
|
35 |
+
| B10 | SWIR – Cirrus, 1373.5 nm (S2A), 1376.9 nm (S2B) | 60m |
|
36 |
+
| B11 | SWIR, 1613.7 nm (S2A), 1610.4 nm (S2B) | 20m |
|
37 |
+
| B12 | SWIR, 2202.4 nm (S2A), 2185.7 nm (S2B) | 20m |
|
38 |
+
| thumbnail | RGB composite [B04, B03, B02] saved as png | 10m |
|
39 |
+
|
40 |
+
## Spatial Coverage
|
41 |
+
This is a global monotemporal dataset. Nearly every piece of Earth captured by Sentinel-2 is contained at least once in this dataset (and only once, excluding some marginal overlaps).
|
42 |
+
|
43 |
+
The following figure demonstrates the spatial coverage (only black pixels are absent):
|
44 |
+
![image/png](https://cdn-uploads.huggingface.co/production/uploads/6304c06eeb6d777a838eab63/2KTarfsM0a1dNYEbXriUH.png)
|
45 |
+
|
46 |
+
## Example Use
|
47 |
+
|
48 |
+
Interface scripts will be released soon.
|
49 |
+
|
50 |
+
Here's a sneak peek with a thumbnail image:
|
51 |
+
```python
|
52 |
+
from fsspec.parquet import open_parquet_file
|
53 |
+
import pyarrow.parquet as pq
|
54 |
+
from io import BytesIO
|
55 |
+
from PIL import Image
|
56 |
+
|
57 |
+
PARQUET_FILE = 'part_03900' # parquet number
|
58 |
+
ROW_INDEX = 42 # row number (about 500 per parquet)
|
59 |
+
|
60 |
+
url = "https://huggingface.co/datasets/Major-TOM/Core-S2L1C/resolve/main/images/{}.parquet".format(PARQUET_FILE)
|
61 |
+
with open_parquet_file(url,columns = ["thumbnail"]) as f:
|
62 |
+
with pq.ParquetFile(f) as pf:
|
63 |
+
first_row_group = pf.read_row_group(ROW_INDEX, columns=['thumbnail'])
|
64 |
+
|
65 |
+
stream = BytesIO(first_row_group['thumbnail'][0].as_py())
|
66 |
+
image = Image.open(stream)
|
67 |
+
```
|
68 |
+
|
69 |
+
## Cite
|
70 |
+
[![arxiv](https://img.shields.io/badge/Open_Access-arxiv:2402.12095-b31b1b)](https://arxiv.org/abs/2402.12095/)
|
71 |
+
```latex
|
72 |
+
@inproceedings{Major_TOM,
|
73 |
+
title={Major TOM: Expandable Datasets for Earth Observation},
|
74 |
+
author={Alistair Francis and Mikolaj Czerkawski},
|
75 |
+
year={2024},
|
76 |
+
eprint={2402.12095},
|
77 |
+
archivePrefix={arXiv},
|
78 |
+
primaryClass={cs.CV}
|
79 |
+
}
|
80 |
+
```
|
81 |
+
|
82 |
+
Powered by [Φ-lab, European Space Agency (ESA) 🛰️](https://huggingface.co/ESA-philab)
|