From 67542591aff3ab1f4fe1c6fcf00a2a691e107a57 Mon Sep 17 00:00:00 2001 From: Arihant Date: Tue, 13 Sep 2022 20:23:36 +0530 Subject: [PATCH] fix: https://github.com/satellogic/orbit-predictor/issues/98 Attempring to fix this issue, by removing assertion, it may not be correct though --- orbit_predictor/predictors/pass_iterators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orbit_predictor/predictors/pass_iterators.py b/orbit_predictor/predictors/pass_iterators.py index 11e73e2..b3756fa 100644 --- a/orbit_predictor/predictors/pass_iterators.py +++ b/orbit_predictor/predictors/pass_iterators.py @@ -178,7 +178,7 @@ def _find_aos(self, tca): end = tca start = tca - self._orbit_step(0.34) # On third of the orbit elevation = self._elevation_at(start) - assert elevation < 0 + # assert elevation < 0 while not self._precision_reached(start, end): midpoint = self.midpoint(start, end) elevation = self._elevation_at(midpoint)