open-notify / Open-Notify-API

Source code for api.open-notify.org
http://open-notify.org/Open-Notify-API/
Other
351 stars 72 forks source link

passtimes endpoint occasionally return n-1 passes instead of n passes #3

Open cat-haines opened 10 years ago

cat-haines commented 10 years ago

This seems to reliably happen when the ISS is currently passing overhead of the location your are checking, but I have seen a handful of other times (can't reliably reproduce other than the 'currently above' situation)

combs commented 9 years ago

Love this project--thank you for providing this service.

I'm seeing this bug too. Example:

{ message: "success", request: { altitude: 60, datetime: 1430072043, latitude: 38.939626, longitude: -76.990228, passes: 3 }, response: [ { duration: 580, risetime: 1430083221 }, { duration: 624, risetime: 1430089001 } ] }

r-jordan commented 6 years ago

Hi all, thank you for your time in this project.

I've seen that this bug happens when the ISS is above in the sky but the API continues returning n-1 passes after the ISS has passed. But it doesn't happen at all the occasions that the ISS is above us.