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

parallel

parent b7d96346
...@@ -6,12 +6,12 @@ BOX=$(polygonToBox.py "$POLYGON") ...@@ -6,12 +6,12 @@ BOX=$(polygonToBox.py "$POLYGON")
DIRNAME=$(echo $DIR | cut -d"/" -f1) DIRNAME=$(echo $DIR | cut -d"/" -f1)
echo $DIRNAME echo $DIRNAME
#if [ ! -e $DIRNAME".tif" ]; then if [ ! -e $DIRNAME".tif" ]; then
# cd $DIR cd $DIR
# echo "gdal_merge.py -o ../"$DIRNAME".tif" $(ls *.jp2) echo "gdal_merge.py -o ../"$DIRNAME".tif" $(ls *.jp2)
# gdal_merge.py -o ../$DIRNAME".tif" $(ls *.jp2) # gdal_merge.py -o ../$DIRNAME".tif" $(ls *.jp2)
# cd .. cd ..
#fi fi
#if [ ! -e $dir".jp2" ]; then #if [ ! -e $dir".jp2" ]; then
# gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $dir".tif" $dir".jp2" # gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $dir".tif" $dir".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