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

gzip $i
tar -rvf vgpm.m.${i:5:4}.tar $i.gz

done

tar -tvf vgpm.m.${i:5:4}.tar

