Skip to main content

sentinel2_downloader

Overview

sentinel2_downloader is a Python library that allows you to search, download, and retrieve metadata of Sentinel satellite images from the Copernicus Data Space.

Features

  • Search for Sentinel satellite images based on various parameters such as footprint, date range, product type, cloud cover percentage, and platform name.

  • Download Sentinel satellite images using their product IDs.

  • Save downloaded images to the specified directory.

  • Display a progress bar during the download process, showing the download speed, elapsed time, and percentage of completion.

Installation

You can install sentinel2_downloader using pip:

pip install sentinel2_downloader

Usage

Here’s an example of how to use sentinel2_downloader:

from sentinel2_downloader import SentinelAPI

# Create an instance of the SentinelAPI
api = SentinelAPI(username='your_username', password='your_password')

# Perform a search for Sentinel satellite images
products = api.query(footprint='POLYGON((longitude1 latitude1, longitude2 latitude2, longitude3 latitude3, ...))',
start_date='2020-01-01', end_date='2020-01-31', cloud_cover_percentage='20', product_type='MSIL1C',
platform_name='SENTINEL-2')
if len(products) > 1:
    for product in products:
        # Download the images
        a = api.download(product_id=product['Id'], directory_path='output')
Args:
  • footprint (str): The footprint to define the geographic area of interest. It should be in the Well-Known Text (WKT) format.

  • start_date (str): The start date of the data acquisition period in the format ‘yyyy-mm-dd’.

  • end_date (str): The end date of the data acquisition period in the format ‘yyyy-mm-dd’.

  • product_type (str): The type of Sentinel product to query.

  • cloud_cover_percentage (str): The maximum cloud cover percentage allowed.

  • platform_name (str): The name of the Sentinel platform.

Metadata

Release files for sentinel2-downloader 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for sentinel2-downloader 1.0.0
File Interpreter ABI Platform Actions
sentinel2_downloader-1.0.0-py3-none-any.whl Python 3 none any Details for sentinel2_downloader-1.0.0-py3-none-any.whl

Release files / sentinel2_downloader-1.0.0-py3-none-any.whl

Download URL sentinel2_downloader-1.0.0-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1408fedc98cf8aeec563b821ee705999f7394c3aeacdad2eddb6f1838fb061bd
BLAKE2b-256 checksum
How to use checksums
c17dc6b2f322e6129be4cb8122b7b2991d9565626b4164022d5fde96d2d9840e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for sentinel2-downloader 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page