astropy / astropy/pyvo

Feature request : requesting VO services with mirrors

Open
#96 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
88
Forks
64
Avg merge
38m
Merged PRs (30d)
1

Description

It could be great if the user could give a list of mirrors for requesting a specific VO service like this :

>>> scs_srv = vo.dal.SCSService([
>>> 'mirror_1',
>>> ...,
>>> 'mirror_n'])
>>> scs_results = scs_srv.search(pos=pos, radius=size)

Something like, if the first mirror does not respond (DALServiceError raised) one can ask the second etc...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SCSService entry point and the DALServiceError handling in the Python package, then trace how a service request is sent. The feature is done when SCSService accepts multiple mirror URLs and tries the next mirror after an unresponsive service raises DALServiceError; add or update tests for this fallback behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.