Advertisement

Installing the ODC Cube in a Box

Installing the ODC Cube in a Box A video run-through of the process of installing the Cube in a Box reference install Open Data Cube.
Detailed instructions of the process are available here:
Get started with Docker here:
Download the Cube in a Box set-up here:
Download the USGS Pathrows here:

Read the ODC documentation:
Read more about Cube in a Box:

You will need to provide your own AWS keys to access Landsat 8 PDS Data on AWS.
How to get AWS Keys: Create or login into an AWS account, and create an access key:

Commands:
docker-compose up
Creates the Docker containers, as defined in docker-compose.yaml

docker-compose exec jupyter datacube -v system init
Initialises the datacube, using the datacube api

docker-compose exec jupyter datacube product add /opt/odc/docs/config_samples/dataset_types/ls_usgs.yaml
Adds the product definitions contained within the ls_usgs.yaml file - of note here is the Landsat-8 Collections 1 definition.

docker-compose exec jupyter bash -c "cd /opt/odc/scripts && python3 ./autoIndex.py -p '/opt/odc/data/wrs2_descending.zip' -e '146.30,146.83,-43.54,-43.20'"
Combines several steps to index the extent defined with " -e '146.30,146.83,-43.54,-43.20'" ". This tells the datacube how to access the Landsat 8 Data on AWS. The extent listed here is in this region:

Ensure to enter each command as a single line!

ODC,Remote Sensing,Earth Observation,yt:cc=on,Open Data Cube,

Post a Comment

0 Comments