Astronomical Sunrise is the time when the upper limb (the edge of the Sun) appears for the first moment. Similarly, the Sunset is the time of its disappearance.
Astrologically, a Sunrise is when the Sun's Madhya Limb or middle disk rises above the eastern horizon. In addition, Vedic astrology ignores the refraction of the Sun's rays.