A package for acquiring and processing Planet images
Project description
Planet Image Download Using Planet API
This Github repository helps to dowload the planet scope image using the api provided by planet scope.
How to use this package
Clone this repository and use it like example below: We need three things to use the package:
- Spatial extent or bounding box
- Dates (dates is in list, we provide base year and target year )
- Planet Api Key
from planet_image_acquisition.planet_image_acquisition import get_planet_image
spatial_extent = (120.527,16.342,120.652,16.464) # xmin,ymin,xmax,ymax
dates = [2018,2019] # Should be provided in list format
api = '' # Provide the planet api key for your account
base,target=get_planet_image(spatial_extent,dates,api)
Temporal Resolution for Planet Scope Image
We can download planet scope image from the year 2018. For the year 2018 and 2019, we can only download 6 months composite. For 2020 we can download planet image of 6 monthe composite (2019-12_2020-05), 2 months composite (2020-06_2020-08),and all other from this point is a one month composite
Years and Image composite for the respective year is given as below. One should provide dates like below inorder to download planet image. I this package we only provide the year other logic is handled in date_logic python file.
Year | Image Composite |
---|---|
2018 | 2017-12_2018-05, 2018-06_2018-11 |
2019 | 2018-12_2019-05, 2019-06_2019-11 |
2020 | 2019-12_2020-05, 2020-06_2020-08, 2020-09, 2020-10, 2020-11, 2020-12 |
2021 | 2021-01, 2021-02, 2021-03, .... , 2021-12 |
2022 | 2022-01, 2022-02, 2022-03, .... , 2022-12 |
2023 | 2023-01, 2023-02, 2023-03, .... , 2023-12 |
2024 | 2024-01, 2024-02, 2024-03, .... , 2024-12 |
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
Built Distribution
File details
Details for the file planet_download-0.2.tar.gz
.
File metadata
- Download URL: planet_download-0.2.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c8d17c74ccdf23905ddc5f0f2213fd27a3185ced44be17702c2fc8cd731f0d3 |
|
MD5 | a270176f7f179da2855e070761d65a0b |
|
BLAKE2b-256 | b8690961b50bf59ddf353b51a57297d4e8a3b178eb1045e58188258a66acb46d |
File details
Details for the file planet_download-0.2-py3-none-any.whl
.
File metadata
- Download URL: planet_download-0.2-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd62620d3dd2c24ca14af58f6512559e252f7a816174a6454c593ab87d8c0f3e |
|
MD5 | 40fcfb4426606d1a3e0f7d1019abc718 |
|
BLAKE2b-256 | 1b6166eb188a1b46e8be5064acfc1c791d50cd9a68ec5d2a37796f24bc853e65 |