SUNRISE_EL: remove upper_limb correction, default in DateTime:Event:Sunrise too
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4537 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user