# Sentinel-2 Cloud Cover Segmentation Dataset (DrivenData challenge, expert-validated)

## Facts

- Provider: Radiant Earth Foundation
- License: CC-BY-4.0 (https://radiantearth.blob.core.windows.net/mlhub/ref_cloud_cover_detection_challenge_v1/README.md)
- Format: JSON (in sampled files)
- Stored at: Azure Blob Storage, https://radiantearth.blob.core.windows.net/mlhub/ref_cloud_cover_detection_challenge_v1
- Access: public, readable without an account
- DOI: https://doi.org/10.34911/rdnt.hfq6m7
- Category: Earth Observation & Geospatial
- Source: https://doi.org/10.34911/rdnt.hfq6m7
- Page: https://scigantic.com/archive/7d6a08bd-ce5f-5364-8502-5a4b804ae229
- Keywords: Earth Observation & Geospatial, image segmentation, satellite imagery, benchmark, JSON, Azure Blob Storage

## About

Pixel-level cloud masks for Sentinel-2 L2A imagery, first produced through the DrivenData 'On Cloud N' crowdsourcing competition and later reviewed and corrected by a team of expert annotators at Radiant Earth Foundation. The training data hold 22,728 chips of 512 x 512 pixels at 10 m sampled from scenes acquired between 2018 and 2020 across Africa, South America and Australia; each chip has the B02, B03, B04 and B08 bands (blue, green, red, near infrared) as separate GeoTIFFs and a binary cloud / no-cloud label raster. Measured 2026-11-15: more than 40,000 files (at least 21 GB listed) under final/public/ (train_features/ /B0x.tif, train_labels/, train_labels.zip, train_metadata.csv with location and acquisition time) and final/private/ (the held-out test chips), plus chip_id_crosswalk.csv mapping competition ids to Sentinel-2 scenes. Read with rasterio; DrivenData's PyTorch Lightning benchmark uses the Planetary Computer for extra bands. Useful for cloud masking, compared with Fmask and s2cloudless. Released under CC BY 4.0; cite Radiant Earth Foundation (2022), Sentinel-2 Cloud Cover Segmentation Dataset, doi:10.34911/rdnt.hfq6m7.

## Load the data

```python
import adlfs
fs = adlfs.AzureBlobFileSystem(account_name='radiantearth', anon=True)
fs.ls('mlhub/ref_cloud_cover_detection_challenge_v1/')[:10]
```

Lists the files with anonymous access. Runs on any machine, with no cloud account.

## Data structure

File types in sampled files: JSON

Example file: `.source/metadata.json`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/7d6a08bd-ce5f-5364-8502-5a4b804ae229
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/7d6a08bd-ce5f-5364-8502-5a4b804ae229
- Over MCP: `get_schema_card` with id `7d6a08bd-ce5f-5364-8502-5a4b804ae229` at https://api.scigantic.com/mcp

## Related topics

- [Earth Observation & Geospatial datasets](https://scigantic.com/topics/earth-observation-and-geospatial)
- [JSON datasets](https://scigantic.com/topics/json)
- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
- [Benchmark datasets](https://scigantic.com/topics/benchmark)
- [Image segmentation datasets](https://scigantic.com/topics/image-segmentation)
