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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 762b3570f37a1a8de0dc2ef50fb4c130649d4c989665ac6262c26d99fcc3e78b |
|
MD5 | b00ba9ed927893b5db08cb5153367827 |
|
BLAKE2b-256 | 3234b67e0a191f80b18869702e15350362245cfe9ca02bf021a11b02c1eb3be9 |
Close
Hashes for usgs_product_finder-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0159ed6da0a8de042c160457e0cd9e542012b7f3d08f3fc8632accfc20eaddd |
|
MD5 | 69133c5f9c9e305d968b5ab84db35f7f |
|
BLAKE2b-256 | c2e05397a10b5a9198008bf9f8d75b9ee2bc57593684fb1a43e408c6185ec6a4 |