Skip to contents

Make a workspace

Creating a folder structure to get you started.

make_folders()
A Function to create folders for user data

Vegetation density products

Creating and masking vegetation density products.

veg_dens()
A function to turn vegetation index raster data into a vegetation density raster for further analysis.
general_mask()
A function to apply common masks to rasters
make_mask()
A function to create a cloud mask from a shapefile
cloud_mask()
A function to apply cloud masks to rasters.

Vegetation classification

Vegetation classification and getting area statistics.

veg_class()
A function to perform vegetation classifications
veg_class_area()
A function to calculate vegetation classification area for reporting.
veg_dens_class_plot()
A function to generate a stacked bar chart for mangrove density classes.

Trend classification

Trend classification and getting area statistics.

trend_class()
A function for calculating trend and trend class rasters.
trend_class_area()
A function to calculate trend class classification area for reporting.

Change in extent

Calculation of change in vegetation extent and creation of change rasters.

extent_change()
A function to calculate area of extent change and generate change rasters for reporting.
extent_change_plot()
A function to generate a stacked bar chart for mangrove change summaries.

Helper functions

Set up processing folders and make example data.

make_folders()
A Function to create folders for user data
make_example_data()
A function to set up example data for practice
make_index_rasters()
A function to create a folder and set up example index data