Skip to content

emissions-api/sentinel5dl

Repository files navigation

Sentinel-5P Downloader

CI Builds Test Coverage GitHub issues MIT license CII Best Practices

The sentinel5dl project consists of a library and a command line tool which provide easy access to emission data products originating from the European Space Agency's Sentinel-5P satellite.

Installation

Install this library using:

%> pip install sentinel5dl

Quick Example (Library)

from sentinel5dl import search, download

# Search for Sentinel-5 products
result = search(
        polygon='POLYGON((7.8 49.3,13.4 49.3,13.4 52.8,7.8 52.8,7.8 49.3))',
        begin_ts='2019-09-01T00:00:00.000Z',
        end_ts='2019-09-17T23:59:59.999Z',
        product='L2__CO____',
        processing_level='L2',
        processing_mode='Offline')

# Download found products to the local folder
download(result.get('products'))

Quick Example (Binary)

Download carbon monoxide sensor data taken between 2019-01-08 and 2019-01-20 to the directory /data using eight workers (eight parallel downloads):

sentinel5dl --worker 8 \
            --begin-ts 2019-01-08 \
            --end-ts 2019-01-20 \
            /data

To show all available options, run:

sentinel5dl -h