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
Close
Hashes for usgs_product_finder-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74d8f3d5ce9b81f25194e30a1498b2acf4cffa33d638b6c2328cbb93cc859e49 |
|
MD5 | 70d73cbc66e443b5967eebfc346a9b7d |
|
BLAKE2b-256 | f28599093d1cf47968618db8d23db703ce37525649ddbca6b15848ec9bccccfa |
Close
Hashes for usgs_product_finder-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e6638568c7de18896066e7528899477e80dcb2657ad4c1419552892eef385a1 |
|
MD5 | 319437f0998c7497cbc59aaee1c946f8 |
|
BLAKE2b-256 | 61ca886f4e4c3c73674fb1dfa0ec72772b0949b84e9f4b2ff0d9767a7c467772 |