Skip to content

DPIRD-DMA/Sentinel-2-capture-frequency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentinel-2-capture-frequency

Overview

This tool, developed in Python, analyzes the frequency of Sentinel-2 satellite scene coverages. It integrates the extent polygons from the Microsoft Planetary Computer to produce a global raster. Each pixel in this raster reflects the number of observations of that location in Sentinel-2 scenes.

Heat map of the Sentinel-2 revisit frequency

While you can run this locally, for optimal performance, it is recommended to run this tool within the Planetary Computer Hub, as most processing time involves network requests to the Planetary Computer. Learn more about the Planetary Computer here: Planetary Computer Hub.

Features

  • Accessing and utilizing Sentinel-2 index data from Microsoft Planetary Computer.
  • Combining and rasterizing satellite scene coverage polygons.
  • Generating a global raster map to visualize satellite coverage.

Installation

Ensure Python is installed on your system and then install the necessary dependencies.

Dependencies

  • geopandas
  • rasterio
  • pystac
  • tqdm

Install these packages via pip:

pip install geopandas rasterio pystac tqdm
git clone https://github.com/DPIRD-DMA/Sentinel-2-capture-frequency

Usage

Follow these steps to use the tool:

  1. Define Parameters: Set the geographical bounds and the time frame for your analysis.
  2. Data Processing: The tool processes the Sentinel-2 index data, combining scene extents into a global raster map.
  3. Export Results: Outputs are saved as a GeoTIFF file, showing the satellite coverage areas.

Example:

from helpers.coordinator import build_revisit_raster

build_revisit_raster(
    export_path='output.tif',
    resolution=0.00278,
    min_year=2023,
    max_year=2023,
)

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published