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

rgb

parent 8e159c52
......@@ -12,13 +12,13 @@ do
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B"
filename=$JP2DIR$filepattern
echo $filename
if [ ! -e $filename"02_10m.jp2" -o ! -e $filename"03_10m.jp2" -o ! -e $filename"04_10m.jp2" ]; then
# if [ ! -e $filename"02_10m.jp2" -o ! -e $filename"03_10m.jp2" -o ! -e $filename"04_10m.jp2" ]; then
unzip -n -j $f *B02_10m.jp2 *B03_10m.jp2 *B04_10m.jp2 -d $JP2DIR
else
echo PASS $f
fi
break
# unzip -n -j $f *B02_10m.jp2 *B03_10m.jp2 *B04_10m.jp2 -d $JP2DIR
# else
# echo PASS $f
# fi
# break
#
# cd $JP2DIR
# red=$(ls $filepattern"04.jp2" -t |head -1)
......
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