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

gzip $i
tar -rvf bbp.m.giop.${i:4:4}.tar $i.gz

done

tar -tvf bbp.m.giop.${i:4:4}.tar

