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

links

parent ef36b04a
...@@ -17,7 +17,7 @@ BOX=$(polygonToBox.py "$POLYGON") ...@@ -17,7 +17,7 @@ BOX=$(polygonToBox.py "$POLYGON")
# echo $DIRNAME".tif" FOUND # echo $DIRNAME".tif" FOUND
#fi #fi
#cd $DIR cd $DIR
#ls *.jp2 | parallel gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG {} {}_ #ls *.jp2 | parallel gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG {} {}_
#cd .. #cd ..
...@@ -26,7 +26,7 @@ echo $DIRNAME ...@@ -26,7 +26,7 @@ echo $DIRNAME
if [ ! -e $DIRNAME".tif" ]; then if [ ! -e $DIRNAME".tif" ]; then
cd $DIR cd $DIR
echo "gdal_merge.py -o ../"$DIRNAME"TCI_10m.tif" $(ls *TCI_10m.jp2) echo "gdal_merge.py -o ../"$DIRNAME"TCI_10m.tif" $(ls *TCI_10m.jp2)
gdal_merge.py -o ../$DIRNAME"TCI_10m_merged.tif" $(ls *TCI_10m.jp2) gdal_merge.py -o $DIRNAME"TCI_10m_merged.tif" $(ls *TCI_10m.jp2)
cd .. cd ..
else else
echo PASSING $DIRNAME".tif" FOUND echo PASSING $DIRNAME".tif" FOUND
......
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