17
0
Files
python-skyfield/generate-hipparcos.sh
Benjamin Greiner 4ed7372f4f Accepting request 1060130 from home:bnavigator:branches:devel:languages:python:numeric
- Update to v1.45
  * Bugfix: minor planets and comets in Skyfield 1.44 would raise
    an exception if asked for a position in the half of their orbit
    where they are inbound towards their perihelion.
- Changelog v1.44
  * Skyfield’s internal table for the ∆T Earth orientation
    parameter has been updated, so that instead of including
    measurements only through December 2021 it now knows Earth
    orientation through September 2022.
  * Distance and velocity objects can now be created by calling
    their unit names as constructors, like d = Distance.km(5.0) and
    v = Velocity.km_per_s(0.343).
  * Updated the URL from which the Hipparcos database hip_main.dat
    is downloaded, following a change in the domain for the
    University of Strasbourg from u-strasbg.fr to unistra.fr.

OBS-URL: https://build.opensuse.org/request/show/1060130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-skyfield?expand=0&rev=46
2023-01-21 11:34:10 +00:00

9 lines
440 B
Bash

#!/bin/sh
# Get truncated Hipparcos catalog for testing
# Truncate the Hipparcos catalog to stars with magnitude brighter than 6.6
# corresponds to last line of
# https://github.com/skyfielders/python-skyfield/blob/master/builders/Makefile
# but with an SSL secured URL for the source (boo#1182424)
URL="https://cdsarc.cds.unistra.fr/ftp/I/239/hip_main.dat"
curl "$URL" | awk -F\| '$6 <= 6.6 || $2 == 87937' | gzip -c -9 > hip_main.dat.gz