rgb update

parent 4afd7acf
...@@ -47,8 +47,9 @@ do ...@@ -47,8 +47,9 @@ do
if [ ! -e rgb/$fileout1/$fileout2"_"$fileout1".jpg" ]; then if [ ! -e rgb/$fileout1/$fileout2"_"$fileout1".jpg" ]; then
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG rgb/$fileout2"_"$fileout1".tiff" rgb/$fileout1/$fileout2"_"$fileout1".jpg" gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG rgb/$fileout2"_"$fileout1".tiff" rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
convert rgb/$fileout1/$fileout2"_"$fileout1".jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" convert rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg"
rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
fi fi
cd $PRODCUTSDIR cd $PRODCUTSDIR
......
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