Revision: 41
http://gpredict.svn.sourceforge.net/gpredict/?rev=41&view=rev
Author: csete
Date: 2008-04-30 15:34:44 -0700 (Wed, 30 Apr 2008)
Log Message:
-----------
Reduced elevation thresholds in find_aos and find_los to get more accurate results and avoid false pass predictions (bug #1954664).
Modified Paths:
--------------
trunk/src/predict-tools.c
Modified: trunk/src/predict-tools.c
===================================================================
--- trunk/src/predict-tools.c 2008-04-28 20:45:52 UTC (rev 40)
+++ trunk/src/predict-tools.c 2008-04-30 22:34:44 UTC (rev 41)
@@ -167,11 +167,7 @@
/* fine steps */
while ((aostime == 0.0) && (t <= (start + maxdt))) {
- /* FIXME: should change to el < -0.3?
- accuracy seems to be less than +/- 1 sec
- except when the sat is around 0.0 EL
- */
- if (fabs (sat->el) < 0.03) {
+ if (fabs (sat->el) < 0.005) {
aostime = t;
}
else {
@@ -195,11 +191,7 @@
/* fine steps */
while (aostime == 0.0) {
- /* FIXME: should change to el < -0.3?
- accuracy seems to be less than +/- 1 sec
- except when the sat is around 0.0 EL
- */
- if (fabs (sat->el) < 0.03) {
+ if (fabs (sat->el) < 0.005) {
aostime = t;
}
else {
@@ -278,7 +270,7 @@
t += sat->el * sqrt(sat->alt)/502500.0;
predict_calc (sat, qth, t);
- if (fabs(sat->el) < 0.03)
+ if (fabs(sat->el) < 0.005)
lostime = t;
}
}
@@ -298,7 +290,7 @@
t += sat->el * sqrt(sat->alt)/502500.0;
predict_calc (sat, qth, t);
- if (fabs(sat->el) < 0.03)
+ if (fabs(sat->el) < 0.005)
lostime = t;
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|