Commit 245cf414 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

L2

parent 995a2207
......@@ -17,14 +17,15 @@ do
Z2=$(echo $f | cut -d "_" -f3,4,5,6,7 | cut -d "." -f1)
ZIPFILE=$Z1_MSIL2A_$Z2.zip
echo $ZIPFILE
if [ ! -e $ZIPFILE ]; then
unzip ../L1C/$f
DIRNAME=$(echo $f | cut -d "." -f1,2)
echo $DIRNAME
L2A_Process $DIRNAME.SAFE
L2A=$(ls -d S2*_MSIL2A* -t |head -1)
L2A=$(echo $L2A | cut -d "." -f1)
zip -r $L2A.zip $L2A.SAFE/
# unzip ../L1C/$f
# DIRNAME=$(echo $f | cut -d "." -f1,2)
# echo $DIRNAME
# L2A_Process $DIRNAME.SAFE
# L2A=$(ls -d S2*_MSIL2A* -t |head -1)
# L2A=$(echo $L2A | cut -d "." -f1)
# zip -r $L2A.zip $L2A.SAFE/
break
# rm -r *.SAFE
fi
......
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