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

parallel

parent 1236cd97
...@@ -15,7 +15,7 @@ cd $INPUTDIR/L2A ...@@ -15,7 +15,7 @@ cd $INPUTDIR/L2A
# cd $INPUTDIR/L2A # cd $INPUTDIR/L2A
# echo $f # echo $f
ls ../L1C/*.zip | parallel --jobs 8 L1CToL2A.sh ls ../L1C/*.zip | parallel --jobs 12 L1CToL2A.sh
# ls ../L1C/*.zip | parallel --jobs 8 echo # ls ../L1C/*.zip | parallel --jobs 8 echo
# Z1=$(echo $f | cut -d "_" -f1) # Z1=$(echo $f | cut -d "_" -f1)
......
...@@ -16,7 +16,7 @@ if [ ! -e $L2A.zip ]; then ...@@ -16,7 +16,7 @@ if [ ! -e $L2A.zip ]; then
DIRNAME=$(echo $filename | cut -d "/" --complement -f1,2) DIRNAME=$(echo $filename | cut -d "/" --complement -f1,2)
DIRNAME=$(echo $DIRNAME | cut -d "." -f1).SAFE DIRNAME=$(echo $DIRNAME | cut -d "." -f1).SAFE
# echo "DIRNAME: "$DIRNAME # echo "DIRNAME: "$DIRNAME
# L2A_Process $DIRNAME L2A_Process $DIRNAME
# zip -r $L2A.zip $L2A.SAFE/ # zip -r $L2A.zip $L2A.SAFE/
# rm -r $L2A.SAFE/ # rm -r $L2A.SAFE/
......
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