Commit 1fd53c4b authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

ndvi sh p3

parent de49e1e1
...@@ -42,7 +42,7 @@ do ...@@ -42,7 +42,7 @@ do
if [ ! -d "video" ]; then if [ ! -d "video" ]; then
mkdir video mkdir video
fi fi
BOX = $(python3 "$HOME/git/GeoSentinel/geosentinel/getWKTPolygonBoundingBox.py" $3) BOX = $(python3 "$HOME/git/GeoSentinel/geosentinel/polygonToBox.py" $3)
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video/$fileout2"_"$fileout1".jpg" gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video/$fileout2"_"$fileout1".jpg"
cd .. cd ..
......
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