I am a beginner Python programmer. I am trying to get the code in the article "Calculating which satellites are visible" to function without success. My plan is to identify satellites that are visible at night and take open shutter images of the sky to record their streaks using a RPI and RPI camera.
I entered the code.
import ephem
I assume I run the three functions at the end?
seconds_between(d1, d2)
datetime_from_time(tr)
get_next_pass(-74.01, 40.01, 10, "iss.tle")
I'm not sure what d1, d2 and tr are.
Is there a complete version of the code or next steps to get it running. TY!
satellite.find_events()
and then "Find when a satellite is in sunlight" which usessatellite.at().is_sunlit()
The third necessary test is a check the sky is sufficiently dark in your location at the time of the satellite pass. This is an excellent project to both learn more python (since Skyfield is so darn friendly and useful) and Raspbery Pi (for the same reasons). $\endgroup$