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

links

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