Getting Started


You need to run the following commands from the command line prior to launching jupyter notebook from the same terminal so that the required libraries and paths are set.

module use /g/data/v10/public/modules/modulefiles

module load dea

First we need to define how we display plots in our notebooks:

%matplotlib inline

We use pandas.DataFrame objects to display our tables, so we will set some settings to tweak their formatting:

import pandas
pandas.set_option('display.max_colwidth', 200)
pandas.set_option('display.max_rows', None)

Now we load the datacube library:

import datacube

Create our datacube object, with a name to help for logging.

dc = datacube.Datacube(app='getting-started')

By default, it will connect to the main Digital Earth environment at NCI:


Now we can query the dc object. The basic API is as follows -

.. currentmodule:: datacube .. autosummary:: Datacube Datacube.list_products Datacube.list_measurements Datacube.load