Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update Jan 2014: since timelib_astro_rise_set_altitude() subtracts 16

arcminutes to account for the apparent radius of the sun ("upper limb
correction"), we should use 34 minutes and not 50 mintues here
  • Loading branch information...
commit bbba291b7ac9c16a141637287079640db517f146 1 parent ee79ce3
@mjradwin authored
Showing with 6 additions and 2 deletions.
  1. +1 −1  c/configure.ac
  2. +5 −1 c/hebcal.c
View
2  c/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
-AC_INIT(hebcal,4.15.1,hebcal-bugs@sadinoff.com)
+AC_INIT(hebcal,4.15.2,hebcal-bugs@sadinoff.com)
AC_CONFIG_SRCDIR([common.c])
dnl #AM_INIT_AUTOMAKE([no-dependencies check-news])
AM_INIT_AUTOMAKE
View
6 c/hebcal.c
@@ -170,8 +170,12 @@ void PrintGregDate( date_t dt )
* atmospheric refraction at the horizon (34 arcminutes).
*
* http://aa.usno.navy.mil/faq/docs/RST_defs.php
+ *
+ * Update Jan 2014: since timelib_astro_rise_set_altitude() subtracts 16
+ * arcminutes to account for the apparent radius of the sun ("upper limb
+ * correction"), we should use 34 minutes and not 50 mintues here.
*/
-#define SUNRISE_SUNSET_ALTITUDE ((double)(-50.0/60.0))
+#define SUNRISE_SUNSET_ALTITUDE ((double)(-34.0/60.0))
static void get_rise_set(date_t todayGreg, double *h_rise, double *h_set, double *gmt_offset)
{
Please sign in to comment.
Something went wrong with that request. Please try again.