# DeepExtremeCubes-video: Sentinel-2 minicubes for compound heatwave/drought impact assessment

## Facts

- Provider: isp-uv-es (Image and Signal Processing group, Universitat de Valencia)
- License: CC BY 4.0
- Records: 42,000 minicubes, spatially-blocked 10-fold split (>=50km between any two folds' locations)
- Stored at: Hugging Face, https://huggingface.co/datasets/isp-uv-es/DeepExtremeCubes-video
- Access: public, readable without an account
- Category: Climate & Weather
- Source: https://huggingface.co/datasets/isp-uv-es/DeepExtremeCubes-video
- Page: https://scigantic.com/archive/6810e9ae-cf8b-5c62-b394-84b559d87838
- Keywords: Climate & Weather, satellite imagery, remote sensing, weather forecasting, time series, Hugging Face

## About

DeepExtremeCubes-video is a storage-efficient repackaging of the DeepExtremeCubes database (Ji et al., Scientific Data 2025): 42,000 globally-sampled 2.56km x 2.56km minicubes built specifically to study compound heatwave-and-drought (CHD) impacts on persistent natural vegetation, 2016-2022. Each minicube combines Sentinel-2 L2A reflectance (7 bands: B02-B07, B8A) and a deep-learning cloud mask, ERA5-Land reanalysis time series, a Copernicus DEM elevation layer, ESA-CCI land cover, and per-location compound-event labels (start/end-dated heatwave and drought event IDs) derived from the Dheed extreme-event database. Locations were stratified-sampled so roughly 80% sit inside CHD-impacted areas and 20% are matched non-extreme controls with similar land cover, specifically to give models paired extreme/non-extreme examples. This -video release transcodes the original ~2.3TB Zarr cubes into H.265/HEVC video (RGB and IR band groups) plus FFV1-lossless masks, reaching roughly 12x compression (~289GB total) at high fidelity. A spatially-blocked 10-fold split (minimum 50km between folds) is provided to prevent spatial-autocorrelation leakage between train/val/test. Built for vegetation-response forecasting, carbon-flux impact estimation, and self-supervised spatiotemporal pretraining on Earth observation video.

## Load the data

```python
# pip install tacoreader av
import tacoreader

table = tacoreader.load("isp-uv-es:deepextremecubes-video")
row = table.iloc[0]
print(row["mc_id"], row["events"], row["dominant_class"])
# bands_rgb.mp4 / bands_ir.mp4 need an HEVC-capable decoder (PyAV) to get back to a (T, 128, 128, 7) array.
```

## Data structure

| Field | Type |
| --- | --- |
| `mc_id` | string — minicube id: encodes lat/lon, generation version, generation date |
| `location_id` | string — geographic identifier for the lat/lon |
| `type` | string — "full" \| "backup" \| "base" (base = missing some properties) |
| `geometry` | geojson — minicube boundary polygon |
| `events` | array — IDs of detected compound heatwave/drought events at this location, each with start/end dates |
| `class` | string \| null — pure land-cover class if >=80% one type, else null |
| `dominant_class / second_dominant_class` | string \| null — most/second-most frequent class for mixed (50-80%) minicubes |
| `creation_date / modification_date` | datetime |
| `bands_rgb / bands_ir / masks / era5 / dem / landcover` | string — relative path to that layer's file for this minicube |

Files:

```text
Per-minicube data layers (one folder per mc_id):
  bands_rgb.mp4   H.265, T x 128 x 128 x 3, B04-B03-B02, 12-bit, 5-day cadence 2016-2022
  bands_ir.mp4    H.265, T x 128 x 128 x 4, B8A-B05-B06-B07, 12-bit, same cadence
  masks.mp4       FFV1 lossless, T x 128 x 128 x 3 — cloud / Scene-Classification-Layer / validity
  era5.zarr       zstd, T x 13 variables — MIN/MAX/MEAN of selected ERA5-Land vars, single-PIXEL time series
  dem.tif         GeoTIFF, static, Copernicus DEM
  landcover.tif   GeoTIFF, ESA-CCI land cover, 2016 vintage
A registry/attribute table (mc_id, location_id, type, geometry, events, class/dominant_class,
per-component version tags) indexes all 42,000 minicubes. Loaded via the tacoreader package,
NOT datasets.load_dataset() — the HF datasets-server could not index this repo (video/complex
files, not parquet/arrow).
```

Example file: `tacoreader.load("isp-uv-es:deepextremecubes-video") returns the registry table; each row's bands_rgb/bands_ir point at that minicube's HEVC video files.`

## Open it

- In a hosted notebook with the data mounted: https://scigantic.com/archive/6810e9ae-cf8b-5c62-b394-84b559d87838
- Full record as JSON (schema card included): https://api.scigantic.com/api/archives/6810e9ae-cf8b-5c62-b394-84b559d87838
- Over MCP: `get_schema_card` with id `6810e9ae-cf8b-5c62-b394-84b559d87838` at https://api.scigantic.com/mcp

## Related topics

- [Satellite imagery datasets](https://scigantic.com/topics/satellite-imagery)
- [Climate & Weather datasets](https://scigantic.com/topics/climate-and-weather)
- [Time series datasets](https://scigantic.com/topics/time-series)
- [Remote sensing datasets](https://scigantic.com/topics/remote-sensing)
- [Weather forecasting datasets](https://scigantic.com/topics/weather-forecasting)
