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

rgb

parent 8e159c52
...@@ -12,13 +12,13 @@ do ...@@ -12,13 +12,13 @@ do
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B" filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B"
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"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 # unzip -n -j $f *B02_10m.jp2 *B03_10m.jp2 *B04_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