--- id: datacube version: "1.9.21" license: Apache-2.0 license_treatment: permissive maintenance: active --- # datacube — An analysis environment for satellite and other earth observation data License: permissive · Maintenance: active · Downloads: 124.2K/mo ## What it is and what it does Datacube is a Python framework for managing and analyzing large time-series collections of earth observation satellite data. It provides a unified interface to index, query, and process gridded geospatial data from multiple sources, handling the complexity of coordinate systems, temporal alignment, and multi-dimensional arrays. The package integrates with PostgreSQL for metadata storage and uses xarray, dask, and rasterio to enable scalable analysis workflows across decades of satellite imagery. Typical use involves indexing satellite datasets into a PostgreSQL-backed datacube, then querying and analyzing specific regions and time periods using a high-level Python API. It abstracts away low-level file I/O and coordinate transformations, allowing researchers and analysts to focus on scientific questions rather than data plumbing. The 24 runtime dependencies—including dask for distributed computing, xarray for multi-dimensional arrays, and GeoAlchemy2 for spatial queries—reflect its role as a comprehensive geospatial data platform. Use it for: - Index and query multi-year satellite imagery archives to analyze land-use change or vegetation trends over time. - Perform distributed analysis of large earth observation datasets using dask-backed computation across multiple machines. - Build automated pipelines to ingest, index, and serve analysis-ready satellite data to downstream applications. - Analyze time-series of gridded climate or environmental data aligned to specific geographic regions. - Integrate satellite data with geospatial databases for spatial queries and cross-dataset analysis. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Datacube provides an integrated gridded data analysis environment for managing and analyzing decades of analysis-ready earth observation satellite data from multiple acquisition systems. Yes, if you work with earth observation or gridded geospatial time-series data at scale. Datacube is actively maintained, has no known vulnerabilities, and is designed specifically for this use case. The PostgreSQL and system library requirements are substantial but expected for this class of tool. Not suitable if you need a lightweight, dependency-minimal solution or lack access to a PostgreSQL database. ## Install pip install datacube uv add datacube poetry add datacube ## Installing datacube Before you install: Low friction installation with a pure Python wheel. Active maintenance with a release 64 days ago and ongoing commits. Requires PostgreSQL 15+ and Python 3.10+ as system dependencies, which are non-trivial prerequisites but well-documented. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open and proprietary projects. Quickstart: pip install datacube import datacube dc = datacube.Datacube() # Query and analyze earth observation data Requires PostgreSQL 15+ running and accessible; Python 3.10+ required; system libraries for geospatial dependencies (GDAL, PROJ, etc.) may need compilation. Verify before relying: - Whether datacube can be used without a local PostgreSQL instance (e.g., remote database connection setup). - Performance characteristics and scalability limits for typical earth observation datasets. - Integration patterns with common cloud storage backends (S3, GCS, etc.). ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 124.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags earth observation data analysis, satellite data cube management, gridded geospatial data processing, remote sensing data platform, time-series earth observation, geospatial data indexing, multi-source satellite analysis, earth-observation, geospatial, time-series [View on SkillFed](https://skillfed.io/packages/datacube) · [View on PyPI](https://pypi.org/project/datacube/)