pypredict icon indicating copy to clipboard operation
pypredict copied to clipboard

Locate Satellite at the time of TLE

Open ghost opened this issue 7 years ago • 2 comments

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 avatar Nov 25 '18 08:11 ghost

Hi Eric,

I tried to run the examples on that repository but I could not.

BR,

H


Mohammad (Hooman) Tavassolian, BASc MASc Candidate and Researcher at MENRVA Biomedical Research Lab. (+1) 236 889 2118 Simon Fraser University [email protected] | menrva.ensc.sfu.ca | https://www.linkedin.com/in/mohammad-tavassolian-40787888/


From: Eric Boucher [email protected] Sent: Monday, November 26, 2018 9:35:40 AM To: nsat/pypredict Cc: Hooman Tavassolian; Mention Subject: Re: [nsat/pypredict] Locate Satellite at the time of TLE (#32)

Hi @MomoTavashttps://github.com/MomoTavas have you tried existing solutions such as https://github.com/pytroll/pyorbital ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/nsat/pypredict/issues/32#issuecomment-441727981, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AZFpcxoXS0F_jxtD1GrDJcIT_BIC7dWWks5uzCZsgaJpZM4YxxvZ.

ghost avatar Dec 02 '18 23:12 ghost

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)

tinvaan avatar Apr 14 '23 16:04 tinvaan