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

gzip $i
tar -rvf cbpm.v.${i:5:4}.tar $i.gz

done

tar -tvf cbpm.v.${i:5:4}.tar

