for i in sst.*hdf
do
#echo $i
echo ${i:4:4}

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

done

tar -tvf sst.m.${i:4:4}.tar

