Commit fc4c5e73 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

readme MD

parent 95a4f558
...@@ -21,12 +21,13 @@ sudo apt-get install libgdal-dev ...@@ -21,12 +21,13 @@ sudo apt-get install libgdal-dev
``` ```
### Example ### Example
```python ```python
from geosentinel import APISentinel
sentinel = APISentinel('username', 'password') sentinel = APISentinel('username', 'password')
products = sentinel.getProducts("POLYGON((-89.99450683593753 21.279137394108716,-89.13757324218751 21.2996106049456,-89.30236816406251 20.68418377935238,-90.0494384765625 20.715015145512098,-89.99450683593753 21.279137394108716))", ('20151219', date(2015,12,29)), {"platformname":"Sentinel-2"}) products = sentinel.getProducts("POLYGON((-89.99450683593753 21.279137394108716,-89.13757324218751 21.2996106049456,-89.30236816406251 20.68418377935238,-90.0494384765625 20.715015145512098,-89.99450683593753 21.279137394108716))", ('20151219', date(2015,12,29)), {"platformname":"Sentinel-2"})
print len(products) print len(products)
sentinel.downloadProducts(products,".") sentinel.downloadProducts(products,".")
``` ```
## Download ## Download Tool
## L2A Products ## L2A Products
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment