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

ndvi

parent c0a14be1
...@@ -19,14 +19,9 @@ do ...@@ -19,14 +19,9 @@ do
filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B" filepattern=$(echo $f | cut -d"_" -f6)"_"$(echo $f | cut -d"_" -f3)"_B"
filename=$JP2DIR$filepattern filename=$JP2DIR$filepattern
echo $filename echo $filename
if [ ! -e $filename$B1".jp2" ]; then if [ ! -e $filename$B1".jp2" -o ! -e $filename$B2".jp2" ]; then
unzip -n -j $f *B$B1".jp2" -d $JP2DIR unzip -n -j $f *B$B1".jp2" *B$B2".jp2" -d $JP2DIR
fi
if [ ! -e $filename$B2".jp2" ]; then
unzip -n -j $f *B$B2".jp2" -d $JP2DIR
fi fi
...@@ -61,7 +56,7 @@ do ...@@ -61,7 +56,7 @@ do
# fi # fi
# #
# cd $PRODCUTSDIR cd $PRODCUTSDIR
done done
#cd $JP2DIR"/video_ndvi" #cd $JP2DIR"/video_ndvi"
......
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