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

Latitude Range Issues #5

Open natronics opened 9 years ago

natronics commented 9 years ago

From an email:

I see that the passes API breaks as latitudes approach 80 degrees. For example, if you try to see the upcoming passes over Spitsbergen via http://api.open-notify.org/iss-pass.json?lat=78.3187832&lon=16.0729979 you get the error "Internal Server Error, The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application."

If you search further south, like over the Congo http://api.open-notify.org/iss-pass.json?lat=1.0&lon=16.0729979 it works.

Note that setting latitude to zero also fails!

gravelcycles commented 6 years ago

Found similar issue when approaching -80 degrees too http://api.open-notify.org/iss-pass.json?lon=25&lat=-79. Any way I can help out with a fix?