Datasets:
The dataset viewer is not available for this subset.
Exception: SplitsNotFoundError
Message: The split names could not be parsed from the dataset config.
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 286, in get_dataset_config_info
for split_generator in builder._split_generators(
~~~~~~~~~~~~~~~~~~~~~~~~~^
StreamingDownloadManager(base_path=builder.base_path, download_config=download_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 78, in _split_generators
first_examples = list(islice(pipeline, self.NUM_EXAMPLES_FOR_FEATURES_INFERENCE))
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/webdataset/webdataset.py", line 32, in _get_pipeline_from_tar
for filename, f in tar_iterator:
^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/track.py", line 49, in __iter__
for x in self.generator(*self.args):
~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1407, in _iter_from_urlpath
yield from cls._iter_zip(f)
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 1377, in _iter_zip
zipf = zipfile.ZipFile(f)
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 1472, in __init__
self._RealGetContents()
~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 1535, in _RealGetContents
endrec = _EndRecData(fp)
File "/usr/local/lib/python3.14/zipfile/__init__.py", line 352, in _EndRecData
fpin.seek(0, 2)
~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/huggingface_hub/hf_file_system.py", line 1285, in seek
raise ValueError("Cannot seek streaming HF file")
ValueError: Cannot seek streaming HF file
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/split_names.py", line 68, in compute_split_names_from_streaming_response
for split in get_dataset_split_names(
~~~~~~~~~~~~~~~~~~~~~~~^
path=dataset,
^^^^^^^^^^^^^
config_name=config,
^^^^^^^^^^^^^^^^^^^
token=hf_token,
^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 340, in get_dataset_split_names
info = get_dataset_config_info(
path,
...<6 lines>...
**config_kwargs,
)
File "/usr/local/lib/python3.14/site-packages/datasets/inspect.py", line 291, in get_dataset_config_info
raise SplitsNotFoundError("The split names could not be parsed from the dataset config.") from err
datasets.inspect.SplitsNotFoundError: The split names could not be parsed from the dataset config.Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
STRATA-S12 — full corpus
Status. Upload complete and integrity-verified — every
.taris listed inSHA256SUMS.txtand was checked against its hash on the Hub after upload.
Co-registered Sentinel-1 / Sentinel-2 pairs for self-supervised pre-training in Earth observation.
Generated 2026-08-09.
What this is
Every entry is a pair: one Sentinel-2 optical tile and one Sentinel-1 radar tile over the same ground, written to the same grid — identical bounding box, identical CRS (the tile's local UTM zone) and 10 m pixels — so the two rasters correspond pixel for pixel with no resampling on your side. The two acquisitions are at most three days apart; the realised gap is recorded per pair.
Each tile is 512 × 512 pixels at 10 m, so it covers 5.12 × 5.12 km.
- Sentinel-2: bands B4, B3, B2 (true colour),
float32. - Sentinel-1: VV, VH and a precomputed VV−VH difference,
float32.
The remaining Sentinel bands are not shipped, to keep the corpus trainable on ordinary hardware. They remain recoverable: every sidecar records the exact source-scene identifiers, so any additional band can be pulled for any tile from the same archive.
Contents
| Pairs | 740,746 |
| Distinct geographic tiles | 473,786 |
| Non-empty strata | 192 |
| Land-cover classes | 8 |
| Seasons | 4 |
| Regions | 6 |
Classes: bare_sparse_vegetation, built_up, cropland, grassland, herbaceous_wetland, permanent_water_bodies, shrubland, tree_cover
Seasons: autumn, spring, summer, winter
Regions: AFRICA, ASIA, AUSTRALIA_OCEANIA, EUROPE, NORTH_AMERICA, SOUTH_AMERICA
Folder layout
The corpus is distributed as one .tar per stratum
(<sensor>_<class>_<season>_<region>.tar). Unpack a stratum archive and you get
the tree below; unpack several into the same directory to merge them.
<sensor>/class_<class>/season_<season>/region_<region>/<file>.tif
For example s2/class_built_up/season_summer/region_AFRICA/.
The path is the index. Selecting a class, a season or a region is a directory walk and needs no metadata parsing:
cp -r s2/class_cropland/ /somewhere/ # one class, optical only
find . -path '*/season_winter/*' -name '*.tif'
The two members of a pair sit at matching s1/ and s2/ paths and share both identifiers in their filenames.
File names
<sensor>_<class>_<season>_<region>_<tile_id>_<timestamp>_<pair_id>.tif
| Field | Meaning |
|---|---|
sensor |
S2 or S1 |
class |
first four letters of the dominant land-cover class |
season |
WIN, SPR, SUM, AUT |
region |
first three letters of the continental region |
tile_id |
the geographic cell — same for every sampling of that ground |
timestamp |
when the download batch ran (not the acquisition) |
pair_id |
this specific S1–S2 pairing |
A pair is identified by tile_id together with pair_id. Both are in the filename, so matching an optical tile to its radar counterpart is a string comparison — no index, no metadata read.
tile_id repeats across files on purpose: the same ground sampled in a different month or season is a different pair over the same cell. That is the temporal sampling, not duplication.
The sidecar
Every .tif has a .json beside it with the same stem, aligned with STAC 1.0.0 and informed by the NASA PDS4 information model. Nine blocks:
integrity — checksum, algorithm. See Verifying a file below; the checksum is not a hash of the file's bytes.
coordinates — centroid lat/lon (WGS84), geographic bbox, and crs, the tile's native projected CRS. Both frames are recorded so downstream tooling can use either.
dimensions — width, height, pixel_resolution_m, the list of bands, dtype and the nodata sentinel.
classification — season, hemisphere, season_raw; the dominant land_cover_class and its class_id; geographic_region; label_purity, the fraction of the tile covered by the dominant class; and label_composition, the full list of classes present with their ratios. Mixed tiles are described, not discarded — filter on purity for homogeneous ones, or on the composition for any class present.
data_source — provider, mission, source collection and processing level.
acquisition — download_timestamp, satellite_acquisition_time (when the satellite captured the scene), spacecraft, the cloud threshold applied and the pairing tolerance.
license — terms, source, attribution and citation.
provenance — sentinel2_image_id and sentinel1_image_id, the exact source scenes; plus the producing script, its version, the dataset version and the processing environment. The two scene identifiers are what let any tile be traced back to the archive it came from.
quality_metrics — temporal_gap_days, the realised gap between the two acquisitions.
A complete example is in examples.zip.
Four things to get right
Seasons span two calendar years
Seasons are the three-month meteorological windows (DJF, MAM, JJA, SON), each named after the year it closes. Winter of year Y runs from December of Y−1 to February of Y, so part of the corpus carries a December date from the previous calendar year while belonging to the following season.
Group by the season field, not by the year of satellite_acquisition_time. Grouping by calendar year splits one winter across two buckets.
Seasons are local to the hemisphere
June–August is summer in the north and winter in the south; December is the reverse. The same acquisition month therefore carries either label depending on latitude, and both appear in the corpus. hemisphere and season_raw in the sidecar record which correction was applied.
The checksum hashes the pixels, not the file
integrity.checksum is the xxHash64 of the decoded pixel array, not of the bytes on disk. Hashing the file gives a different value. See below for the code that reproduces it.
Pixel values: offset, data type and units
The radiometry follows the Google Earth Engine collections the data was drawn from.
- Sentinel-2 values are the Level-2A surface-reflectance digital numbers of
COPERNICUS/S2_SR. Unlike its harmonised successor, this collection keeps the radiometric offset that ESA introduced with processing baseline 04.00 in January 2022. Every acquisition in the corpus is later than that change, so all optical tiles carry it. Surface reflectance is(DN - 1000) / 10000. - The sidecar
dtypefor Sentinel-2 recordsuint16, the native type of the source product. The released files hold the same integer digital numbers stored asfloat32. - Sentinel-1 values are GRD backscatter in dB, after thermal-noise removal, radiometric calibration and terrain correction, with no speckle filtering. Only interferometric-wide, dual-polarisation (VV+VH) scenes are used, from either orbit direction. The third channel is VV−VH in dB.
Verifying a file
import json, xxhash, rasterio
tif = 's2/class_cropland/season_summer/region_EUROPE/S2_CROP_SUM_EUR_....tif'
arr = rasterio.open(tif).read() # (bands, H, W)
here = xxhash.xxh64(arr.tobytes()).hexdigest()
meta = json.load(open(tif[:-4] + '.json'))
assert here == meta['integrity']['checksum']
The array must be read whole and in band order — that is the buffer the checksum was computed over when the tile was written.
The manifest
manifest.parquet is one row per pair, with the identifiers, the stratum axes, latitude and longitude, the label purity and composition, the source scene identifiers, the temporal gap, and the paths of both files relative to this folder. Anything the folder tree cannot express — a purity threshold, a bounding box, a specific source scene — is a query over this file.
import pandas as pd
rows = pd.read_parquet('manifest.parquet')
pure = rows[rows['label_purity'] > 0.9]
About the labels
Land-cover labels come from ESA WorldCover 2021, product version v200, at 10 m. They exist to stratify the acquisition — to spread the sampling evenly over land-cover classes — and are not ground truth for a supervised task.
There is roughly a four-year gap between the label product and the imagery, so a tile in an area of real land-cover change may carry a stale class. That affects which stratum it was assigned to, not the validity of the pair or its usefulness for self-supervised pre-training. If you need supervised labels, bring them from an external benchmark.
Licence and attribution
Contains modified Copernicus Sentinel data. Released under CC BY 4.0. Per-file terms and the citation string are in each sidecar's license block.
Citation
If you use STRATA-S12, please cite the paper and the dataset:
@misc{sanchezleon2026ddsa,
title = {Deficit-Driven Stratified Acquisition for Building {STRATA-S12}: An Open {SAR}--Optical Corpus for Self-Supervised Learning},
author = {Sanchez-Leon, Christian and Chen, Dongming and Wang, Dongqi},
year = {2026},
eprint = {2610.17680},
archivePrefix = {arXiv},
primaryClass = {eess.IV},
doi = {10.48550/arXiv.2610.17680}
}
@dataset{sanchezleon2026strata,
title = {{STRATA-S12}: A Stratified, Quality-Controlled Corpus of Co-Registered {Sentinel-1/Sentinel-2} Pairs for Self-Supervised {Earth} Observation},
author = {Sanchez-Leon, Christian and Chen, Dongming and Wang, Dongqi},
year = {2026},
publisher = {Zenodo},
doi = {10.5281/zenodo.22699047},
url = {https://doi.org/10.5281/zenodo.22699047}
}
The dataset DOI above is the version DOI for this release.
Related records
- Paper: arXiv:2610.17680
- STRATA-S12 Lite (D_lite), 20,916 pairs: 10.5281/zenodo.22646276
- Evaluation harness: GitHub, 10.5281/zenodo.22892250
Files in this folder
manifest.parquet— the index described above (one row per pair)README.md— this filerequirements.txt— the pinned environment the tiles were produced innorm_stats.json— per-band normalisation statistics (corpus band order)load_example.py— opens and verifies a pair (see Verifying a file)examples.zip— three complete pairs and their sidecars, to try the toolingSHA256SUMS.txt— SHA-256 of each archive, for download integrity*.tar— the tiles and their sidecars, one archive per stratum (<sensor>_<class>_<season>_<region>.tar); unpack to obtain thes1//s2/tree
- Downloads last month
- 140