# SSL4EO-S12 (v1.0): Large-Scale Multimodal Multitemporal Sentinel-1/2 Pretraining Dataset

## Facts

- Provider: Wang et al. (Technical University of Munich, DLR)
- License: CC-BY-4.0 (https://github.com/zhu-xlab/SSL4EO-S12)
- Size: 37 files
- Stored at: Hugging Face, https://huggingface.co/datasets/wangyi111/SSL4EO-S12
- Access: public, readable without an account
- Category: Earth Observation & Geospatial
- Source: https://arxiv.org/abs/2211.07044
- Page: https://scigantic.com/archive/a4cf6335-df41-5006-8f6d-32d5bb0314ab
- Keywords: Earth Observation & Geospatial, satellite imagery, remote sensing, Hugging Face

## About

SSL4EO-S12 is the original release of the self-supervised pretraining dataset for Earth observation by Wang et al. (IEEE Geoscience and Remote Sensing Magazine, 2023). It samples about 250,000 locations around the 10,000 most populous cities worldwide and captures each in four seasons, with three Copernicus products per location and season: Sentinel-1 GRD (VV, VH), Sentinel-2 Level-1C top-of-atmosphere (13 bands) and Sentinel-2 Level-2A surface reflectance (12 bands), as 264x264 pixel patches at 10 m, about 3 million patches in total exported from Google Earth Engine. Folders are s1_grd/, s2_l1c/ and s2_l2a/, plus ssl4eo-s12-ml/ with an ML-ready packaging. It is the corpus behind many MoCo, DINO, MAE and data2vec remote sensing backbones and differs from the later SSL4EO-S12 v1.1 Zarr release by Embed2Scale, which re-exported and aligned the data. About 1.6 TB. The authors release the dataset under CC BY 4.0 (code Apache 2.0); cite Wang et al. 2023.

## Load the data

```python
from huggingface_hub import hf_hub_download
path = hf_hub_download(repo_id="wangyi111/SSL4EO-S12", filename="s1_grd/s1_grd.tar.gz.partaa", repo_type="dataset")
print(path)
```

## Data structure

Example file: `s1_grd/s1_grd.tar.gz.partaa`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/a4cf6335-df41-5006-8f6d-32d5bb0314ab
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/a4cf6335-df41-5006-8f6d-32d5bb0314ab
- Over MCP: `get_schema_card` with id `a4cf6335-df41-5006-8f6d-32d5bb0314ab` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
- [Remote sensing datasets](https://scigantic.com/topics/remote-sensing)
