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

rgb

parent e8d97f49
...@@ -9,16 +9,16 @@ cd $PRODCUTSDIR ...@@ -9,16 +9,16 @@ cd $PRODCUTSDIR
for f in $(find . -type f -name '*.zip') for f in $(find . -type f -name '*.zip')
do 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 filename=$JP2DIR$filepattern
echo $filename 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 unzip -n -j $f *B02_10m.jp2 -d $JP2DIR
# else else
# echo PASS $f echo PASS $f
# fi fi
# break break
# #
# cd $JP2DIR # cd $JP2DIR
# red=$(ls $filepattern"04.jp2" -t |head -1) # 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