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

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

done

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

