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

links

parent 998a842d
......@@ -16,26 +16,26 @@ echo $FILEilePrefix
echo $outDir
if [ ! -d $outDir ]; then
mkdir $outDir
fi
if [ ! -e $FILEilePrefix"TCI_10m.jp2" -o ! -e $FILEilePrefix"TCI_20m.jp2" -o ! -e $FILEilePrefix"SCL_20m.jp2" ]; then
unzip -n -j $FILE *TCI_10m.jp2 *TCI_20m.jp2 *SCL_20m.jp2 -d $JP2DIR$dateText
TCI10m=$outDir"L2A_"$FILEilepattern"TCI_10m.jp2"
TCI20m=$outDir"L2A_"$FILEilepattern"TCI_20m.jp2"
SCL20m=$outDir"L2A_"$FILEilepattern"SCL_20m.jp2"
if [ -e $TCI10m ]; then
mv $TCI10m $FILEilePrefix"TCI_10m.jp2"
fi
if [ -e $TCI20m ]; then
mv $TCI20m $FILEilePrefix"TCI_20m.jp2"
fi
if [ -e $SCL20m ]; then
mv $SCL20m $FILEilePrefix"SCL_20m.jp2"
fi
else
echo PASS $FILE
fi
#fi
#if [ ! -e $FILEilePrefix"TCI_10m.jp2" -o ! -e $FILEilePrefix"TCI_20m.jp2" -o ! -e $FILEilePrefix"SCL_20m.jp2" ]; then
# unzip -n -j $FILE *TCI_10m.jp2 *TCI_20m.jp2 *SCL_20m.jp2 -d $JP2DIR$dateText
# TCI10m=$outDir"L2A_"$FILEilepattern"TCI_10m.jp2"
# TCI20m=$outDir"L2A_"$FILEilepattern"TCI_20m.jp2"
# SCL20m=$outDir"L2A_"$FILEilepattern"SCL_20m.jp2"
# if [ -e $TCI10m ]; then
# mv $TCI10m $FILEilePrefix"TCI_10m.jp2"
# fi
# if [ -e $TCI20m ]; then
# mv $TCI20m $FILEilePrefix"TCI_20m.jp2"
# fi
# if [ -e $SCL20m ]; then
# mv $SCL20m $FILEilePrefix"SCL_20m.jp2"
# fi
#else
# echo PASS $FILE
#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