Skip to content

Automatization of ESA Sentinel-3 images query and download

License

Notifications You must be signed in to change notification settings

Prikaziuk/S3_loader

Repository files navigation

Sentinel-3 images download

This script automates the per-point search and download of ESA Sentinel-3 images.

An interactive documentation can be found on https://s3-loader.readthedocs.io/

A CODECHECK certificate is available confirming that the computations underlying the article could be independently reproduced: CODECHECK

Sources of data:

Requirements

python -m pip install requests requests library https://requests.readthedocs.io/en/master/user/install/

Credentials

DHUS and DAAC require authorization that should be provided in S3_loader/config.py next to the rest of the code:

AUTH = ('username', 'password')
DAAC_API_KEY = 'very-long-chain-of-characters'  # since some time called API_TOKEN by DAAC

DAAC registration

update: since some time DAAC uses tokens, it is just a different name for API KEY

DAAC_API_KEY can be generated on https://ladsweb.modaps.eosdis.nasa.gov/profiles/#generate-token-modal

Two agreements have to be accepted to activate the DAAC_API_KEY:

  1. ESA Sentinel-3 End User License Agreement:
  2. NASA agreement:

Input:

  • product type
  • dates of acquisition
  • coordinates of a point

See example.py for details

User steps:

  1. Query for product names and unique identifiers (uuid)
  2. Download of products:
    • online products - direct parallel download from Copernicus Open Access Hub
    • offline products (Long term archive, LTA) - from LAADS DAAC (if available)
  3. Extract pixels from loaded images:
  4. Database extras:
    • mark offline (LTA) products
    • mark products available at DAAC
    • set "loaded" to avoid double download

Output:

  • SQLite database file with tables:
    1. site: coordinates
      • to keep track of "single coordinates - single database"
    2. products: name, uuid, size:
      • individual table for each product type
  • Downloaded products
  • Text files with extracted pixels

OLCI level-1: Google Earth Engine alternative

Google Earth Engine can do everything that this package does [pixel extraction], but there is only OLCI level-1 collection available https://code.earthengine.google.com/61fe01512385e06b5bc3f65f78bef692?noload=true

Recommendations

The code was used in (Prikaziuk, Yang en Van der Tol, 2021) https://doi.org/10.3390/rs13061098

About

Automatization of ESA Sentinel-3 images query and download

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published