Skip to content

nhoss2/datacube-core

 
 

Repository files navigation

Open Data Cube Core

Build Status Coverage Status Documentation Status

Overview

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 & usage of the datacube, and for documentation of the API.

Join our Slack if you need help setting up or using Data Cube Core.

Requirements

System

  • PostgreSQL 9.5+
  • Python 2.7+ or Python 3.5+

Developer setup

  1. Clone:
    • git clone https://github.com/opendatacube/datacube-core.git
  2. Install the native libraries for GDAL & NetCDF4.
    • This depends on your OS.
    • Eg. yum install gdal
  3. Install Python dependencies:

    python setup.py develop

    Note that the versions must match between GDAL's Python bindings and the native GDAL library. If you receive a gdal error when installing dependencies, you may need to install a specific version first:

    eg. pip install gdal==2.0.1

  4. Run unit tests + PyLint

    ./check-code.sh

    (this script approximates what is run by Travis. You can alternatively run py.test yourself)

  5. (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.

Packages

No packages published

Languages

  • Jupyter Notebook 54.1%
  • Python 45.7%
  • Other 0.2%