pystac-ext-xarray-assets
Xarray Assets extension for PySTAC
What it is and what it does
This package is a PySTAC extension that implements the Xarray Assets Extension specification (v1.0.0). It adds standardized fields to STAC items and assets for describing how they can be opened with xarray, including storage options, open parameters, and engine configuration. This is useful when working with raster imagery and multidimensional data in STAC catalogs.
The extension sits on top of PySTAC and pystac-core, providing a thin API layer to attach and work with xarray-specific metadata. It's designed for developers building STAC workflows that need to document how datasets should be loaded into xarray, particularly in scientific and geospatial contexts where standardized asset descriptions matter.
Use it for:
- Document xarray storage options and engine settings in STAC items for reproducible data loading
- Build STAC catalogs for raster imagery with standardized xarray asset metadata
- Enable downstream tools to automatically configure xarray when opening STAC assets
- Extend STAC workflows with xarray-specific parameters for cloud-optimized or remote datasets
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extends PySTAC to support the Xarray Assets Extension specification, enabling standardized metadata for describing how STAC assets can be opened with xarray, including storage options and engine configuration.
Yes, if you are building or working with STAC catalogs that include raster or multidimensional data and need to standardize how those assets are opened with xarray. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install it only if your workflow requires the Xarray Assets Extension; if you're using base PySTAC without xarray asset metadata, it's not necessary.
Install
pystac-ext-xarray-assets on PyPI
pip
pip install pystac-ext-xarray-assetsuv
uv add pystac-ext-xarray-assetspoetry
poetry add pystac-ext-xarray-assetsInstalling pystac-ext-xarray-assets
Before you install
Low install friction with a single pure-Python dependency (pystac-core). Active maintenance with a recent release (4 days old) and steady repository activity.
License in practice
Apache-2.0 permissive license allows use in commercial and proprietary projects with minimal restrictions; you must include a copy of the license and note material changes.
Quickstart
pip install pystac-ext-xarray-assets
from pystac_ext_xarray_assets import XarrayAssetsExtension
from pystac import Item
item = Item.from_dict({...})
XarrayAssetsExtension.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 STAC workflow or if base PySTAC covers your use case
- Compatibility guarantees with specific versions of xarray beyond what the extension metadata specifies
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,889/month — #2,413 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pystac_ext_xarray_assets-1.0.1-py3-none-any.whl
Keywords: STAC, catalog, imagery, pystac, raster, xarray-assets
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-fileExtends PySTAC to add File Info Extension…
permissive · top 5,000 on PyPI
pystac-ext-item-assetsExtends PySTAC to support the Item Assets…
permissive · top 5,000 on PyPI
pystac-ext-storageExtends PySTAC to add cloud storage metadata…
permissive · top 5,000 on PyPI
pystac-ext-renderExtends PySTAC to support the Render Extension…
permissive · top 5,000 on PyPI
pystac-ext-datacubeExtends PySTAC to support the Datacube…
permissive · top 5,000 on PyPI
pystac-ext-viewExtends PySTAC with the View Geometry…
permissive · top 5,000 on PyPI
pystac-ext-scientificExtends PySTAC to add scientific publication…
permissive · top 5,000 on PyPI
pystac-ext-tableExtends PySTAC to describe tabular data assets…
permissive · top 5,000 on PyPI
pystac-ext-rasterExtends PySTAC with the Raster Extension…
permissive · top 5,000 on PyPI
odc-stacConverts STAC (SpatialTemporal Asset Catalog)…
unclear · top 15,000 on PyPI