# get nearest lat and long (I can see we will need the altitude here soon as well :-)
my $lat = $self->user->lat;
# get nearest lat and long (I can see we will need the altitude here soon as well :-)
my $lat = $self->user->lat;
if ($satname && $Sun::keps{$satname}) {
my $jtime; # lats and longs in radians
my ($sec, $min, $hr, $day, $mon, $yr) = (gmtime($main::systime))[0,1,2,3,4,5];
if ($satname && $Sun::keps{$satname}) {
my $jtime; # lats and longs in radians
my ($sec, $min, $hr, $day, $mon, $yr) = (gmtime($main::systime))[0,1,2,3,4,5];