mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
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
This commit is contained in:
parent
4b43a2d7fc
commit
2b9f4ee1c1
@ -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 =
|
||||
|
Loading…
x
Reference in New Issue
Block a user