pystac-ext-datacube
Datacube extension for PySTAC
What it is and what it does
pystac-ext-datacube is a plugin for PySTAC that adds support for the Datacube Extension specification (v2.2.0). It allows you to describe datasets organized as multi-dimensional arrays—such as satellite imagery or climate data—by attaching dimension metadata (types, extents, values, coordinate systems) to STAC catalog items. This is useful when your data has structure beyond simple geographic bounds: time series, spectral bands, or other array dimensions that need formal representation.
The package targets Python 3.10 and later and depends only on pystac-core. It's versioned to match the extension specification it implements, so version 2.2.1 targets the v2.2.0 Datacube Extension schema. Use it when building or consuming STAC catalogs that describe raster or array-based data with explicit dimensional organization.
Use it for:
- Catalog satellite imagery time series with explicit temporal and spectral dimensions in STAC
- Describe climate or weather model output as multi-dimensional datacubes with coordinate metadata
- Build searchable STAC collections for gridded geospatial data with dimension-aware filtering
- Extend existing PySTAC workflows to include datacube-specific metadata for array-based datasets
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extends PySTAC to support the Datacube Extension specification, enabling representation of multi-dimensional datasets with dimension types, extents, values, and reference systems.
Yes, if you are building or consuming STAC catalogs that describe multi-dimensional raster or array data. The package is actively maintained, has no known vulnerabilities, and integrates cleanly into PySTAC workflows. Install only if your use case requires explicit datacube dimension metadata; pystac-core alone may suffice for simpler catalogs.
Install
pystac-ext-datacube on PyPI
pip
pip install pystac-ext-datacubeuv
uv add pystac-ext-datacubepoetry
poetry add pystac-ext-datacubeInstalling pystac-ext-datacube
Before you install
Low friction: pure Python wheel with a single runtime dependency on pystac-core. Actively maintained with a recent release and no known vulnerabilities.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install pystac-ext-datacube
from pystac_ext_datacube import DatacubeExtension
from pystac import Item
# Extend an existing STAC Item with datacube metadata
item = Item(...)
DatacubeExtension.add_to(item)
Requires Python 3.10 or later; pystac-core must be installed as a runtime dependency.
Verify before relying
- Whether this extension is required for your use case or if pystac-core alone suffices
- Compatibility with specific PySTAC versions beyond the stated Python 3.10+ requirement
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pystac-core |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,981,594/month — #2,428 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_datacube-2.2.1-py3-none-any.whl
Keywords: STAC, catalog, datacube, imagery, pystac, raster
Tags
More Information Analysis packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyarrowpyarrow provides Python bindings to Apache…
permissive · top 100 on PyPI
networkxNetworkX provides data structures and…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
contourpyContourPy calculates contours of 2D…
permissive · top 1,000 on PyPI
snowflake-snowpark-pythonSnowpark Python provides APIs to query and…
permissive · top 1,000 on PyPI
pystac-ext-rasterExtends PySTAC with the Raster Extension…
permissive · top 5,000 on PyPI
pystac-ext-tableExtends PySTAC to describe tabular data assets…
permissive · top 5,000 on PyPI
pystac-ext-fileExtends PySTAC to add File Info Extension…
permissive · top 5,000 on PyPI
pystac-ext-pointcloudExtends PySTAC to support the Point Cloud…
permissive · top 5,000 on PyPI
pystac-ext-xarray-assetsExtends PySTAC to support the Xarray Assets…
permissive · top 5,000 on PyPI
pystac-ext-storageExtends PySTAC to add cloud storage metadata…
permissive · top 5,000 on PyPI
pystac-ext-labelExtends PySTAC to add support for the Label…
permissive · top 5,000 on PyPI
pystac-ext-classificationProvides PySTAC extension support for…
permissive · top 5,000 on PyPI
pystac-ext-scientificExtends PySTAC to add scientific publication…
permissive · top 5,000 on PyPI
datacubeDatacube provides an integrated gridded data…
permissive · top 15,000 on PyPI