bakaano.ndvi

NDVI climatology preparation from MODIS.

Role: Download and preprocess NDVI time series for the study area.

class bakaano.ndvi.NDVI(working_dir, study_area, start_date, end_date)[source]

Bases: object

get_ndvi_data()[source]

Download and preprocess NDVI to a daily climatology.

Returns:

None. Writes daily_ndvi_climatology.pkl to {working_dir}/ndvi.

plot_ndvi(interval_num)[source]

Plot a 16-day median NDVI raster by interval index.

Parameters:

interval_num (int) – Index of the 16-day interval (0-22).

Returns:

None. Displays a matplotlib plot.