Commit 61b71a60 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

update

parent 3e846506
......@@ -9,7 +9,7 @@ cd $DIR
DIRNAME=$(echo $DIR | cut -d"/" -f1)
echo $DIRNAME
##------------------------------------------------------------------------------
MERGEDIMAGE=$DIRNAME"_TCI_10m_merged.tif"
MERGEDIMAGE=$DIRNAME"_TCI_60m_merged.tif"
if [ ! -e $MERGEDIMAGE ]; then
echo "gdal_merge.py -o "$MERGEDIMAGE $(ls *TCI_10m.jp2)
gdal_merge.py -o $MERGEDIMAGE $(ls *TCI_10m.jp2)
......@@ -17,7 +17,7 @@ else
echo PASSING $MERGEDIMAGE FOUND
fi
CROPEDIMAGE=../merge_out/$DIRNAME"_TCI_10m.tif"
CROPEDIMAGE=../merge_out/$DIRNAME"_TCI_60m.tif"
if [ ! -e $CROPEDIMAGE ]; then
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $MERGEDIMAGE $CROPEDIMAGE
else
......
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