Book contents
- Frontmatter
- Contents
- Preface
- Using your personal computer for astronomy
- DEFAULT: default value input routnine & YESNO: ‘Y’ or ‘N’ input routine
- MINSEC: converts between decimal hours/degrees and minutes/seconds form
- JULDAY: calendar date to Julian day number since 1900 January 0.5
- CALDAY: Julian day number since 1900 January 0.5 to calendar date
- TIME: converts between local civil and sidereal times
- EQHOR: converts between equatorial and horizon coordinates
- HRANG: converts between right ascension and hour angle
- OBLIQ: calculates the value of the obliquity of the ecliptic
- NUTAT: finds corrections for nutation in longitude and obliquity
- EQECL: converts between equatorial and ecliptic coordinates
- EQGAL: converts between equatorial and galactic coordinates
- GENCON: converts between any of the coordinate systems
- PRCESS1: approximate precession of equatorial coordinates & PRCESS2: rigorous precession of equatorial coordinates
- PARALLX: converts between geocentric and apparent position
- REFRACT: calculates the effect of atmospheric refraction
- RISET: finds the circumstances of rising and setting
- ANOMALY: solves Kepler's equation for elliptical motion
- SUN: finds the ecliptic coordinates of the Sun
- SUNRS: finds the circumstances of sunrise and sunset
- PELMENT: returns the orbital elements of the major planets
- PLANS: finds the position of a planet
- MOON: finds the position and parallax of the Moon
- MOONRS: finds the circumstances of moonrise and moonset
- MOONNF: finds the times of new and full moon
- ECLIPSE: finds the circumstances of lunar and solar eclipses
- DISPLAY: displays an eclipse in graphical form
- ELOSC: finds positions from osculating elliptical elements
- RELEM: converts elliptic orbital elements from one epoch to another
- PCOMET: finds the position of a comet from parabolic elements
- PFIT: finds parabolic elements from observations & EFIT: finds elliptical elements from observations
- List of variables
- Bibliography
- Index
- PROGRAMS AVAILABLE ON DISK
SUNRS: finds the circumstances of sunrise and sunset
Published online by Cambridge University Press: 17 February 2010
- Frontmatter
- Contents
- Preface
- Using your personal computer for astronomy
- DEFAULT: default value input routnine & YESNO: ‘Y’ or ‘N’ input routine
- MINSEC: converts between decimal hours/degrees and minutes/seconds form
- JULDAY: calendar date to Julian day number since 1900 January 0.5
- CALDAY: Julian day number since 1900 January 0.5 to calendar date
- TIME: converts between local civil and sidereal times
- EQHOR: converts between equatorial and horizon coordinates
- HRANG: converts between right ascension and hour angle
- OBLIQ: calculates the value of the obliquity of the ecliptic
- NUTAT: finds corrections for nutation in longitude and obliquity
- EQECL: converts between equatorial and ecliptic coordinates
- EQGAL: converts between equatorial and galactic coordinates
- GENCON: converts between any of the coordinate systems
- PRCESS1: approximate precession of equatorial coordinates & PRCESS2: rigorous precession of equatorial coordinates
- PARALLX: converts between geocentric and apparent position
- REFRACT: calculates the effect of atmospheric refraction
- RISET: finds the circumstances of rising and setting
- ANOMALY: solves Kepler's equation for elliptical motion
- SUN: finds the ecliptic coordinates of the Sun
- SUNRS: finds the circumstances of sunrise and sunset
- PELMENT: returns the orbital elements of the major planets
- PLANS: finds the position of a planet
- MOON: finds the position and parallax of the Moon
- MOONRS: finds the circumstances of moonrise and moonset
- MOONNF: finds the times of new and full moon
- ECLIPSE: finds the circumstances of lunar and solar eclipses
- DISPLAY: displays an eclipse in graphical form
- ELOSC: finds positions from osculating elliptical elements
- RELEM: converts elliptic orbital elements from one epoch to another
- PCOMET: finds the position of a comet from parabolic elements
- PFIT: finds parabolic elements from observations & EFIT: finds elliptical elements from observations
- List of variables
- Bibliography
- Index
- PROGRAMS AVAILABLE ON DISK
Summary
Routine RISET (3100) calculates the local sidereal times and azimuths of a celestial body given its right ascension and declination as input parameters. We may combine this routine with SUN (3400) and EQECL (2000) to calculate the right ascension and declination of the Sun on any given date, and hence the circumstances of sunrise and sunset. The procedure is complicated, however, by the fact that the Sun is not stationary in the sky with respect to the background of stars but moves by about 1 degree of ecliptic longitude per day. The calculated circumstances of rising and setting would be correct for an object at the Sun's position at the given instant, but would not correspond exactly with the observed circumstances of sunrise or sunset unless we had chosen the correct time already. We therefore have to adopt an iterative procedure, refining an initial crude estimate to achieve the required accuracy.
Routine SUNRS first calculates the Sun's right ascension and declination at local midday of the date in question, and hence the local sidereal times of rising and setting corresponding to the Sun's position at midday. The times are then corrected for the observer's longitude to find the Greenwich sidereal times, and converted to universal times using routine TIME. These times are already fair approximations to the actual times of rising and setting.
- Type
- Chapter
- Information
- Astronomy with your Personal Computer , pp. 123 - 130Publisher: Cambridge University PressPrint publication year: 1990