{ "info": { "author": "Simone Murzilli; Guido Barbaglia", "author_email": "geobrickspy@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "[![PyPI version](https://badge.fury.io/py/GeobricksMODIS.svg)](http://badge.fury.io/py/GeobricksMODIS)\n[![Build Status](https://travis-ci.org/geobricks/geobricks_modis.svg)](https://travis-ci.org/geobricks/geobricks_modis)\n\nGeobricks MODIS\n===============\nThe MODIS plug-in for the Geobricks downloader provides methods to filter the MODIS FTP based on the product code, the datetime and the geographic area. As istance, the following represents the list of MODIS tiles covering Angola for the MOD13Q1 product on January 1st 2002:\n```json\n[\n {\n \"file_name\": \"MOD13Q1.A2012001.h19v09.005.2012019104600.hdf\",\n \"size\": \"196646026\",\n \"file_path\": \"ftp://ladsweb.nascom.nasa.gov/allData/5/MOD13Q1/2012/001/MOD13Q1.A2012001.h19v09.005.2012019104600.hdf\",\n \"label\": \"H 19, V 09 (196.65 MB)\"\n },\n {\n \"file_name\": \"MOD13Q1.A2012001.h19v10.005.2012019104816.hdf\",\n \"size\": \"192004771\",\n \"file_path\": \"ftp://ladsweb.nascom.nasa.gov/allData/5/MOD13Q1/2012/001/MOD13Q1.A2012001.h19v10.005.2012019104816.hdf\",\n \"label\": \"H 19, V 10 (192.0 MB)\"\n },\n {\n \"file_name\": \"MOD13Q1.A2012001.h20v09.005.2012019103646.hdf\",\n \"size\": \"217254791\",\n \"file_path\": \"ftp://ladsweb.nascom.nasa.gov/allData/5/MOD13Q1/2012/001/MOD13Q1.A2012001.h20v09.005.2012019103646.hdf\",\n \"label\": \"H 20, V 09 (217.25 MB)\"\n },\n {\n \"file_name\": \"MOD13Q1.A2012001.h20v10.005.2012019104512.hdf\",\n \"size\": \"240262517\",\n \"file_path\": \"ftp://ladsweb.nascom.nasa.gov/allData/5/MOD13Q1/2012/001/MOD13Q1.A2012001.h20v10.005.2012019104512.hdf\",\n \"label\": \"H 20, V 10 (240.26 MB)\"\n }\n]\n```\nInstallation\n============\nThe plug-in is distributed through PyPi and can be installed by typing the following command in the console:\n```\npip install geobricksmodis\n```\nExamples\n========\nGet products list\n-----------------------\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nproducts = c.list_products()\n```\nGet available years\n-------------------\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nyears = c.list_years('MOD13A2')\n```\nGet available days\n------------------\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\ndays = c.list_days('MOD13A2', '2010')\n```\nGet available layers\n--------------------\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers('MOD13A2', '2010', '001')\n```\nGet a subset of layers\n----------------------\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers_subset('MOD13A2', '2010', '001', 5, 7, 3, 9)\n```\nGet layers by country GAUL code\n-------------------------------\nThis method retrieves the list of MODIS tiles for the given product, year and day, filtered by the country GAUL code. The example below gets the layers of Afghanistan (`1`) and Angola (`8`).\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers_countries_subset_gaul('MOD13A2', '2010', '001', '8,1')\n```\nGet layers by country ISO2 code\n-------------------------------\nThis method retrieves the list of MODIS tiles for the given product, year and day, filtered by the country ISO2 code. The example below gets the layers of Italy (`it`) and France (`FR`). Codes can be either lower or upper case.\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers_countries_subset_iso2('MOD13A2', '2010', '001', 'it,FR')\n```\nGet layers by country ISO3 code\n-------------------------------\nThis method retrieves the list of MODIS tiles for the given product, year and day, filtered by the country ISO3 code. The example below gets the layers of Italy (`ita`) and France (`FRA`). Codes can be either lower or upper case.\n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers_countries_subset_iso3('MOD13A2', '2010', '001', 'ITA,fra')\n```\nGet layers by country code\n-------------------------------\nThe previous methods can be used in combined way: layers can be filtered by means of GAUL (`8`), ISO3 (`ITA`) and ISO2 (`fr`) codes. \n```python\nfrom geobricks_modis.core import modis_core as c\n\n\nlayers = c.list_layers_countries_subset('MOD13A2', '2010', '001', '8,ITA,fr')\n```", "description_content_type": null, "docs_url": "https://pythonhosted.org/GeobricksMODIS/", "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/GeobricksMODIS/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "GeobricksMODIS", "package_url": "https://pypi.org/project/GeobricksMODIS/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/GeobricksMODIS/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/GeobricksMODIS/" }, "release_url": "https://pypi.org/project/GeobricksMODIS/0.1.7/", "requires_dist": null, "requires_python": null, "summary": "MODIS plug-in for Geobricks downloader.", "version": "0.1.7" }, "last_serial": 1587929, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "d982b29a328f0eef9c616fae7b157367", "sha256": "8004329daf7d3998836eda5206408236584a1b51e55e9dd82da10d52ad098de8" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d982b29a328f0eef9c616fae7b157367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17394, "upload_time": "2014-10-27T10:42:41", "url": "https://files.pythonhosted.org/packages/cd/22/f142994490ad3fb0dd1092f4138a6aa218659c75ee9f4ecf3834f9786417/GeobricksMODIS-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "882a2b6366a50e202e62a80ec6bbdbb9", "sha256": "be98d35581a1755f60a76925d7e8f5206691548b7707240947fadf1faa011c74" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.1.tar.gz", "has_sig": false, "md5_digest": "882a2b6366a50e202e62a80ec6bbdbb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28722, "upload_time": "2014-10-27T12:20:38", "url": "https://files.pythonhosted.org/packages/7b/fb/7e0839b4f9ffd34843222027fe47a86559dc395d857c89ae947b6cf181df/GeobricksMODIS-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "e77b9420de0a7d288fb749cc05d13136", "sha256": "ca3afae4533e171e3ae5215bb657a54bff60755fd6eed4514c77524acea603d5" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.2.tar.gz", "has_sig": false, "md5_digest": "e77b9420de0a7d288fb749cc05d13136", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30170, "upload_time": "2014-10-29T15:27:59", "url": "https://files.pythonhosted.org/packages/89/6b/4725c0cd5872c4888fdbeb23b3dadf11f5d698e5497fedf2d01bf1d5a317/GeobricksMODIS-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a127ca1022df4250821fb0d922e33d19", "sha256": "fa388a70050503a6c014187b7b375077eab829efdc83f49e2e7b19f809e2f776" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.3.tar.gz", "has_sig": false, "md5_digest": "a127ca1022df4250821fb0d922e33d19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37137, "upload_time": "2014-10-30T13:34:00", "url": "https://files.pythonhosted.org/packages/f7/41/c20f1df65a446a8018dcbf71e19528bbd38e102991413bc1b28f986ab85a/GeobricksMODIS-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "943404cf28717b0e5ba444a3acf8c3f8", "sha256": "c476dccd309ef6a0fbc50a10c2e0675009ab21b3f29051a3504af72fe684e0e2" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.4.tar.gz", "has_sig": false, "md5_digest": "943404cf28717b0e5ba444a3acf8c3f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37179, "upload_time": "2014-11-03T13:38:26", "url": "https://files.pythonhosted.org/packages/19/e1/7714eb98517fd7dfbcce87904f44c0b7e4a57519b3a047953776f2969465/GeobricksMODIS-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "0913061eff782cd28f88f0176a37b487", "sha256": "9b02a382a9b6025dcf7398862509ef4564602b37497a9a1b0a8969ae5b6f1ef6" }, "downloads": -1, "filename": "GeobricksMODIS-0.1.5.tar.gz", "has_sig": false, "md5_digest": "0913061eff782cd28f88f0176a37b487", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37525, "upload_time": "2014-11-14T10:51:48", "url": "https://files.pythonhosted.org/packages/0b/b4/98161e3828fdcfc60b625911d994b29c3a35f5f0de1044aef22f1aed7ba5/GeobricksMODIS-0.1.5.tar.gz" } ], "0.1.6": [], "0.1.7": [] }, "urls": [] }