astropy / astropy/astropy-iers-data

List of mirror URLs for IERS download

Open
#20 28 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
3
Forks
9
Avg merge
4h 57m
Merged PRs (30d)
2

Description

**Transferred from astropy/astropy**

Both of the USNO hosts (maia.usno.navy.mil, toshi.nofs.navy.mil) for retrieving the IERS Bulletin A dataset are flaky. Instead of a primary URL specified by the configuration setting `utils.iers.iers_auto_url` and mirror URL by `utils.iers.iers_auto_url_mirror`, I suggest a single list of URLs.

Here is what I propose for backward compatibility:

* Understand both `iers_auto_url` and `iers_auto_url_mirror` to be either a string or a list of strings.
* Construct the list of URLs to try by concatenating all of the URLs from `iers_auto_url` and `iers_auto_url_mirror` and removing duplicates.
* Deprecate the `iers_auto_url_mirror` configuration setting for removal in a future release.

Here is a possible default URL list:

* http://maia.usno.navy.mil/ser7/finals2000A.all
* http://toshi.nofs.navy.mil/ser7/finals2000A.all
* ftp://cddis.gsfc.nasa.gov/pub/products/iers/finals2000A.all
* https://datacenter.iers.org/data/9/finals2000A.all

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the configuration settings utils.iers.iers_auto_url and utils.iers.iers_auto_url_mirror, then trace the IERS Bulletin A download path and its tests. Check how string settings, URL retries, duplicate removal, backward compatibility, and deprecation are currently handled; done means all configured URLs are tried reliably and existing string settings still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
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.