Repository navigation
Conversation
d74b7d7 to
8060253
Compare
| return tables | ||
|
|
||
|
|
||
| def find_fastest_mirror(servers, path="/", timeout=1.0): |
There was a problem hiding this comment.
I intentionally set a very short timeout
| """ | ||
|
|
||
| # the first item is the default | ||
| servers_list = ['vizier.cds.unistra.fr', |
There was a problem hiding this comment.
we should be doing this generally, otherwise it's a pain to access this list programatically
There was a problem hiding this comment.
Yes! I changed it in SIMBAD but not in VizieR
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3701 +/- ##
==========================================
- Coverage 73.86% 73.86% -0.01%
==========================================
Files 228 228
Lines 21475 21613 +138
==========================================
+ Hits 15863 15964 +101
- Misses 5612 5649 +37 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
I'm still there til January. Thank you for this, I'll have a proper look tomorrow |
|
@keflavich - please add labels next time :) |
|
The simbad mirror @harvard should be working, let me know if there are issues. |
|
Thank you so much for taking the time to do this! Looks good to me, with the updates to the mirrors list. I'll do a follow up PR (documentation only) with the list of which mirrors are complete or partial in the next hours. |
|
The vizier mirrors weren't working for me yesterday - should they all be? SESAME has not stopped working; I don't know what mirrors it defaults to. |
|
They should be, except the indian one ( You might have switched to harvard.cfa for SESAME ? It's the only one up right now |
|
looks like I'm still getting timeouts on most servers, e.g.: from astroquery.vizier import Vizier
viz = Vizier(vizier_server='vizier.cfa.harvard.edu')
viz.query_object('Algol')is that working for you @ManonMarchand ? |
|
ah, rather, for cfa: while for idia: |
|
Yes, harvard was ddos by bots, the team is working to pull it back up (minutes ago). IDIA should work but The mirrors have a huge load to absorb right now, as the main traffic usually goes to Strasbourg PS: there should be a new SESAME mirror at idia in the next hours |
The mirrors weren't well-exposed in the docs or even in the API before; minor addition there shows them in the docs and how to access them.
I also added a mirror-checker script to do a minimal HEAD request to find the fastest responder when mirrors are needed.
Right now, none are responding to me.
@ManonMarchand I know you left... just in time apparently.... but can you refer me to who I should be @'ing on this thread from CDS? I hope there's someone who can help out who is not currently running around on fire.
(claude sonnet wrote
thisthe code; I wrote the comment, I told it what to do, it met my expectations)