ut-astria / orbdetpy

Orbit Determination with Python
https://ut-astria.github.io/orbdetpy
GNU General Public License v3.0
115 stars 38 forks source link

maia.usno.navy.mil gone? #16

Closed jsmorph closed 3 years ago

jsmorph commented 3 years ago

When running

python -c "from orbdetpy.astro_data import update_data; update_data();"

I get

HTTPConnectionPool(host='maia.usno.navy.mil', port=80): Max retries exceeded with url: /ser7/tai-utc.dat (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fe02c06e6a0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
OrbitalMechanic commented 3 years ago

I'm having the same problem with maia.usno.navy.mil. On the Naval Oceanographpy page at https://www.usno.navy.mil/, there is a message that several links with one of them being maia.usno.navy.mil are undergoing modernization. Pinging maia.usno.navy.mil results in the message:

"ping: cannot resolve maia.usno.navy.mil: Unknown host"

It looks like that site no longer exists. Does anyone know that the new URL is?

Sam Dupree.

OrbitalMechanic commented 3 years ago

At https://oceandata.sci.gsfc.nasa.gov/Ancillary/LUTs/common there is a file named tai-utc.dat. The file contains a leap second table which appears to be up to date. Can someone confirm that the format of the data in the file is what orbdetpy requires?

Hope this helps.

Sam Dupree.

Shiva-Iyer commented 3 years ago

Release 2.0.4 fixes this by using a different server for the tai-utc.dat file. Will switch back to the usno site if and when it becomes operational.