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

Locate Satellite at the time of TLE #32

Open
ghost opened this issue Nov 25, 2018 · 2 comments
Open

Locate Satellite at the time of TLE #32

ghost opened this issue Nov 25, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 25, 2018

Hi, I was wondering about the way how can I get the location of a satellite at the time of it's TLE? (i.e. I am not interested in modelling the orbital trajectory, rather just the location when the TLE was recorded. Thanks.

@ghost
Copy link
Author

ghost commented Dec 2, 2018 via email

@tinvaan
Copy link

tinvaan commented Apr 14, 2023

Poking this thread for the benefit of future readers. Can someone correct me if I'm wrong?

I understand this can be achieved by just passing in a timestamp to the observe() method. If this is supported as shown below, can we close this issue?

>>> qth = (37.771034, 122.413815, 7)
>>> tle = """
      ISS (ZARYA)
      1 25544U 98067A   19249.04864348  .00001909  00000-0  40858-4 0  9990
      2 25544  51.6464 320.1755 0007999  10.9066  53.2893 15.50437522187805
   """

>>> sat = predict.observe(tle.strip(), qth, 1488873372.0)
>>> print(sat.get('latitude'), sat.get('longitude'))
(-16.690541322246986, 60.823185873788056)

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

1 participant