for i in bbp_s.$1*hdf
do
echo $i
echo ${i:6:4}

gzip $i
tar -rvf bbp_s.v.${i:6:4}.tar $i.gz

done

tar -tvf bbp_s.v.${i:6:4}.tar

