skillfed

pystac-ext-datacube

Datacube extension for PySTAC

pystac-ext-datacube v2.2.1 4.0M downloads/30d#2,428 on PyPI454
Permissive license Apache-2.0 Active released

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-datacube

uv

uv add pystac-ext-datacube

poetry

poetry add pystac-ext-datacube

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Tags

pystac datacube extensionstac multi-dimensional datadatacube metadata catalograster dataset organizationstac dimension specificationpystac extension pluginmultidimensional array metadata
stac-extensiongeospatial-metadatadatacube

More Information Analysis packages

regex

A drop-in replacement for Python's standard…

permissive · top 100 on PyPI

pyarrow

pyarrow provides Python bindings to Apache…

permissive · top 100 on PyPI

networkx

NetworkX provides data structures and…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

contourpy

ContourPy calculates contours of 2D…

permissive · top 1,000 on PyPI

snowflake-snowpark-python

Snowpark Python provides APIs to query and…

permissive · top 1,000 on PyPI

pystac-ext-raster

Extends PySTAC with the Raster Extension…

permissive · top 5,000 on PyPI

pystac-ext-table

Extends PySTAC to describe tabular data assets…

permissive · top 5,000 on PyPI

pystac-ext-file

Extends PySTAC to add File Info Extension…

permissive · top 5,000 on PyPI

pystac-ext-pointcloud

Extends PySTAC to support the Point Cloud…

permissive · top 5,000 on PyPI

pystac-ext-xarray-assets

Extends PySTAC to support the Xarray Assets…

permissive · top 5,000 on PyPI

pystac-ext-storage

Extends PySTAC to add cloud storage metadata…

permissive · top 5,000 on PyPI

pystac-ext-label

Extends PySTAC to add support for the Label…

permissive · top 5,000 on PyPI

pystac-ext-classification

Provides PySTAC extension support for…

permissive · top 5,000 on PyPI

pystac-ext-scientific

Extends PySTAC to add scientific publication…

permissive · top 5,000 on PyPI

datacube

Datacube provides an integrated gridded data…

permissive · top 15,000 on PyPI