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

date directory

parent a74b3a57
......@@ -18,19 +18,19 @@ do
echo $filename
echo $JP2DIR$dateText
# if [ ! -d $JP2DIR$dateText ]; then
# mkdir $JP2DIR$dateText
# fi
# if [ ! -e $filename"TCI_10m.jp2" ]; then
# unzip -n -j $f *TCI_10m.jp2 -d $JP2DIR$dateText/
# L2ANAME=$JP2DIR$dateText"/L2A_"$filepattern"TCI_10m.jp2"
# if [ -e $L2ANAME ]; then
# mv $L2ANAME $filename"TCI_10m.jp2"
# fi
# else
# echo PASS $f
# fi
if [ ! -d $JP2DIR$dateText ]; then
mkdir $JP2DIR$dateText
fi
if [ ! -e $filename"TCI_10m.jp2" ]; then
unzip -n -j $f *TCI_10m.jp2 -d $JP2DIR$dateText/
L2ANAME=$JP2DIR$dateText"/L2A_"$filepattern"TCI_10m.jp2"
if [ -e $L2ANAME ]; then
mv $L2ANAME $filename"TCI_10m.jp2"
fi
else
echo PASS $f
fi
# RGBCROPED=$JP2DIR"rgbCroped/"
# if [ ! -d $RGBCROPED ]; then
......
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