Skip to content

Updated: Prototype support for parallel SGP4 across multiple satellites#439

Merged
brandon-rhodes merged 10 commits intoskyfielders:masterfrom
glangford:sgp4-parallel
Sep 11, 2022
Merged

Updated: Prototype support for parallel SGP4 across multiple satellites#439
brandon-rhodes merged 10 commits intoskyfielders:masterfrom
glangford:sgp4-parallel

Conversation

@glangford
Copy link
Copy Markdown
Contributor

This is an updated prototype to test package the parallel SGP4 capability for computing "n satellites x m times" into one routine in Skyfield.

The new function positions_for(satellites, earthLocation, times) takes an array of EarthSatellite objects, a Topos earth location and an array of Time and yields a position for each satellite provided. Some basic tests verify that the positions are np.isclose() to calculating positions one satellite at a time.

@glangford
Copy link
Copy Markdown
Contributor Author

Based on profiling for a test application, I will add some changes to improve performance. These will be around precomputing values for coordinate conversion that can be shared across satellites.

@brandon-rhodes
Copy link
Copy Markdown
Member

Why did I leave this un-merged back in 2020? Was I thinking that I should wait until it becomes something we can merge into the main code of Skyfield, and then merge?

In any case, my opinion today is that it's fine to have contributor designs like this sitting in the designs/ folder, so I'll go ahead and merge. Thanks!

@brandon-rhodes brandon-rhodes merged commit 7eda2e1 into skyfielders:master Sep 11, 2022
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

Successfully merging this pull request may close these issues.

2 participants