Measurements and variations of the solar diameter