L1C to L2A

parent 25e96044
......@@ -4,7 +4,7 @@ POLYGON=$2 #Crop Window
JOBS=${3:-1}
BOX=$(polygonToBox.py "$POLYGON" 1)
if [ "$#" -le 1 ]; then
echo "Usage " $0 " <Parent Directory with subdirectories> <POLYGON> [jobs]"
exit
......@@ -12,7 +12,7 @@ fi
cd $JP2DIR
mkdir merge_out
ls -d */ | parallel -q --jobs $JOBS mergeImages.sh {} "$POLYGON"
ls -d */ | parallel -q --jobs $JOBS mergeImages.sh {} "$BOX"
find . -name *.xml -type f -delete
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