odc-stac
Tooling for converting STAC metadata to ODC data model
Decision gist · record as of 2026-08-14
Yes, if you work with STAC catalogs or cloud-hosted geospatial data. The package is actively maintained, has low install friction, and fills a clear gap between STAC metadata and xarray workflows. However, verify the license terms before use in proprietary projects, and confirm your workflow's actual dependency requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Requires a STAC item source; pystac is a runtime dependency but the full workflow typically requires external catalog access.
- Low friction: pure Python wheel with no compiled dependencies.
License · maintenance · safety
(unclear) — License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
last release 2026-07-30 (15 days) · last repo commit 2026-07-29 · 201 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 114,501 downloads/mo, #12,293 on PyPI
Alternatives
Verify before relying
pip install odc-stac
import odc.stac
from pystac import Item
xx = odc.stac.load(
items=[],
bands=["red", "green", "blue"],
)- Whether pystac_client (not listed as a dependency) is required for typical STAC catalog workflows.
- Actual license text and terms—metadata shows no SPDX or raw license field.
- Whether the optional botocore extra is needed for typical AWS S3 workflows.
What it is and what it does
odc-stac bridges STAC metadata catalogs and xarray, the standard data model for multidimensional geospatial arrays in Python. It takes STAC items (which describe collections of raster imagery and other spatial data) and loads them into xarray Datasets, making them ready for analysis, visualization, and computation. The package integrates with Dask to parallelize data loading and processing across multiple machines or cores, which is essential for working with large satellite or climate datasets that don't fit in memory.
The library is built on a foundation of mature geospatial tools: rasterio for raster I/O, affine for coordinate transformations, odc-geo for geospatial utilities, and xarray for the data model itself. It's actively maintained and supports modern Python versions (3.10–3.13). The package is designed for researchers, data engineers, and analysts working with cloud-hosted or distributed geospatial datasets.
Use it for
- Load satellite imagery from a STAC catalog into xarray for time-series analysis or change detection.
- Query a STAC source, retrieve matching scenes, and parallelize their loading across a Dask cluster.
- Convert STAC metadata into a standardized xarray format for ingestion into geospatial processing pipelines.
- Visualize multispectral raster data (e.g., red, green, blue bands) retrieved from STAC items using xarray's plotting methods.
- Build reproducible workflows that fetch and process geospatial data from STAC catalogs without manual download steps.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with STAC catalogs or cloud-hosted geospatial data.
The package is actively maintained, has low install friction, and fills a clear gap between STAC metadata and xarray workflows. However, verify the license terms before use in proprietary projects, and confirm your workflow's actual dependency requirements.
Install
odc-stac on PyPI
Before you install
Low friction: pure Python wheel with no compiled dependencies. Active maintenance (last release 15 days ago, last commit 2026-07-29). Requires Python 3.10+. Eleven runtime dependencies are all established geospatial and data-processing libraries.
Requires Python 3.10 or later. Requires a STAC item source; pystac is a runtime dependency but the full workflow typically requires external catalog access.
License in practice
License status is unclear—no SPDX identifier or raw license text is recorded in the package metadata. Verify the actual license before use in proprietary or restricted contexts.
Quickstart
pip install odc-stac
import odc.stac
from pystac import Item
xx = odc.stac.load(
items=[],
bands=["red", "green", "blue"],
)
Verify before relying
- Whether pystac_client (not listed as a dependency) is required for typical STAC catalog workflows.
- Actual license text and terms—metadata shows no SPDX or raw license field.
- Whether the optional botocore extra is needed for typical AWS S3 workflows.
Package facts
| License | Not declared unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesaffineodc-geoodc-loaderrasteriodasknumpypandaspystactoolztyping-extensionsxarray |
| Maintenance | Actively maintained 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 114,501 / month, #12,293 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Scientific/Engineering :: GISTopic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: odc_stac-0.5.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “load STAC items into xarray”
- odc-stacConverts STAC (SpatialTemporal Asset Catalog) metadata into xarray…
- pystac-ext-xarray-assetsExtends PySTAC to support the Xarray Assets Extension specification,…
- rio-stacrio-stac creates valid STAC Items from raster datasets by reading…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also odc-loader · pystac-client · pystac-core · pystac · pystac-ext-xarray-assets · odc-geo · pystac-ext-projection · pydap · arcosparse · intake