Commit 1a023a04 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

links

parent 00526979
...@@ -23,14 +23,15 @@ cd $DIR ...@@ -23,14 +23,15 @@ cd $DIR
DIRNAME=$(echo $DIR | cut -d"/" -f1) DIRNAME=$(echo $DIR | cut -d"/" -f1)
echo $DIRNAME echo $DIRNAME
if [ ! -e $DIRNAME".tif" ]; then if [ ! -e $DIRNAME"TCI_10m_merged.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"TCI_10m_merged.tif" FOUND
fi fi
cd ..
# gdal_merge.py -o ../$DIRNAME".tif" $(ls *TCI_10m.jp2) # gdal_merge.py -o ../$DIRNAME".tif" $(ls *TCI_10m.jp2)
#if [ ! -e $dir".jp2" ]; then #if [ ! -e $dir".jp2" ]; then
......
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