Commit 15af5e2f authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

links

parent 92150274
......@@ -50,7 +50,7 @@ sentinel.downloadProducts(products,".")
```
```bash
merida = "POLYGON((-89.99450683593753 21.279137394108716,-89.13757324218751 21.2996106049456,-89.30236816406251 20.68418377935238,-90.0494384765625 20.715015145512098,-89.99450683593753 21.279137394108716))"
merida="POLYGON((-89.99450683593753 21.279137394108716,-89.13757324218751 21.2996106049456,-89.30236816406251 20.68418377935238,-90.0494384765625 20.715015145512098,-89.99450683593753 21.279137394108716))"
BOX=$(python3 $HOME/GeoSentinel/geosentinel/polygonToBox.py "$merida")
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG filein.tiff fileout.jpg
```
......@@ -85,7 +85,7 @@ L2AProductListExtractData.sh /home/geoint/NAS/sentinelImages/ /home/geoint/senti
```
## Find Local Products(`geosentinel/findProducts.py`)
This script
### Dependencies
......@@ -95,7 +95,7 @@ L2AProductListExtractData.sh /home/geoint/NAS/sentinelImages/ /home/geoint/senti
### Example
```bash
findProducts.py "POLYGON((-89.62955474853516 21.05230266883862,-89.55093383789061 21.05230266883862,-89.52930450439452 20.965126493194475,-89.6484375 20.873408465645696,-89.72877502441405 20.95294341625548,-89.65805053710938 21.056788298627097,-89.62955474853516 21.05230266883862))" 20181001 20181101 Sentinel-2 30 /home/geoint/NAS/sentinelImages/L2A/ /home/geoint/NAS/merida/
```
......
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