e.g, where do you get your sunrise number from?
Sunrise and sunset. For computational purposes, sunrise
or sunset is defined to occur when the geometric zenith
distance of center of the Sun is 90.8333 degrees. That
is, the center of the Sun is geometrically 50
arcminutes below a horizontal plane. For an observer at
sea level with a level, unobstructed horizon, under
average atmospheric conditions, the upper limb of the
Sun will then appear to be tangent to the horizon. The
50-arcminute geometric depression of the Sun's center
used for the computations is obtained by adding the
average apparent radius of the Sun (16 arcminutes) to
the average amount of atmospheric refraction at the
horizon (34 arcminutes).
see also http://aa.usno.navy.mil/faq/docs/RST_defs.html
and http://www.join.org.au/shabbat/derivati.htm
Logged In: YES
user_id=634811
You can have a look at
http://www.kosherjava.com/zmanim/docs/api/ for extensive
documentation on zmanim calculations that can be used
Hebcal. The JavaDocs are for the Java API of the Zmanim
project http://sourceforge.net/projects/zmanim (or
http://zmanim.sourceforge.net/ )
Have a look at the documentation for AstronomicalCalculator
among others. In that class you will also find
getElevationAdjustment that documents how to adjust zmanim
for elevation. This can probably easily be added to Hebcal.