From 2b9f4ee1c1c6d41d135c3bb8715ad6a78adb9afa Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Fri, 3 Jan 2014 08:28:59 +0000 Subject: [PATCH] SUNRISE_EL: remove upper_limb correction, default in DateTime:Event:Sunrise too git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4537 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/99_SUNRISE_EL.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/FHEM/99_SUNRISE_EL.pm b/FHEM/99_SUNRISE_EL.pm index cc94d631e..f099c0679 100755 --- a/FHEM/99_SUNRISE_EL.pm +++ b/FHEM/99_SUNRISE_EL.pm @@ -183,12 +183,6 @@ _sunrise_sunset($$$$$) # Compute time when Sun is at south - in hours UT my $tsouth = 12.0 - _rev180( $sidtime - $sRA ) / $h; - # Compute the Sun's apparent radius, degrees - my $sradius = 0.2666 / $sr; - - # Do correction to upper limb, if necessary - $altit -= $sradius; - # Compute the diurnal arc that the Sun traverses to reach # the specified altitude altit: my $cost =