bakaano.tree_cover

Fractional vegetation cover preparation from MODIS VCF.

Role: Download and preprocess tree/herbaceous cover rasters.

class bakaano.tree_cover.TreeCover(working_dir, study_area, start_date, end_date)[source]

Bases: object

get_tree_cover_data()[source]

Download and preprocess tree and herbaceous cover rasters.

Returns:

None. Writes mean cover rasters to {working_dir}/vcf.

plot_tree_cover(variable='tree_cover')[source]

Plot mean vegetation cover.

Parameters:

variable (str) – 'tree_cover' or 'herb_cover'.

Returns:

None. Displays a matplotlib plot.