question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ground Track Plotter

See original GitHub issue

🎯 Objective Hi everyone,

I thought it would be interesting to include a “Ground Track Plotter” in the module of poliastro.plotting. It works in the same way as the other functions of this module: you just have to call a function called groundTrackthat takes as arguments an orbit, labelwith the possibility of using the dark mode.

🖥 Previous figure tries to plot the following orbit:

#PLOTING GROUND TRACK
from poliastro.plotting import groundTrack 

r = [-6045, -3490, 2500] * u.km
v = [-3.457, 6.618, 2.533] * u.km / u.s
ss = Orbit.from_vectors(Earth, r, v)

groundTrack(ss, dark=True)
plt.show()

Till here everything works as it should. However, once I pass the function an Orbitobject, I obtain really strange ground tracks:

pic

Notice that horizontal dashed lines are just for plotting Cancer and Capricorn Tropics.

💡 Possible solutions

If the idea is interesting for poliastro community, I will make a pull request but probably will need some help with the conversions between reference systems. I think the problem may be here, since if you try to plot just a latitude and longitude it works perfectly, showing that exact point on map.

Cape Canaveral Coordinates lat = 28.396837 lon = -80.605659

plot

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:4
  • Comments:28 (26 by maintainers)

github_iconTop GitHub Comments

1reaction
astrojuanlucommented, Sep 5, 2020

Hi @FrancescoColombi, glad you like this new feature! Using the orientation of the prime meridian and the rotation rate of the attractor sounds like a good idea for generalizing this, I’ll open a new issue.

1reaction
jorgepilotocommented, Aug 27, 2020

After two years, this feature has been implemented. I think this was one of my first issues at poliastro. Please, if you find any king of bug or would like to extend its functionalities, open an issue or contact developers through official channels 🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Satellite ground track visualizer / Jake Low - Observable
Satellite ground track visualizer ; -81.3°. Orbital inclination in degrees; 0° is equatorial ; 834 km. Orbital altitude in kilometers above mean ...
Read more >
Drawing Earth satellite groundtracks - poliastro
By definition, a groundtrack is just the projection of the position left by a satellite over its attractor. They are usually applied to...
Read more >
Ground track - Wikipedia
A ground track or ground trace is the path on the surface of a planet directly below an aircraft's or satellite's trajectory. In...
Read more >
Ground Track (ground_track) - File Exchange - MATLAB Central
ground_track(lat,lon) plots the ground track of an orbit around the Earth, superimposed on a map of the Earth, where the map just shows...
Read more >
Satellite Ground Track Plotter - ticalc.org
Filename, satcalc.zip (Download). Title, Satellite Ground Track Plotter. Description, This program plots satellite ground tracks based on the supplied TLE ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found