Download Sentinel-2 data from Microsoft Planetary Computer
Project description
Sentinel Downloader
This Python library allows you to download Sentinel-2 data from Microsoft Planetary Computer.
Installation
pip install -e .
Usage
from sen2p import download
location = [172.1, -43.5]
results = download(
start_date="2023-06-01",
end_date="2023-06-10",
location=location,
bands=["B02", "B03", "B04"],
output_dir="test_outputs",
merge_bands=True,
max_items=3 # download up to 3 images
)
for r in results:
print("Downloaded:", r)
from sen2p import download
# Path to your shapefile
shapefile_path = "Site.shp" # Update with your actual shapefile path
# Call the function
results = download(
start_date="2023-06-01",
end_date="2023-06-30",
location=shapefile_path,
bands=["B02", "B03", "B04"],
output_dir="test_output",
merge_bands=True,
max_items=5 # Download up to 5 matching images
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sen2p-0.0.1.tar.gz
(4.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
sen2p-0.0.1-py3-none-any.whl
(3.9 kB
view details)
File details
Details for the file sen2p-0.0.1.tar.gz.
File metadata
- Download URL: sen2p-0.0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2e313892b15adafc47970b8985a42d0ece5ed17502d89e143bf363a11286537
|
|
| MD5 |
354d19628dc16bfdf967414b73ade8f0
|
|
| BLAKE2b-256 |
137511ac2868b4975891dc3335ae7f6910c9157be65c614f5137be54aa8cfcbf
|
File details
Details for the file sen2p-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sen2p-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a8c4b5610e50561976421c2887ef6691ea2716a4a7d4b68ee2b881ed20de811
|
|
| MD5 |
f76f84dfa7e284b9cd31d7d1026bb64b
|
|
| BLAKE2b-256 |
7ee622026c1df3509bc72eb6f39c7ba4ded7cb6e71b4c1855d91fe9376595a19
|