Measuring the the diameter of the Sun