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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9750653b25da0de17a4a591324a499174121fea6ec8f6b32858174ce0fb51f68 |
|
MD5 | 6326e94db50e77285ad65800c693601a |
|
BLAKE2b-256 | 0ae2463d25ed4fddd4a9552486aec29242bf46494850c48e431a9b23a74adca5 |
Close
Hashes for usgs_product_finder-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc865577c4c74c9421742883ca5b2c41e552b33a513729890d07cc3f411e3a7c |
|
MD5 | 79236c80edda807f892b36d70e7d085b |
|
BLAKE2b-256 | 283110ca5b5f292eb52dc9967308e6ce41de1ffd7c286dd7c5574eecd052313e |