Commit 49d14770 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb

parent 857c577b
...@@ -55,7 +55,7 @@ do ...@@ -55,7 +55,7 @@ do
if [ ! -e $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1".jpg" ]; then if [ ! -e $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1".jpg" ]; then
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG $filename"TCI_10m.jp2" $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1"10m.jpg" gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $filename"TCI_10m.jp2" $JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1"_10m.jpg"
## convert rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg" ## convert rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg"
## rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" ## rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
fi fi
......
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