17
0
Files
python-skyfield/generate-hipparcos.sh
Benjamin Greiner 911b7860cb Accepting request 822762 from home:bnavigator:branches:devel:languages:python:numeric
- Update to version 1.25
  * Added skyfield.data.stellarium.parse_constellations()
    and skyfield.data.stellarium.parse_star_names()
    to load Stellarium star names and constellation lines. 
    Constellation lines are featured in a new example script 
    neowise-chart that produces a finder chart for 
    comet C/2020 F3 NEOWISE.
  * The Hipparcos star catalog should now load faster, having 
    switched behind the scenes to a higher performance Pandas 
    import routine.
  * Fixed the ability of  skyfield.timelib.Timescale.utc()
    to accept a Python datetime.date object as its argument.
    #409
  * Slightly lowered the precision of two tests when they 
    detect that Python is compiled for a 32-bit processor, so 
    the test suite can succeed when contributors package 
    Skyfield for 32-bit Linux. #411
- use upstreams custom test runner 'assay'
  * The runner does not have any releases yet. No package 
    available, so use assay-master-252.79f5d78.tar.gz directly
  * drop skyfield-pr405-replace-assay-by-pytest.patch
  * gh#brandon-rhodes/assay#6, gh#skyfielders/python-skyfield#405
- the unit test expect a truncated hipparcos catalog
  * generate-hipparcos.sh
  * hip_main.dat.gz
- drop skyfield-pr404-comparefloat.patch addressed upstream
  gh#skyfielders/python-skyfield#404
  gh#skyfielders/python-skyfield#411

OBS-URL: https://build.opensuse.org/request/show/822762
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-skyfield?expand=0&rev=14
2020-07-25 12:13:42 +00:00

8 lines
392 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
URL=http://cdsarc.u-strasbg.fr/ftp/cats/I/239/hip_main.dat.gz
curl "$URL" | zcat | awk -F\| '$6 <= 6.6 || $2 == 87937' | gzip -c -9 > hip_main.dat.gz