-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to predict satellite passes with satellite.js? #56
Comments
Create a Date variable passTime = new Date(year, month, day, hours, minutes, seconds, milliseconds); As for changing your location...
Just change those values to the location you want to use. It's that simple! Let me know if you need anything clarified or have more questions. |
Thanks, but in my case I don't know the date. I need to know when the satellite will be passing nearby my location. I want to know when I will be able to observe it from my position :). Something like this site: https://spotthestation.nasa.gov/sightings/view.cfm?country=France®ion=None&city=Paris. It gives you a list of dates when ISS will be visible from a given city. |
This is done through iteration. I don't have a code editor available and probably have a glaring error, but conceptually:
There are things you can do to reduce the time this loop takes, like skipping ahead in time after an object leaves field of view, but there is no way around guess-and-check. |
Thank you! That's what I needed. |
Hi, I really like this library! I was able to track satellite's position using the example from readme. Now I would like to know how to predict future satellite passes for a given location, but I don't even know where to start. Is there an example or some tutorial you could point me to?
The text was updated successfully, but these errors were encountered: