##// END OF EJS Templates
f_
f_

File last commit:

r1370:81f892b894eb merge
r1374:7243e1f8c2ee
Show More
OnlineAmisrSim2.sh
25 lines | 444 B | application/x-sh | BashLexer
#!/bin/bash
echo "Amisr ESF Online simulation"
PATH_IN=/home/soporte/dataAMISR/20191217.003/
PATH_OUT=/home/soporte/dataAMISR_test/20191217.003/
count=0
for f in $PATH_IN*
do
if [ ${f: -3} == ".h5" ]
then
echo "coping $f"
cp ${f} $PATH_OUT
sleep 5m #it takes about 5 minutes to generate new data in AMISR radar
fi
((count=count+1))
if [ $count -eq 21 ] #only transfer 20 files
then
echo " finish simulation"
break
fi
done