S2DL is a Python library for downloading Sentinel-2 L1C satellite imagery data.
Project description
S2DL - Sentinel 2 Downloader
S2DL is a Python library for downloading Sentinel-2 L1C satellite imagery data.
Features
- Download Sentinel-2 product data using product IDs
Installation
You can install the S2DL library via pip:
pip install s2dl
Usage
Here's a simple usage example:
from s2dl import fetch_single_sentinel_product
from pathlib import Path
product_id = "S2B_MSIL1C_20190523T150729_N0207_R082_T18MZA_20190523T183104"
target_directory = Path("./data")
# Fetch and save a single Sentinel-2 product's data
scene_dir = fetch_single_sentinel_product(product_id, target_directory)
For downloading multiple products:
from s2dl import fetch_multiple_sentinel_products
from pathlib import Path
product_ids = [
"S2B_MSIL1C_20190523T150729_N0207_R082_T18MZA_20190523T183104",
"S2A_MSIL1C_20230712T032521_N0509_R018_T52WFD_20230712T051642",
]
target_directory = Path("./data")
# Fetch and save multiple Sentinel-2 products' data
scene_dirs = fetch_multiple_sentinel_products(product_ids, target_directory)
Contributions
We welcome contributions from the community. Please submit a pull request with your improvements or bug fixes.
License
S2DL is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
s2dl-0.2.tar.gz
(4.5 kB
view details)
Built Distribution
s2dl-0.2-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file s2dl-0.2.tar.gz
.
File metadata
- Download URL: s2dl-0.2.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22aec87f3d45456b92083030c2577c40146fd931712247d249f53889959e3e8d |
|
MD5 | 7ad9923c8d456d075e338f333d8650bf |
|
BLAKE2b-256 | 1de0a1131216240eab6eb7fcb713e1ca2a327e6b3a28926b84fd67397c5d762f |
File details
Details for the file s2dl-0.2-py3-none-any.whl
.
File metadata
- Download URL: s2dl-0.2-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a535ec27ca1fd955771b3cbade0aea814b0921f80ae3d23259caee6923793a04 |
|
MD5 | 43a98bd05f3964cea18aab304deb18a8 |
|
BLAKE2b-256 | 651135234c95b2bc61bd38eccd6b83a205c36130f8163a68fa76f5e317d026d9 |