dea_tools.app.crophealth

This file contains functions for loading and interacting with data in the crop health notebook, inside the Real_world_examples folder.

Available functions:

load_crophealth_data run_crophelath_app

Last modified: August 2023

Functions

load_crophealth_data()

Loads Sentinel-2 analysis-ready data (ARD) product for the crop health case-study area.

run_crophealth_app(ds)

Plots an interactive map of the crop health case-study area and allows the user to draw polygons.

dea_tools.app.crophealth.load_crophealth_data()[source]

Loads Sentinel-2 analysis-ready data (ARD) product for the crop health case-study area. The ARD product is provided for the last year. Last modified: January 2020

outputs ds - data set containing combined, masked data from Sentinel-2a and -2b. Masked values are set to ‘nan’

dea_tools.app.crophealth.run_crophealth_app(ds)[source]

Plots an interactive map of the crop health case-study area and allows the user to draw polygons. This returns a plot of the average NDVI value in the polygon area. Last modified: January 2020

inputs ds - data set containing combined, masked data from Sentinel-2a and -2b. Must also have an attribute containing the NDVI value for each pixel