<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Loading data from the datacube
This notebook will briefly discuss how to load data from the datacube.
Importing the datacube
To start with, we'll import the datacube module and load an instance of the datacube and call our application name load-data-example.
Step1:  Loading data
Loading data from the datacube uses the load function.
The function takes several arguments
Step2:  Load data via a products native co-ordinate system
By default, the x and y arguments accept queries in a geographical co-ordinate system identified by the EPSG code 4326, which is the same as within Google Earth.
The user can also query via the native co-ordinate system that the product is stored in, and supply the crs argument.
Step3:  Load specific measurements of a given product
Some products have several measurements such as Landsat 5-TM, which for the ls5_nbar_albers product contains the following spectral measurements
Step4:  Additional help can be found by calling help(dc.load)
<ASSISTANT_TASK:>
Python Code:
import datacube
dc = datacube.Datacube(app='load-data-example')
Explanation: Loading data from the datacube
This notebook will briefly discuss how to load data from the datacube.
Importing the datacube
To start with, we'll import the datacube module and load an instance of the datacube and call our application name load-data-example.
End of explanation
data = dc.load(product='ls5_nbar_albers', x=(149.25, 149.5), y=(-36.25, -36.5),
               time=('2008-01-01', '2009-01-01'))
data
Explanation: Loading data
Loading data from the datacube uses the load function.
The function takes several arguments:
* product; A specifc product to load
* x; Defines the spatial region in the x dimension
* y; Defines the spatial region in the y dimension
* time; Defines the temporal extent.
We'll load the Landsat 5-TM, Nadir Bi-directional reflectance ristribution function Adjusted Reflectance, for the spatial region covering:
149.25 -> 149.5 degrees longitude
-36.25 -> -36.5 degrees latitude
and a temporal extent covering:
2008-01-01 -> 2009-01-01
End of explanation
data = dc.load(product='ls5_nbar_albers', x=(1543137.5, 1569137.5), y=(-4065537.5, -4096037.5),
               time=('2008-01-01', '2009-01-01'), crs='EPSG:3577')
data
Explanation: Load data via a products native co-ordinate system
By default, the x and y arguments accept queries in a geographical co-ordinate system identified by the EPSG code 4326, which is the same as within Google Earth.
The user can also query via the native co-ordinate system that the product is stored in, and supply the crs argument.
End of explanation
data = dc.load(product='ls5_nbar_albers', x=(149.25, 149.5), y=(-36.25, -36.5),
               time=('2008-01-01', '2009-01-01'), measurements=['red', 'nir'])
data
Explanation: Load specific measurements of a given product
Some products have several measurements such as Landsat 5-TM, which for the ls5_nbar_albers product contains the following spectral measurements:
blue
green
red
nir
swir1
swir2
In this next example we'll only load the red and nir measurements.
End of explanation
help(dc.load)
Explanation: Additional help can be found by calling help(dc.load)
End of explanation
<END_TASK>