Closed davidmikolas closed 6 years ago
Same problem here. I would like to get satellite coordinates (lat,lon) from skyfield.
I used this, ISSpos = ISS._position_and_velocity_TEME_km(time)[0] # semi-private a method with a single underscore which seems to be a very handy method. Is this OK or is there a non-underscored way to get the same information in the Earth-inertial or earth-fixed coordinates?
--> wouldn't the correct way to get the position be (instead of _position_and_velocity_TEME_km):
ISSpos = ISS.gcrs(self.time).position.km
as ZeroZero.at(time).position.km is also in ITRF?
And also: is there a better way to get the position from a certain point on earths surface than doing:
ZZpos = ZeroZero.at(time).position.km - Epos
? something like: ZeroZero.at(time).gcrf.position.km
...
thank you for all the effort!
Stuck with the same limitation. Using PyEphem for now. Is there any update regarding progress or solution?
You might be interested in trying out orbit-predictor:
http://nbviewer.jupyter.org/github/Juanlu001/groundtrack-plotting/blob/master/Groundtrack.ipynb
Did not know about this. I will give it a try. Thanks
There is now a supported method for getting ground track latitudes and longitudes. I've added it to the documentation here:
http://rhodesmill.org/skyfield/api-position.html#skyfield.positionlib.Geocentric.subpoint
If you have any problems with it, feel free to open a new issue.
I did the following to make a quick ground-track plot of the ISS.
ISSpos = ISS._position_and_velocity_TEME_km(time)[0] # semi-private
a method with a single underscore which seems to be a very handy method. Is this OK or is there a non-underscored way to get the same information in the Earth-inertial or earth-fixed coordinates?1.1 Neither
earth.geometry_of(satellite)
norsatellite.geometry_of(earth)
is working for me.note: I've asked here also: http://space.stackexchange.com/q/19339/12102