Skip to content

Google Earth Engine scrip to filter, visualise and batch download Landsat 4-9 Collection 2 Tier 1 Top-of-Atmosphere (TOA) multispectral satellite imagery.

Notifications You must be signed in to change notification settings

tomosglaciology/Landsat_filter_export

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 

Repository files navigation

🌍 Google Earth Engine Landsat 4–9 Filter and Batch Export

This repository contains a Google Earth Engine (GEE) script to filter, visualise, and batch download Landsat 4–9 Collection 2 Tier 1 Top-of-Atmosphere (TOA) multispectral satellite imagery over a defined area and time range.

Co-developed with iamdonovan.
Our script uses batch produced by fitoprincipe.

Open the script directly in Google Earth Engine:
https://code.earthengine.google.com/9aa0d9d54eac80b62b687770207727c0


Features

  • Filters Landsat 4–9 imagery by:

    • Geometry
    • Date range (start and end year, month, day)
    • Image cloud cover %
    • Land cloud cover %
    • WRS path and row
  • Renames bands across different Landsat sensors for consistency.

  • Displays both false-color and true-color composites for quick visualisation.

  • Exports filtered ImageCollection to Google Drive using batch.


Requirements

  • Google Earth Engine account
  • The following Earth Engine user modules:
    • users/tomosdanielmorgan/EarthObservation:Landsats
    • users/fitoprincipe/geetools:batch
  • A defined geometry variable (either drawn or uploaded in GEE).
  • (Optional) A defined WRS path/row.

Usage

  1. Open the Google Earth Engine Code Editor.
  2. Paste the contents of landsat_example into a new script or click a direct link to Google Earth Engine above.
  3. Define your area of interest (AOI) by setting a geometry variable.
  4. Modify data filters and WRS path/row parameters to match your AOI.

Filtering Options with funcs

A summary of the filtering functions available in the funcs module, and the associated Landsat data availability:

Function Description Data Availability
funcs.allLandsat Filters Landsat 4–9 1982 – Present
funcs.NewLandsat Filters Landsat 8 and 9 2013 – Present
funcs.EarlyLandsat Filters Landsat 4, 5, and 7 1982 – 2025 (See individual data availability below)
funcs.Landsat4 Filters only Landsat 4 1982 – 1993
funcs.Landsat5 Filters only Landsat 5 1984 – 2013
funcs.Landsat7 Filters only Landsat 7 1999 – 2025 (Scan Line Corrector failure after May 2003)
funcs.Landsat8 Filters only Landsat 8 2013 – Present
funcs.Landsat9 Filters only Landsat 9 2021 – Present

Resources

About

Google Earth Engine scrip to filter, visualise and batch download Landsat 4-9 Collection 2 Tier 1 Top-of-Atmosphere (TOA) multispectral satellite imagery.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published