More Advanced Data Cube Usage

Interactive Crop Health

In this notebook you will learn about an interactive way of doing time series analysis of field, to understand the status of crops.

This notebook will require a number of external Python modules to run, which will be imported at the top of the notebook as his convention.

As we have been showed in other notebooks, we need to initialise a datacube instance in order to have access to the Data Cube, and this can be done as follows:

We need to define our area of interest and this can be done, either specifying the minimum and maximum latitude and longitude, or defining the centre coordinates plus a buffer; which will be the number of square degrees to load around the central latitude and longitude.

Define a query to load the data from the datacube

Load data from the already made NDVI 10-day product. You can change this so that you can do time series analysis on other datasets.

Now we can run the crop_health function available in dcFunctions.

As arguments you have to pass:

If you want to use an RGB layer from the KDC then you will first need to load the data and then pass it to the crop_health function.

Now that you load the data from the KDC, you can pass to crop_health as an additional argument.

Joomla3 Appliance - Powered by TurnKey Linux