Skip to content

Commit

Permalink
Fix #301 with new URL for Hipparcos; Version 1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed Nov 20, 2019
1 parent 6a9a6ea commit 72528e7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ Changelog

.. currentmodule:: skyfield.positionlib

Next
----
1.15 — 2019 November 20
-----------------------

* Changed the URL for the Hipparcos catalog, because the VizieR archives
FTP server is no longer responding.
`#301 <https://github.com/skyfielders/python-skyfield/issues/301>`_

* Added a :func:`~skyfield.almanac.dark_twilight_day()` function that
not only handles sunrise and sunset but also all three kinds of
Expand Down
2 changes: 1 addition & 1 deletion skyfield/data/hipparcos.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from skyfield.units import Angle

days = T0 - 2448349.0625
URL = 'ftp://cdsarc.u-strasbg.fr/cats/I/239/hip_main.dat.gz'
URL = 'http://cdsarc.u-strasbg.fr/ftp/cats/I/239/hip_main.dat.gz'
url = URL # old name, in case anyone used it

def parse(line):
Expand Down

0 comments on commit 72528e7

Please sign in to comment.