Skip to content

EarthObservation/s2-composite

Repository files navigation

s2-composite

A collection of routines for compositing Sentinel-2 images.

composite_s2gm.py

Algorithm for compositing Sentinel-2 images based on the S2GM Algorithm. The algorithm is currently set up for processing images processed with STORM.

Main features:

  • Each pixel is an actual observed pixel selected from all possible observations (not mean, etc.)
  • Custom time interval (best results for monthly or seasonal time span)
  • Set geographical extents at input
  • Spatial resolution: 10m or 20m
  • Using two different methods for compositing:
    • Short Term Composit (STC) for <4 valid pixels
    • Medoid for >= 4 valid pixels

S2GM website: https://s2gm.sentinel-hub.com/

composite_s2gm_parallel.py

Parallelised version of composite_s2gm.py (using concurent.futures module for processing on multiple cores).

composite_s2gm.py

Initial version of the compositing algorithm. Processing on single core, very slow. (REMOVE WHEN FINISHED)

composite.py

Early version of the algorithm, based on the mosaicking algorithm for PROBA-V written by Klemen Cotar. Much faster then S2GM but doesn't select an actual pixel, i.e. each band is processed separately from each other.

tif_to_jpg.py

A quick routine to obtain RGB preview of a GeTIFF.

z_find_pth.py

Used for development. (REMOVE WHEN FINISHED)

z_time_rasterio.py

Used for development. (REMOVE WHEN FINISHED)

Travinje_Mura-2017_report_final.pdf

Technical report: Testing of the compositing algorithm for Sentinel-2 products

Releases

No releases published

Packages

No packages published

Languages