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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d21db99848e0a67b01e7b7542e5a1e2fdc014b76ac0119cb521ddea34e36db0e |
|
MD5 | 0193e00fb8d07ea9e4b15bc8a71f9e6e |
|
BLAKE2b-256 | 53882bbca1973c66ff600c2eb13d0461d8b84ae93e3ef02b1fd92ed07b1a3700 |
Close
Hashes for usgs_product_finder-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a49b925ead9bb72efe6595b76e14f32c2c47808395dbba14bb98ceefe5e973 |
|
MD5 | 43b1f8c1f502b55f5bcf32f5e697f2ec |
|
BLAKE2b-256 | 89058622c4ee50ee47a116b9234e7e8a3d86766135e53fa9977b07fc01462592 |