This repository contains a collection of reusable functions for processing and analyzing satellite imagery and remote sensing products using the Google Earth Engine (GEE) JavaScript code editor. The goal is to ease model covariate extraction and reproducability by sharing working functions.
Function to get annual landcover data from High-resolution Annual Forest Land Cover Maps for Canada's Forested Ecosystems (1984-2019)
Calculate the Topographic Wetness Index (TWI) for a given area of interest.
where:
- α is the upslope drainage area
- β is the slope
Load and combine global canopy height and its standard deviation into a single image for a given area of interest.
This script loads multiple geomorphometric variables from the Geomorpho90m dataset, mosaics them, clips them to a specified area of interest (aoi), and combines them into a single multiband image.
Functions to calculate various spectral indices from Landsat imagery, such as NDVI, EVI, and NDWI.
Function to process a time series of Landsat 5, 7, 8, and 9 images, calculate indices, and merge composite indices into a single collection.
Functions to calculate spectral indices from Sentinel-2 imagery.
Function to process a time series of Sentinel-2 images, calculate indices, and merge them into a single collection.
Assorted utility functions e.g.:
- convert degrees to radians
- combine lists of images into a single multi-band image
- create time intervals
- normalize images
- summarize image collections to points
- summarize images to points