Skip to content

opendatacube/datacube-zarr

Repository files navigation

Open Data Cube Zarr Prototype Driver

Overview

This provides a Zarr Data Read Plug-in driver. for the Open Data Cube (ODC) project.

For ODC documentation, please see ODC documentation

See https://zarr.readthedocs.io/ for Zarr storage specification and Python library.

User Guides

Drivers provided

  • Zarr 2D/3D driver
    • supports (s3, file) protocols

Requirements

System:

Optional:

Developer setup

  1. Install ODC with python=3.8 (see ODC developer setup)
  2. Clone:
    git clone https://github.com/opendatacube/datacube-zarr.git
    
  3. Activate the conda environment you created when installing ODC
    conda activate odc
    
  4. Install new drivers from this repository.
    cd datacube-drivers
    pip install --upgrade -e  ".[test]"
    
  5. Run (flake8, isort, mypy, black) + unit tests
    ./check-code.sh
    
  6. (or) Run all tests, including integration tests.
    ./check-code.sh integration_tests
    
    • Assumes a password-less Postgres database running on localhost called agdcintegration
    • Otherwise copy integration_tests/agdcintegration.conf to ~/.datacube_integration.conf and edit to customise.