USGS Finder Utility that finds USGS datasets based on a user input
Project description
usgs-product-finder-pypi
Simple utility to find USGS Landsat products by AOI provided as WKT or shapely object.
Installation
pip3 install usgs-product-finder
Usage
from usgs_product_finder import UsgsProductFinder
# Initialize finder
usgs_product_finder = UsgsProductFinder()
# You can also specify a path where to download the products and
# maximum age of the files in days
# usgs_product_finder = UsgsProductFinder(
# path_for_usgs_data="/home/user/usgs-product-finder",
# max_age_of_usgs_data=7)
# define aoi in wkt
aoi_wkt = """MULTIPOLYGON (((-175 -12,-179.99999 -12,-179.99999 -20,-175 -20,-175 -12)), ((175 -12,179.99999
-12,179.99999 -20,175 -20,175 -12))) """
# find products
pandas_obj = (usgs_product_finder.find_products_via_wkt(aoi_wkt, 8, minimal_output=False))
list_of_dicts = (usgs_product_finder.find_products_via_wkt(aoi_wkt, 8, minimal_output=True))
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
Built Distribution
File details
Details for the file usgs_product_finder-0.0.5.tar.gz
.
File metadata
- Download URL: usgs_product_finder-0.0.5.tar.gz
- Upload date:
- Size: 5.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbf15c01cd8ff954e29fbb9db68ec1ffce66e161f599ef38db11f0c381d61bcc |
|
MD5 | f65a46c06f1fc7f73fcfd435a152d9c0 |
|
BLAKE2b-256 | 98e7ca85266a9a89039ad7e11da0833e6a15cea21569fffbc846b1a58f1a6d89 |
File details
Details for the file usgs_product_finder-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: usgs_product_finder-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbe5b46c74d5081cc7871a3b784fe2f397f2f88647e019ba9b8d5a33678d80e8 |
|
MD5 | 629ec113abce773f613882a0339c75b6 |
|
BLAKE2b-256 | 324c5cc4c9a8262c1a11d230beb25ab21be89bc3c48f8d8d871401b64110c048 |