L1C to L2A

parent cb0250ed
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
DIR=$1 #Output filename DIR=$1 #Output filename
POLYGON=$2 #Crop Window POLYGON=$2 #Crop Window
BOX=$(polygonToBox.py "$POLYGON") #BOX=$(polygonToBox.py "$POLYGON")
BOX=$POLYGON
##------------------------------------------------------------------------------ ##------------------------------------------------------------------------------
cd $DIR cd $DIR
DIRNAME=$(echo $DIR | cut -d"/" -f1) DIRNAME=$(echo $DIR | cut -d"/" -f1)
......
...@@ -4,7 +4,7 @@ POLYGON=$2 #Crop Window ...@@ -4,7 +4,7 @@ POLYGON=$2 #Crop Window
JOBS=${3:-1} JOBS=${3:-1}
BOX=$(polygonToBox.py "$POLYGON" 1) BOX=$(polygonToBox.py "$POLYGON")
if [ "$#" -le 1 ]; then if [ "$#" -le 1 ]; then
echo "Usage " $0 " <Parent Directory with subdirectories> <POLYGON> [jobs]" echo "Usage " $0 " <Parent Directory with subdirectories> <POLYGON> [jobs]"
exit exit
......
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