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

-128

parent 4602acdd
......@@ -46,7 +46,7 @@ do
fi
BOX=$(python3 "$HOME/git/GeoSentinel/geosentinel/polygonToBox.py" "$3")
echo $BOX
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video_ndvi/$fileout2"_"$fileout1".jpg"
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale -128 128 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video_ndvi/$fileout2"_"$fileout1".jpg"
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