usgs-product-finder


Nameusgs-product-finder JSON
Version 0.0.5 PyPI version JSON
download
home_page
SummaryUSGS Finder Utility that finds USGS datasets based on a user input
upload_time2023-10-19 10:14:07
maintainer
docs_urlNone
authorIvica Matic
requires_python
license
keywords usgs landsat satellite
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# usgs-product-finder-pypi

Simple utility to find USGS Landsat products by AOI provided as WKT or shapely object.

## Installation

```bash
pip3 install usgs-product-finder
```

## Usage

```python
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))


```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "usgs-product-finder",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "usgs,landsat,satellite",
    "author": "Ivica Matic",
    "author_email": "<ivica.matic@spatialdays.com>",
    "download_url": "https://files.pythonhosted.org/packages/98/e7/ca85266a9a89039ad7e11da0833e6a15cea21569fffbc846b1a58f1a6d89/usgs_product_finder-0.0.5.tar.gz",
    "platform": null,
    "description": "\n# usgs-product-finder-pypi\n\nSimple utility to find USGS Landsat products by AOI provided as WKT or shapely object.\n\n## Installation\n\n```bash\npip3 install usgs-product-finder\n```\n\n## Usage\n\n```python\nfrom usgs_product_finder import UsgsProductFinder\n\n# Initialize finder\nusgs_product_finder = UsgsProductFinder()\n# You can also specify a path where to download the products and\n# maximum age of the files in days\n\n# usgs_product_finder = UsgsProductFinder(\n#                       path_for_usgs_data=\"/home/user/usgs-product-finder\", \n#                       max_age_of_usgs_data=7)\n\n\n# define aoi in wkt\naoi_wkt = \"\"\"MULTIPOLYGON (((-175 -12,-179.99999 -12,-179.99999 -20,-175 -20,-175 -12)), ((175 -12,179.99999\n    -12,179.99999 -20,175 -20,175 -12))) \"\"\"\n    \n# find products\npandas_obj = (usgs_product_finder.find_products_via_wkt(aoi_wkt, 8, minimal_output=False))\nlist_of_dicts = (usgs_product_finder.find_products_via_wkt(aoi_wkt, 8, minimal_output=True))\n\n\n```\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "USGS Finder Utility that finds USGS datasets based on a user input",
    "version": "0.0.5",
    "project_urls": null,
    "split_keywords": [
        "usgs",
        "landsat",
        "satellite"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "324c5cc4c9a8262c1a11d230beb25ab21be89bc3c48f8d8d871401b64110c048",
                "md5": "629ec113abce773f613882a0339c75b6",
                "sha256": "fbe5b46c74d5081cc7871a3b784fe2f397f2f88647e019ba9b8d5a33678d80e8"
            },
            "downloads": -1,
            "filename": "usgs_product_finder-0.0.5-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "629ec113abce773f613882a0339c75b6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5712277,
            "upload_time": "2023-10-19T10:14:05",
            "upload_time_iso_8601": "2023-10-19T10:14:05.391133Z",
            "url": "https://files.pythonhosted.org/packages/32/4c/5cc4c9a8262c1a11d230beb25ab21be89bc3c48f8d8d871401b64110c048/usgs_product_finder-0.0.5-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "98e7ca85266a9a89039ad7e11da0833e6a15cea21569fffbc846b1a58f1a6d89",
                "md5": "f65a46c06f1fc7f73fcfd435a152d9c0",
                "sha256": "fbf15c01cd8ff954e29fbb9db68ec1ffce66e161f599ef38db11f0c381d61bcc"
            },
            "downloads": -1,
            "filename": "usgs_product_finder-0.0.5.tar.gz",
            "has_sig": false,
            "md5_digest": "f65a46c06f1fc7f73fcfd435a152d9c0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 5672335,
            "upload_time": "2023-10-19T10:14:07",
            "upload_time_iso_8601": "2023-10-19T10:14:07.779939Z",
            "url": "https://files.pythonhosted.org/packages/98/e7/ca85266a9a89039ad7e11da0833e6a15cea21569fffbc846b1a58f1a6d89/usgs_product_finder-0.0.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-19 10:14:07",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "usgs-product-finder"
}
        
Elapsed time: 0.13473s