Core-DEM / README.md
mikonvergence's picture
Super-squash branch 'main' using huggingface_hub
179f7c5 verified
|
raw
history blame
2.52 kB
metadata
license: cc-by-sa-4.0
tags:
  - earth-observation
  - remote-sensing
  - elevation
  - satellite
  - geospatial
size_categories:
  - 1M<n<10M
dataset_info:
  - config_name: default
    features:
      - name: grid_cell
        dtype: string
      - name: thumbnail
        dtype: image
      - name: compressed
        dtype: image
      - name: DEM
        dtype: binary
configs:
  - config_name: default
    data_files: images/*.parquet
  - config_name: metadata
    data_files: metadata.parquet

Major TOM Core-DEM

Contains a global coverage of Copernicus DEM, each of size 356 x 356 pixels.

Source Modality Type Number of Patches Patch Size Total Pixels
Copernicus DEM 30 Digital Surface Model (DSM) 1,837,843 356 x 356 (30 m) > 1.654 Billion

Produced in collaboration by European Space Agency Φ-lab and Adobe Research.

Content

Column Details Resolution
DEM Original data 30m
thumbnail compressed hillshade visualisation 30m
compressed compressed jpeg of original data 30m

Spatial Coverage

This is a global monotemporal dataset that contains nearly the entire COP-DEM dataset.

The following figure demonstrates the spatial coverage (only black pixels are absent): image/png

Example Use

Interface scripts are available at https://github.com/ESA-PhiLab/Major-TOM

Here's a sneak peek with a thumbnail image:

from fsspec.parquet import open_parquet_file
import pyarrow.parquet as pq
from io import BytesIO
from PIL import Image

PARQUET_FILE = 'part_00390' # parquet number
ROW_INDEX = 42 # row number (about 500 per parquet)

url = "https://huggingface.co/datasets/Major-TOM/Core-DEM/resolve/main/images/{}.parquet".format(PARQUET_FILE)
with open_parquet_file(url,columns = ["thumbnail"]) as f:
    with pq.ParquetFile(f) as pf:
        first_row_group = pf.read_row_group(ROW_INDEX, columns=['thumbnail'])

stream = BytesIO(first_row_group['thumbnail'][0].as_py())
image = Image.open(stream)

Powered by Φ-lab, European Space Agency (ESA) 🛰️


Produced using Copernicus WorldDEM-30 © DLR e.V. 2010-2014 and © Airbus Defence and Space GmbH 2014-2018 provided under COPERNICUS by the European Union and ESA; all rights reserved