Commit 76cdbe22 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

date directory

parent a1c33d82
......@@ -11,10 +11,11 @@ for f in $(find . -type f -name '*.zip')
do
#S2A_MSIL2A_20170515T162341_N0205_R040_T16QBJ_20170515T163103.zip
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_" #T16QBJ_20170515T162341_
filename=$JP2DIR$filepattern
fileout1=$(echo $filepattern | cut -d"_" -f1) #T16QBJ
fileout2=$(echo $filepattern | cut -d"_" -f2) #20170515T162341
dateText=$(echo $fileout2 | cut -d"T" -f1) #20170515
filename=$JP2DIR$dateText"/"$filepattern
echo $filename
echo $JP2DIR$dateText
......@@ -55,7 +56,7 @@ do
## wktToShape.py "$POLYGON" myShape.shp
## gdal_rasterize -b 1 -b 2 -b 3 -burn 10 -burn 200 -burn 10 -l wtk myShape.shp $OUTIMG
## rm myShape.*
rm myShape.*
### convert rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg" -resize 640x480\! rgb/$fileout1/$fileout2"_"$fileout1".jpg"
### rm rgb/$fileout1/$fileout2"_"$fileout1"_t.jpg"
## fi
......
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