From dc05a08337cde5e588f3fd2351327569d198c859 Mon Sep 17 00:00:00 2001 From: Chris Kuethe Date: Sun, 10 Feb 2008 07:21:24 +0000 Subject: Clamp satellite positions here too. --- contrib/skyview.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/skyview.php') diff --git a/contrib/skyview.php b/contrib/skyview.php index 61fefd70..58efd99a 100755 --- a/contrib/skyview.php +++ b/contrib/skyview.php @@ -148,7 +148,8 @@ function azel2xy($az, $el, $sz){ function cellplot($im, $sz, $C, $cellsize, $e){ list($sv, $el, $az, $snr, $u) = $e; - if ((0 == $sv) || (0 == $az + $el + $snr)) + if ((0 == $sv) || (0 == $az + $el + $snr) || + ($az < 0) || ($el < 0)) return; $color = $C['brightgreen']; -- cgit v1.2.1