Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No posible to propagate for dates in the past with HighAccuracyTLEPredictor #25

Open
enritoomey opened this issue Dec 28, 2018 · 2 comments

Comments

@enritoomey
Copy link

As it is implemented now, HighAccuracyTLEPredictor always uses the TLE closest to now(), dispate the propagation date requested.

https://github.com/satellogic/orbit-predictor/blob/master/orbit_predictor/accuratepredictor.py#L98-L105

@astrojuanlu
Copy link
Contributor

cc @fisadev

@astrojuanlu
Copy link
Contributor

Updated link:

@reify
def tle(self):
return self._source.get_tle(self.sate_id, dt.datetime.utcnow())
@reify
def _propagator(self):
tle_line_1, tle_line_2 = self.tle.lines
return twoline2rv(tle_line_1, tle_line_2, wgs84)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants