Commit 971c76ac authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

parallel

parent 8b215384
#!/bin/sh #!/bin/sh
#Convert L1C Products to L2A using L2A_Process #Convert L1C Products to L2A using L2A_Process
INPUTDIR=$1 #Top directory with a L1C Subirectory INPUTDIR=$1 #Top directory with a L1C Subirectory
JOBS=$(2:-1) JOBS=${2:-1}
if [ "$#" -ne 1 ]; then if [ "$#" -ne 1 ]; then
echo "Usage " $0 " <Directory with a L1C Subirectory> [jobs]" echo "Usage " $0 " <Directory with a L1C Subirectory> [jobs]"
exit exit
......
...@@ -23,7 +23,7 @@ do ...@@ -23,7 +23,7 @@ do
fi fi
if [ ! -e $filfilePrefixename"TCI_10m.jp2" ]; then if [ ! -e $filfilePrefixename"TCI_10m.jp2" ]; then
unzip -n -j $f *TCI_10m.jp2 *TCI_20m.jp2 *SCL_20m.jp2-d $outDir/ unzip -n -j $f *TCI_10m.jp2 *TCI_20m.jp2 *SCL_20m.jp2 -d $outDir/
TCI10m=$outDir"/L2A_"$filepattern"TCI_10m.jp2" TCI10m=$outDir"/L2A_"$filepattern"TCI_10m.jp2"
TCI20m=$outDir"/L2A_"$filepattern"TCI_20m.jp2" TCI20m=$outDir"/L2A_"$filepattern"TCI_20m.jp2"
SCL20m=$outDir"/L2A_"$filepattern"SCL_20m.jp2" SCL20m=$outDir"/L2A_"$filepattern"SCL_20m.jp2"
......
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