Geodetic Ground-Station position in ICRS at time x #910
Replies: 2 comments 12 replies
-
I have not used GMAT before, but a first question I would think of asking is whether GMAT might be taking polar motion into account, which would shift the coordinates slightly. Maybe you could try adding code from the example shown here in the Skyfield documentation: https://rhodesmill.org/skyfield/accuracy-efficiency.html#id1 |
Beta Was this translation helpful? Give feedback.
-
Given all the possible differences that could be in play, I am not sure what you should try next, unless you can read the source code of both libraries and add Is there a constant time offset that, if applied to one of the two libraries, brings it into perfect agreement with the other and reduces all three lines to zero? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Brandon, all,
I have a fairly simple problem to solve and I would like to verify my implementation in Skyfield, since my comparison with GMAT showed significant differences - although I am no expert on neither, so it could be very well the case that I made mistakes in my Skyfield-implementations/GMAT implementation or comparing the wrong things here...hence my question.
The task: I want to compute the cartesian coordinates in ICRS/J2000 (the differences between those two should be negligible for my purpose) of a ground station (that is defined via geodetic lat/lon/alt position) at specific times/time vectors.
This is my implementation using Skyfield:
Is my understanding correct that I produce cartesian coordinates in ICRS with this code?
I've tried to do the same thing in GMAT, i.e. defined the same ground station, propagated over a full 24 hours of the same epoch with 1 second intervall and reported the ground station cartesian coordinates in EarthICRF. The following plot shows the differences in all three axes of the two approaches:
So I am not sure where my mistake is - I guess my main question is: is this the way you would solve this problem using Skyfield or is that already wrong?
Thank you!
-Fabian
Beta Was this translation helpful? Give feedback.
All reactions