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

rgb 10m

parent 9281afdd
......@@ -12,12 +12,12 @@ do
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B"
filename=$JP2DIR$filepattern
echo $filename
# if [ ! -e $filename"02.jp2" -o ! -e $filename"03.jp2" -o ! -e $filename"04.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.jp2 *B03.jp2 *B04.jp2 -d $JP2DIR
# else
# echo PASS $f
# fi
unzip -n -j $f *B02_10m.jp2 *B03_10m.jp2 *B04_10m.jp2 -d $JP2DIR
else
echo PASS $f
fi
#
# 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