Copyright: © 2019, Geoscience Australia.
Version: 0.0.1
Datacube Alchemst is a command line application for performing Dataset -> Dataset transformations in the context of an Open Data Cube system.
It uses a configuration file which specifies an input Product, a transformation to perform, and output parameters and destination.
Features
- Writes output a Cloud Optimised GeoTIFFs
- Easily run within a Docker Container
- Parallelism using AWS SQS queues
- Write output data to S3
- Generates
eo3format dataset metadata, along with processing information - Configurable thumbnail generation
- Pass any command line options as Environment Variables
You can build the docker image locally with Docker or Docker Compose. The commands are
docker build --tag opendatacube/datacube-alchemist . or docker-compose build.
There's a Python setup file, so you can do pip3 install . in the root folder. You will
need to ensure that the Open Data Cube and all its dependencies happily install though.
To run some example processes you can use the Docker Compose file to create a local workspace. To start the workspace and run an example, you can do the following:
make upordocker-compose upto start the postgres and datacube-alchemist Docker containersmake initdbto initialise the ODC database (or see the Makefile for the specific command)make metadatawill add theeo-plusmetadata that the Sentinel-2 example product needsmake productwill add the Sentinel-2 product definitionmake add-one-scenewill index a single Sentinel-2 scene for us to processmake run-one-fcormake run-one-wofswill process a single Fractional Cover or Water Observations from Space scene and output the results to/tmp/alchemistlocally
Apache License 2.0