{ "info": { "author": "Feng Yin", "author_email": "ucfafyi@ucl.ac.uk", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6" ], "description": "### Feng Yin \n### Department of Geography, UCL \n### ucfafyi@ucl.ac.uk \n \n[![Build Status](https://travis-ci.org/MarcYin/S2_TOA_TO_LAI.svg?branch=master)](https://travis-ci.org/MarcYin/S2_TOA_TO_LAI)\n \nHere, we use [SIAC](https://github.com/multiply-org/atmospheric_correction/) to do \nthe atmospheric correction of Sentinel 2 TOA reflectance, then use inverse emulator \nto retrieve LAI from surface recflectance. These code will automatically download \nSentinel 2 TOA reflectance data from [Copernicus Open Access Hub](https://scihub.copernicus.eu/) \nand do atmospheric correction with SIAC and give per pixel LAI value at 20 meters resolution.\n \n \n## Requirements: \n \n1. A NASA Earthdata username and password and can be applied [here](https://urs.earthdata.nasa.gov).\n2. A Copernicus Open Access Hub username and password and can be applied [here](https://scihub.copernicus.eu/dhus/#/self-registration) \n \n## Installation:\n \n1. Directly from github to get the most up to date version of it: \n```bash \npip install https://github.com/MarcYin/S2_TOA_TO_LAI/archive/master.zip\n``` \n2. Using PyPI (This one is generally related to release)\n```bash \npip install S2-TOA-TO-LAI\n``` \n3. Using anaconda from anaconda for 'better' package managements \n```bash \nconda install -c f0xy -c conda-forge s2-toa-to-lai\n``` \n\nTo save your time for installing GDAL: \n```bash\nconda uninstall gdal libgdal\nconda update --all -c conda-forge\nconda install -c conda-forge gdal>2.1,<2.4\n``` \n \n## Usage\n \n1. Using Sentinel 2 tiles directly:\n```python\nfrom S2_TOA_TO_LAI import TOA2LAI_S2\nTOA2LAI_S2(tiles = ['50SMG'], start='2018-01-02', end='2018-01-03')\n```\n2. Using LatLon (Lat first then Lon) and this can be a 2D list of latlon:\n```python\nfrom S2_TOA_TO_LAI import TOA2LAI_S2\nTOA2LAI_S2(latlon = '35.4, 56.2', start='2018-01-02', end='2018-01-03')\n```\n \n3. Using polygon from string(s) or (a) vector file(s):\n```python \nfrom S2_TOA_TO_LAI import TOA2LAI_S2\naoi = 'POLYGON((115.79984234354565 39.41267418434987,115.81853363330639 39.41267418434987,115.81853363330639 39.42542974293974,115.79984234354565 39.42542974293974,115.79984234354565 39.41267418434987))' # or a vector file \nTOA2LAI_S2(aoi = aoi, start='2018-01-02', end='2018-01-03')\n``` \n \n*You can also specify `cloud_cover` but this may lead to losing of S2 observations due to a bad cloud mask from L1C data*", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/MarcYin/S2_TOA_TO_LAI", "keywords": "", "license": "GNU Affero General Public License v3.0", "maintainer": "", "maintainer_email": "", "name": "S2-TOA-TO-LAI", "package_url": "https://pypi.org/project/S2-TOA-TO-LAI/", "platform": "", "project_url": "https://pypi.org/project/S2-TOA-TO-LAI/", "project_urls": { "Homepage": "https://github.com/MarcYin/S2_TOA_TO_LAI" }, "release_url": "https://pypi.org/project/S2-TOA-TO-LAI/1.0.4/", "requires_dist": null, "requires_python": "", "summary": "From Sentinel 2 TOA to LAI", "version": "1.0.4" }, "last_serial": 4839775, "releases": { "1.0.1": [ { "comment_text": "", "digests": { "md5": "06280b7ff95c7c3001cc088b61fcb588", "sha256": "239e9563c234816430d7d43b007557fcc62a69cdbf27e7356d669298c8e2bfb4" }, "downloads": -1, "filename": "S2_TOA_TO_LAI-1.0.1.tar.gz", "has_sig": false, "md5_digest": "06280b7ff95c7c3001cc088b61fcb588", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49725, "upload_time": "2019-01-28T18:44:42", "url": "https://files.pythonhosted.org/packages/f4/ac/601b99cc18a5a93d077d54fd8d8bd23905a7e437093a5eb77b59bd5a28c9/S2_TOA_TO_LAI-1.0.1.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "8cd4b6a2d61042527eaa7393bd75f2f6", "sha256": "3799f5e10ed3f7f3177541c17a0f78aec1a9845aa3e48e75ae1c78e5bed58f01" }, "downloads": -1, "filename": "S2_TOA_TO_LAI-1.0.3.tar.gz", "has_sig": false, "md5_digest": "8cd4b6a2d61042527eaa7393bd75f2f6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51485, "upload_time": "2019-02-15T13:23:28", "url": "https://files.pythonhosted.org/packages/bc/1f/def8364b0e5312a8ff65ab5bb8a2700fdbe03e965eec98b83a648d7d6ddf/S2_TOA_TO_LAI-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "cc7ab049a1db76dcb1deadf5fe9ad35b", "sha256": "e1b5b0b764a8c43477412a10ac5ca2311e6d4be9883cdea396f3adddd528fe6f" }, "downloads": -1, "filename": "S2_TOA_TO_LAI-1.0.4.tar.gz", "has_sig": false, "md5_digest": "cc7ab049a1db76dcb1deadf5fe9ad35b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52290, "upload_time": "2019-02-19T12:54:07", "url": "https://files.pythonhosted.org/packages/b0/99/cac9239154e05d626716ab094125437e23bdc399ca2043ff86a3998b2760/S2_TOA_TO_LAI-1.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc7ab049a1db76dcb1deadf5fe9ad35b", "sha256": "e1b5b0b764a8c43477412a10ac5ca2311e6d4be9883cdea396f3adddd528fe6f" }, "downloads": -1, "filename": "S2_TOA_TO_LAI-1.0.4.tar.gz", "has_sig": false, "md5_digest": "cc7ab049a1db76dcb1deadf5fe9ad35b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 52290, "upload_time": "2019-02-19T12:54:07", "url": "https://files.pythonhosted.org/packages/b0/99/cac9239154e05d626716ab094125437e23bdc399ca2043ff86a3998b2760/S2_TOA_TO_LAI-1.0.4.tar.gz" } ] }