Skip to main content

Open Data Cube Core

Build Status Coverage Status Documentation Status Discord

Overview

The Open Data Cube Core provides an integrated gridded data analysis environment for decades of analysis ready earth observation satellite and related data from multiple satellite and other acquisition systems.

Documentation

See the user guide for installation and usage of the datacube, and for documentation of the API.

Join our Discord if you need help setting up or using the Open Data Cube.

Please help us to keep the Open Data Cube community open and inclusive by reading and following our Code of Conduct.

This is a 1.9.x series release of the Open Data Cube. If you are migrating from a 1.8.x series release, please refer to the 1.8.x to 1.9.x Migration Notes.

Requirements

System

  • PostgreSQL 15+

  • Python 3.10+

Developer setup

  1. Clone:

    • git clone https://github.com/opendatacube/datacube-core.git

  2. Create a Python environment for using the ODC. We recommend Mambaforge as the easiest way to handle Python dependencies.

mamba env create -f conda-environment.yml
conda activate cubeenv
  1. Install a develop version of datacube-core.

cd datacube-core
pip install --upgrade -e .  --group dev
  1. Install the pre-commit hooks to help follow ODC coding conventions when committing with git.

pre-commit install
  1. Run unit tests + PyLint

Install test dependencies using:

pip install --upgrade -e '.' --group dev

If install for these fails, please lodge them as issues.

Run unit tests with:

./check-code.sh

(this script approximates what is run by GitHub Actions. You can alternatively run pytest yourself).

  1. (or) Run all tests, including integration tests.

    ./check-code.sh integration_tests

    • Assumes the existence of two password-less Postgres databases running on localhost called pgintegration and pgisintegration.

    • Otherwise copy integration_tests/integration.conf to ~/.datacube_integration.conf and edit to customise.

    • For instructions on setting up a password-less Postgres database, see

      the developer setup instructions.

Alternatively one can use the opendatacube/datacube-tests docker image to run tests. This docker includes database server pre-configured for running integration tests. Add --with-docker command line option as a first argument to ./check-code.sh script.

./check-code.sh --with-docker integration_tests

To run individual tests in a docker container

docker build --tag=opendatacube/datacube-tests-local --no-cache --progress plain -f docker/Dockerfile .

docker run -ti -v $(pwd):/code opendatacube/datacube-tests-local:latest pytest integration_tests/test_filename.py::test_function_name

Developer setup on Ubuntu

Building a Python virtual environment on Ubuntu suitable for development work.

Install dependencies:

sudo apt-get update
sudo apt-get install -y \
    autoconf automake build-essential make cmake \
    graphviz \
    python3-venv \
    python3-dev \
    libpq-dev \
    libyaml-dev \
    libnetcdf-dev \
    libudunits2-dev

Build the python virtual environment:

pyenv="${HOME}/.envs/odc"  # Change to suit your needs
mkdir -p "${pyenv}"
python3 -m venv "${pyenv}"
source "${pyenv}/bin/activate"
pip install -U pip wheel cython numpy
pip install -e '.' --group dev

Release files for datacube 1.9.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for datacube 1.9.22
File Size Uploaded
datacube-1.9.22.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for datacube 1.9.22
File Interpreter ABI Platform
datacube-1.9.22-py3-none-any.whl Python 3 none any Details

Total release size: 2.9 MB

Release files / datacube-1.9.22.tar.gz

Download URL datacube-1.9.22.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
63e5d0f08f43faeaa55676f5602e809b01f92d5ff22102ae488a93866add1ae7
BLAKE2b-256 checksum
How to use checksums
db99bb58dc99b1f44bb74551d1e7849a619a9c32e9164abd46657237c712453b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / datacube-1.9.22-py3-none-any.whl

Download URL datacube-1.9.22-py3-none-any.whl
Size 477.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
380d048655489e1fd92fb02ee1cd260281a39934812ef8a56bdb1a507ed7637c
BLAKE2b-256 checksum
How to use checksums
021e4b2654329f3087250cc2d7823fea4dc24ea40a20362866bf9893de050b30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.9.22 This release

2 release files

1.9.21

2 release files

1.9.20

2 release files

1.9.19

2 release files

1.9.18

2 release files

1.9.17

2 release files

1.9.16

2 release files

1.9.15

2 release files

1.9.13

2 release files

1.9.12

2 release files

1.9.10

2 release files

1.9.9

2 release files

1.9.8

2 release files

1.9.7

2 release files

1.9.6

2 release files

1.9.5

2 release files

1.9.4

2 release files

1.9.3

2 release files

1.9.2

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.18

2 release files

1.8.16

2 release files

1.8.15

2 release files

1.8.14

2 release files

1.8.10

2 release files

1.8.9

2 release files

1.8.8

2 release files

1.8.7

2 release files

1.8.6

2 release files

1.8.5

2 release files

1.8.4

2 release files

1.8.3

2 release files

1.8.2

2 release files

1.8.1

2 release files

1.8.0

2 release files

1.7

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.4

2 release files

1.5.2

2 release files

1.3.2

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.1.17

2 release files

1.1.16

2 release files

1.1.14

2 release files

1.1.13

2 release files

1.1.12

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page