Commit 08d6c9f9 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb

parent e8d97f49
......@@ -9,16 +9,16 @@ cd $PRODCUTSDIR
for f in $(find . -type f -name '*.zip')
do
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B"
filepattern=L2A$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_"
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"TCI.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 -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