Update README.md
Browse files
README.md
CHANGED
|
@@ -10,13 +10,13 @@ size_categories:
|
|
| 10 |
- 1M<n<10M
|
| 11 |
---
|
| 12 |
|
| 13 |
-
# Core-
|
| 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|
|
| 20 |
|
| 21 |
## Content
|
| 22 |
|
|
@@ -51,7 +51,7 @@ from PIL import Image
|
|
| 51 |
PARQUET_FILE = 'part_03900' # parquet number
|
| 52 |
ROW_INDEX = 42 # row number (about 500 per parquet)
|
| 53 |
|
| 54 |
-
url = "https://huggingface.co/datasets/Major-TOM/Core-
|
| 55 |
with open_parquet_file(url,columns = ["thumbnail"]) as f:
|
| 56 |
with pq.ParquetFile(f) as pf:
|
| 57 |
first_row_group = pf.read_row_group(ROW_INDEX, columns=['thumbnail'])
|
|
|
|
| 10 |
- 1M<n<10M
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Core-S2L2A (🥧 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|2,245,886|1,068 x 1,068 (10 m) | > 2.564 Trillion |
|
| 20 |
|
| 21 |
## Content
|
| 22 |
|
|
|
|
| 51 |
PARQUET_FILE = 'part_03900' # parquet number
|
| 52 |
ROW_INDEX = 42 # row number (about 500 per parquet)
|
| 53 |
|
| 54 |
+
url = "https://huggingface.co/datasets/Major-TOM/Core-S2L2A/resolve/main/images/{}.parquet".format(PARQUET_FILE)
|
| 55 |
with open_parquet_file(url,columns = ["thumbnail"]) as f:
|
| 56 |
with pq.ParquetFile(f) as pf:
|
| 57 |
first_row_group = pf.read_row_group(ROW_INDEX, columns=['thumbnail'])
|