Frequently Used Code
A recipe book of simple code examples demonstrating how to perform common geospatial analysis tasks using DE Africa and open-source software.
- Run analyses on multiple polygons
- Generating animated time series using
xr_animation
- Applying WOfS Bitmasking
- Calculating band indices
- Calculating band indices with Spyndex package
- Cloud and pixel quality masking for Landsat
- Extracting contour lines
- Downloading and streaming data using STAC metadata
- Exporting Cloud-Optimised GeoTIFFs
- Generating continental animated time series using
xr_animation
- Generating composite images
- Generating GeoMAD composites
- Image segmentation
- Displaying satellite imagery on a web map
- Integrating external data from a CSV
- Exporting to Google Drive from the Sandbox
- Principal component analysis for multi-spectral data
- Rasterising vectors & vectorising rasters
- Reprojecting datacube and raster data
- Combining satellite data with tidal modelling using OTPS
- Using
load_ard
to load and cloud mask multiple satellite sensors - Working with time in xarray
These notebooks can also be found in your home folder on the sandbox, or accessed from GitHub at: