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

GDAL_PAM_ENABLED=NO

parent 97ed2dd5
...@@ -45,11 +45,11 @@ do ...@@ -45,11 +45,11 @@ do
mkdir video_ndvi mkdir video_ndvi
fi fi
echo $3 echo $3
BOX=$(python3 "$HOME/git/GeoSentinel/geosentinel/polygonToBox.py" "$3") # BOX=$(python3 "$HOME/git/GeoSentinel/geosentinel/polygonToBox.py" "$3")
echo $BOX # echo $BOX
set GDAL_PAM_ENABLED=NO # set GDAL_PAM_ENABLED=NO
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 255 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video_ndvi/$fileout2"_"$fileout1".jpg" # gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 255 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video_ndvi/$fileout2"_"$fileout1".jpg"
set GDAL_PAM_ENABLED=YES # set GDAL_PAM_ENABLED=YES
cd .. cd ..
done done
......
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