Commit 024e0b27 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

find products

parent 16363b2d
......@@ -6,7 +6,7 @@ BOX=$(polygonToBox.py "$POLYGON")
cd $DIR
ls *.jp2 | parallel gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG {} {}_
ls *.jp2 | parallel --jobs 4 gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG {} {}_
DIRNAME=$(echo $DIR | cut -d"/" -f1)
echo $DIRNAME
......
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