Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1351 commits
Select commit Hold shift + click to select a range
2c679b9
Fix two documentation cross references
brandon-rhodes Feb 6, 2022
478c667
CHANGELOG for phase_angle() fraction_illuminated()
brandon-rhodes Feb 23, 2022
121fd05
Combine duplicate CHANGELOG entries
brandon-rhodes Feb 23, 2022
2fcd426
Fix #712 by raising a more specific exception
brandon-rhodes Feb 24, 2022
e399082
Move example “step_days” up next to the function
brandon-rhodes Mar 3, 2022
646b204
Raise better exception if `step_days` is missing
brandon-rhodes Mar 3, 2022
61aa8e8
Fix #716 by having docs say ‘geodetic’ lat/lon
brandon-rhodes Mar 5, 2022
fe99087
Document that test_magnitudes_raw.py is generated
brandon-rhodes May 4, 2022
a7f4630
Fix #739: Saturn magnitudes when Time is an array
brandon-rhodes May 4, 2022
9573293
For #742, add USNO references to GAST subroutines
brandon-rhodes May 4, 2022
761914e
Add "build" script so I remember to make py3 wheel
brandon-rhodes May 6, 2022
68e6034
For #732 have docs reference problems with IERS
brandon-rhodes May 11, 2022
a30d47d
Fix #721: example showing percent illuminated Moon
brandon-rhodes May 11, 2022
16211ed
For #689 show how to do math with periapsis date
brandon-rhodes May 11, 2022
5ac04ca
Fix #753: mention Moon Phase keeps going past 180°
brandon-rhodes Jun 12, 2022
440f98d
Fix #707: delimit comets with ASCII RS, not comma
brandon-rhodes Jun 13, 2022
5760bb6
Add CHANGELOG entry for #707
brandon-rhodes Jun 30, 2022
42f229c
Add API doc entries for MPC dataframe loading
brandon-rhodes Jul 6, 2022
772d256
Declare version 1.43
brandon-rhodes Jul 6, 2022
be42a5d
Fix "bin/build" script so .tar.gz gets a setup.py
brandon-rhodes Jul 6, 2022
8692311
Declare version 1.43.1
brandon-rhodes Jul 6, 2022
77349cd
Script: compute hours of daylight at Grand Canyon
brandon-rhodes Jul 25, 2022
01db1e0
Fix #788 by updating the URL for ‘hip_main.dat’
brandon-rhodes Sep 5, 2022
423ddb3
Use a faster loop for computing eccentric anomaly
brandon-rhodes Sep 11, 2022
89125c0
Add a docstring for build_delta_t()
brandon-rhodes Sep 11, 2022
b47b809
Bump lxml from 4.6.5 to 4.9.1 (#757)
dependabot[bot] Sep 11, 2022
0fd68c8
Add docstring to Unit.__getitem__
brandon-rhodes Sep 11, 2022
3a29e92
Close #698 by turning unit names into contructors
brandon-rhodes Sep 11, 2022
7eda2e1
Prototype: running many SGP4 in parallel (#439)
glangford Sep 11, 2022
3847bfa
Add Makefile target for rebuilding ∆T tables
brandon-rhodes Sep 11, 2022
d5e627c
When rebuilding ∆T tables, have fallback URL
brandon-rhodes Sep 11, 2022
914f87d
Update internal ∆T table
brandon-rhodes Sep 11, 2022
30719cc
Fix #343 by documenting how to find angle rates
brandon-rhodes Sep 12, 2022
33ed4d8
Declare version 1.44
brandon-rhodes Sep 12, 2022
c543eac
Fix #787 bug by handling case of negative M
brandon-rhodes Sep 14, 2022
a2ea017
Declare 1.45
brandon-rhodes Sep 15, 2022
33478b7
Actually bump the version to 1.45
brandon-rhodes Sep 15, 2022
b927868
Only test for 1 mm precision on 1 AU vector
brandon-rhodes Sep 15, 2022
dd2fd90
Rewrite phase angle & fraction illuminated formula
brandon-rhodes Sep 25, 2022
4facdf4
Fix #805 by explaining TLE elements aren't Kepler
brandon-rhodes Oct 16, 2022
7f10f72
Two small tweaks to test of earth-satellites.rst
brandon-rhodes Nov 26, 2022
af982dc
Add test that astrometric altaz() raises exception
brandon-rhodes Nov 27, 2022
33aec1a
Move altaz() method to the main position class
brandon-rhodes Nov 27, 2022
891cbb9
Per #825, Stellarium example should use a new URL
brandon-rhodes Jan 8, 2023
6b5e20b
Fix CI by specifying Python minor version number
brandon-rhodes Jan 8, 2023
488d050
Fix #763 by switching to ‘celestrak.org’ domain
brandon-rhodes Jan 10, 2023
c984418
Fix #835: len(t) on scalar time should TypeError
brandon-rhodes Apr 2, 2023
c455d08
Fix GitHub Actions by specifying ubuntu-20.04
brandon-rhodes Apr 2, 2023
6251f3f
Simplify error when time is out of ephemeris range
brandon-rhodes Apr 2, 2023
531f3ee
Fix date formatting in error message on Python 2.7
brandon-rhodes Apr 2, 2023
5ff25fc
Refactor to replace two method calls with one call
brandon-rhodes Apr 2, 2023
4209f74
Rename and comment upon radii generated by lat/lon
brandon-rhodes Apr 5, 2023
642da4a
Un-swap x and y in Geoid.latlon()
brandon-rhodes Apr 5, 2023
2e89cb5
Experiment: wonky heights returned at 90° latitude
brandon-rhodes Apr 6, 2023
a355465
Fix #842 by changing geographic height formula
brandon-rhodes Apr 7, 2023
7ae281a
Lunar eclipses script: print time of missing/extra
brandon-rhodes Apr 7, 2023
34e259b
Improve ‘Five Millennium Catalog’ eclipse script
brandon-rhodes Apr 7, 2023
fac3cff
Fix compatibility with numpy >= 1.23.5 (#844)
avalentino Apr 7, 2023
eb7d543
Fix #821: umbral/penumbral lunar eclipse magnitude
BarryBalls Dec 15, 2022
11921a8
Slight edits for style of new eclipse code
brandon-rhodes Apr 8, 2023
a1c02ac
Update docs for eclipse improvements in #821
brandon-rhodes Apr 8, 2023
9aa5111
Explain how polar motion affects ITRS frame (#834)
brandon-rhodes Apr 8, 2023
6dbedc5
Fix #831 by correcting `is_behind_earth()` method
brandon-rhodes Apr 8, 2023
49e5a0f
Switch almanac.py to use `ecliptic_frame`
brandon-rhodes Apr 8, 2023
67e23e6
Fix #841: explain separation ≠ 0° at conjunction
brandon-rhodes Apr 8, 2023
c4fa809
Fix #327: show is_sunlit() for satellite passes
brandon-rhodes Apr 8, 2023
c235c74
Fix dangling cross references to Apparent.altaz()
brandon-rhodes Apr 9, 2023
10c506b
Declare file encoding for folks still on Python 2
brandon-rhodes Apr 9, 2023
99d0e15
Update ∆T
brandon-rhodes Apr 9, 2023
c3299d1
Add CHANGELOG entry for .altaz() moving to ICRF
brandon-rhodes Apr 9, 2023
e152b56
Declare version 1.46
brandon-rhodes Apr 9, 2023
43836eb
Fix year in today's changelog entry
brandon-rhodes Apr 9, 2023
232fae9
Add local TOC to "Examples" page
brandon-rhodes May 31, 2023
a6d4e15
Comment rise/set design to remember how it worked
brandon-rhodes Jul 27, 2023
622d08b
Add another iteration to new sunrise routine
brandon-rhodes Jul 29, 2023
1801446
Refactor new sunrise routine to use a loop
brandon-rhodes Jul 29, 2023
4594706
In new routine, detect when object doesn't rise
brandon-rhodes Jul 29, 2023
a39284e
Add new rising-setting finder to almanac module
brandon-rhodes Jul 29, 2023
1ac697d
Document the new sunrise and sunset routines
brandon-rhodes Jul 29, 2023
56f727a
Remove mention of René, to avoid rebuilding font
brandon-rhodes Aug 6, 2023
b9ab5ea
Rescue Python 2.7 build on GitHub Actions
brandon-rhodes Aug 6, 2023
0669c8b
Fix type error in new find_risings() routine
brandon-rhodes Aug 6, 2023
04c6af8
Deprecate old no-longer-used Geometric class
brandon-rhodes Aug 10, 2023
a5434eb
Fix a Sphinx cross-reference in the docs
brandon-rhodes Aug 10, 2023
3c473ae
Docs: mention that .utc_strftime() does rounding
brandon-rhodes Aug 10, 2023
61fb632
Add find_transits() almanac function
brandon-rhodes Aug 10, 2023
cf253c3
Fix new sunrise routine and start testing vs USNO
brandon-rhodes Sep 8, 2023
e772b54
Tweak broken doctest for new rising routine
brandon-rhodes Sep 8, 2023
abde6ad
Add informal test of new moonrise routine vs USNO
brandon-rhodes Sep 15, 2023
dda493b
Test to confirm we use fixed constellation table
brandon-rhodes Sep 21, 2023
74048c6
Add test confirming issue #906
brandon-rhodes Oct 4, 2023
711b4c1
Fix load_constellation_names() for Python 2
brandon-rhodes Oct 4, 2023
207a1e3
Try fixing #906
brandon-rhodes Oct 4, 2023
41b44cf
Changelog entry for #906 constellation abbrev fix
brandon-rhodes Oct 5, 2023
9c4edda
For #916, document MKL_NUM_THREADS env var
brandon-rhodes Nov 21, 2023
d6a1636
Add TODO item based on #913
brandon-rhodes Nov 22, 2023
61ff8a6
Also compare old rise/set routines to USNO
brandon-rhodes Dec 1, 2023
eff6582
Support loading stars from Tycho2 catalog (#909)
wheirman Dec 5, 2023
2b2d76a
Remove extraneous na_value from Tycho 2 importer
brandon-rhodes Dec 29, 2023
7e550d7
Improve new moonrise routine by using Moon radius
brandon-rhodes Dec 30, 2023
86c9cda
Tweaks to moonrise test while exploring behavior
brandon-rhodes Dec 30, 2023
3422b2c
Add new 'Moonrise' section to almanac docs
brandon-rhodes Dec 31, 2023
e41ea4c
Clean up imports and definitions on Almanac page
brandon-rhodes Jan 7, 2024
25800aa
Fix cross-reference to satellite rising/setting
brandon-rhodes Jan 7, 2024
06e9750
Mark second-level headings with small triangle
brandon-rhodes Jan 7, 2024
163af28
Use actual arcminutes for sunrise/sunset altitude
brandon-rhodes Jan 7, 2024
64a42e7
Start moving rising/setting to top of Alamanc docs
brandon-rhodes Jan 7, 2024
b023690
Explain moon rise/set and planet rise/set
brandon-rhodes Jan 8, 2024
208b12b
Finish rewriting rising/setting docs
brandon-rhodes Jan 13, 2024
3879956
Finish up new rising/setting docs
brandon-rhodes Jan 13, 2024
b36eb7c
Fix two doctests
brandon-rhodes Jan 13, 2024
0ac6072
Move pre-release IERS update routine to script
brandon-rhodes Jan 13, 2024
78ac343
Remove old target from Makefile (is now a script)
brandon-rhodes Jan 13, 2024
43389c2
Update ∆T table for new release
brandon-rhodes Jan 13, 2024
cdf4407
Declare version 1.47
brandon-rhodes Jan 13, 2024
f8da96a
Add GitHub links to new version changelog entry
brandon-rhodes Jan 13, 2024
925a7e6
Expand Table of Contents by one level of depth
brandon-rhodes Jan 13, 2024
806d9bc
Add backlinks from API rise/set docs to main docs
brandon-rhodes Jan 13, 2024
8bef42a
Make bad-performance section title more obvious
brandon-rhodes Jan 13, 2024
7729e52
Give 'Horizonal coordinates' section a better name
brandon-rhodes Jan 17, 2024
5d4fcf9
Give title to discussion of atmospheric refraction
brandon-rhodes Jan 18, 2024
6990312
Restore old anchor name for horizontal coordinates
brandon-rhodes Jan 18, 2024
bbc64a2
Fix year in most recent changelog entry
brandon-rhodes Jan 22, 2024
3047511
Rewrite ‘rates’ example to show range-rate too
brandon-rhodes Jan 23, 2024
bffacca
Fix errant plural in docstring showing UTC tuple
brandon-rhodes Feb 1, 2024
2d26825
For #884, show how to load TLE from BytesIO
brandon-rhodes Feb 2, 2024
1b48918
Turn off terrible Sphinx section title backlinks
brandon-rhodes Feb 2, 2024
dd0aeeb
Fix typo: 'Celestial', not 'Coordinate' frame
brandon-rhodes Feb 2, 2024
4e822b8
Fix #931: clarify that TETE reference frame ≠ TEME
brandon-rhodes Feb 2, 2024
5342a30
Start working out math for computing solar eclipse
brandon-rhodes Feb 3, 2024
e574bba
Rewrite sphere intersection to remove all `if`s
brandon-rhodes Feb 3, 2024
fdf25ac
Move new line-ellipsoid intersect into geometry.py
brandon-rhodes Feb 3, 2024
0a91609
Try drawing an eclipse track on a globe
brandon-rhodes Feb 4, 2024
73cf31f
Fix #928: check .center when subtracting positions
brandon-rhodes Feb 4, 2024
b7dec35
Fix #881: make Time objects comparable, sortable
brandon-rhodes Feb 4, 2024
392092f
For #936, fix observe() when time array is empty
brandon-rhodes Feb 4, 2024
4ec81e2
Fix ndot, nddot units in earth-satellites.rst #847
gavinhofer Feb 4, 2024
e4c79f7
Python 3.12: abandon 'pkg_resources' #898
brandon-rhodes Feb 4, 2024
b0abf97
For #898 abandon `float_` to prepare for NumPy 2.0
brandon-rhodes Feb 7, 2024
4f397d2
For #940, detect when Sun fails to set in Arctic
brandon-rhodes Feb 7, 2024
d1ad1f8
Make example sunrise-sunset script 12 times faster
brandon-rhodes Feb 7, 2024
5224755
Declare version 1.48
brandon-rhodes Feb 7, 2024
fc1db62
Show how to print out leap second table
brandon-rhodes Feb 25, 2024
e483df3
Slightly tweak discussion of uniform time scales
brandon-rhodes Mar 1, 2024
f9567f6
Add axis labels to star chart and add cross ref
brandon-rhodes Mar 2, 2024
e9f98ef
Move junk module ‘charting.py’ out of Skyfield
brandon-rhodes Mar 2, 2024
d634f11
Remove documentation from distribution; saves ~25%
brandon-rhodes Mar 7, 2024
915cc02
Must remove build/ before building wheel
brandon-rhodes Mar 8, 2024
acc971b
Simplify Earth-satellite intro: drop obscure point
brandon-rhodes Mar 12, 2024
15f6092
For #952: primitive repr() for PlanetaryConstants
brandon-rhodes Mar 24, 2024
e3a09b7
Docs: streamline Earth satellite introduction
brandon-rhodes May 6, 2024
6fa0418
Make `check-cross-references` work from any dir
brandon-rhodes May 6, 2024
cda32fb
Add a second branch that gets GitHub Actions
brandon-rhodes May 6, 2024
50dff03
Docs: fix cross reference in satellite page
brandon-rhodes May 6, 2024
a7ad903
Docs: give <li> a bit of space above and below
brandon-rhodes May 7, 2024
6b5dfdf
Docs: wrap long lines in <pre>, don’t overflow
brandon-rhodes May 7, 2024
6fa3f46
Docs: new section describing three TLE formats
brandon-rhodes May 7, 2024
1880fd3
Docs: .epoch belongs to an element set, not a TLE
brandon-rhodes May 8, 2024
dcfa654
Add and document Earth satellite from_omm() method
brandon-rhodes Jun 10, 2024
ed0e157
Disable a test under Python 2 to fix CI
brandon-rhodes Jun 10, 2024
b32b1e4
Docs: make table-of-contents <li>’s compact again
brandon-rhodes Jun 12, 2024
9d4087b
Docs: add CHANGELOG entries for next version
brandon-rhodes Jun 12, 2024
cf5b78c
Declare version 1.49
brandon-rhodes Jun 13, 2024
382acea
Docs: Stop importing 'skyfield' in Sphinx conf.py
brandon-rhodes Jun 13, 2024
5c0b6f3
Tweak comment to match sign of rotation matrix
brandon-rhodes Jul 10, 2024
b270bcb
Convert to spherical coordinates with arctan2()
wedesoft Jul 17, 2024
04d6a63
Fix #991: update the changelog with a 1.48 bugfix
brandon-rhodes Aug 14, 2024
f9249d5
Document that `utc_strftime()` can't support %Z
brandon-rhodes Oct 5, 2024
49ebf74
Fix #1005 by adding NumPy 2.0 support to CHANGELOG
brandon-rhodes Oct 5, 2024
2d104a4
Be more consistent in mentioning latitude first
brandon-rhodes Oct 5, 2024
28b5fb1
Fix #1018: a no-longer-used import in the docs
brandon-rhodes Nov 8, 2024
42377bf
Improve Python’s datetime ValueError messages
brandon-rhodes Dec 2, 2024
d24c0ca
Fix #1019 by updating IERS download URL to HTTPS
brandon-rhodes Dec 4, 2024
f924bdc
Upgrade development environment to Python 3.7
brandon-rhodes Jan 1, 2025
6a06fea
Abandon restrictions on `.hours` and `.degrees`
brandon-rhodes Jan 1, 2025
6b1f877
CHANGELOG: note removal of degrees/hours exception
brandon-rhodes Jan 1, 2025
757dca3
Units: avoid building new constructor on each use
brandon-rhodes Jan 2, 2025
00ebb87
Remove attr docstring hiding its real docstring
brandon-rhodes Jan 2, 2025
7b079aa
Remove two private class attrs we no longer use
brandon-rhodes Jan 2, 2025
ff7d421
Trim apologetic docstring of deprecated function
brandon-rhodes Jan 2, 2025
d9e82c9
Remove a few TODO items that no longer matter
brandon-rhodes Jan 2, 2025
101d46a
Add R1(), R2(), R3() from Almanac _Supplement_
brandon-rhodes Jan 5, 2025
46e3c54
Revert "Tweak comment to match sign of rotation matrix"
brandon-rhodes Jan 5, 2025
074be43
Deprecate a redundant method we never used
brandon-rhodes Jan 19, 2025
d4e9c9f
Dive a little less deep for SPK comments field
brandon-rhodes Jan 19, 2025
b5f356c
Add TODO after discovering Smithsonian/SuperNOVAS
brandon-rhodes Jan 24, 2025
701e39a
Add `SSB` object for the Solar System barycenter
brandon-rhodes Jan 28, 2025
c4ffffe
Add new `mean_equator_and_equinox_of_date` frame
brandon-rhodes Jan 30, 2025
4d4b699
Add 70°N to sunrise/moonrise design test script
brandon-rhodes Feb 15, 2025
65ddfaf
Design a parabola intersect to help rising/setting
brandon-rhodes Feb 15, 2025
9840fb4
Design: plot the search for sunrise or moonrise
brandon-rhodes Feb 15, 2025
89e71c2
Support <Time> + <ndarray of JD offsets>
brandon-rhodes Feb 15, 2025
6b3cd8d
Fix #998: detect sunrise/moonrise even at 70°N
brandon-rhodes Feb 15, 2025
b5d997b
Version 1.50
brandon-rhodes Feb 15, 2025
c76c109
Fix front-page claim about NumPy binary dependency
brandon-rhodes Feb 16, 2025
3dd850d
Diagram of which Time methods use which others
brandon-rhodes Feb 19, 2025
ee0f4f1
Remove three old methods from Skyfield 0.9.1
brandon-rhodes Feb 22, 2025
71a2324
Add ut1 to diagram of Time method calls
brandon-rhodes Feb 22, 2025
171ef02
Advertise `.xyz` attribute instead of `.position`
brandon-rhodes Feb 22, 2025
39e4c16
Remove from a docstring a line not strictly needed
brandon-rhodes Feb 22, 2025
ef0342f
Support ephemeris DE441 with >1 segment per target
brandon-rhodes Feb 22, 2025
869958c
Fix: comets were always giving 'str' as their name
brandon-rhodes Feb 22, 2025
fb12074
Fix #959: Kepler orbits with time arrays of len==1
brandon-rhodes Feb 22, 2025
4465fc7
Turn deprecated `parse_tle()` into a small wrapper
brandon-rhodes Feb 22, 2025
3413954
Switch build_arrays to dict version of IERS data
brandon-rhodes Feb 23, 2025
24745f4
Streamline the satellite find_events() tests
brandon-rhodes Feb 23, 2025
01499b6
Fix: find_events() rising without any culmination
brandon-rhodes Feb 23, 2025
39f1626
Add find_rising() test to keep #996 fixed
brandon-rhodes Feb 23, 2025
3ca3426
Replace calls to .take() with plain NumPy indexing
brandon-rhodes Feb 23, 2025
9ab9633
Prevent satellite find_events() from exiting early
brandon-rhodes Feb 23, 2025
88f2cec
Add two more recent issue links to the CHANGELOG
brandon-rhodes Feb 23, 2025
8881e22
Avoid scrambling close satellite rise + culminate
brandon-rhodes Feb 23, 2025
b11305b
Fix TLE string that was breaking Python 2 in CI
brandon-rhodes Feb 23, 2025
5b0529b
Add item about ∆T update to CHANGELOG
brandon-rhodes Feb 23, 2025
278c751
Switch `bin/build` from setuptools to `uv build`
brandon-rhodes Feb 23, 2025
bfca90b
Drop Python 2.6 classifier; we don’t test for 2.6
brandon-rhodes Feb 23, 2025
95fc012
Test script for Python 3.7,3.13; tweak classifiers
brandon-rhodes Feb 23, 2025
3556c1b
Declare version 1.51
brandon-rhodes Feb 23, 2025
bd9e7cb
Update the sgp4 version we depend on
brandon-rhodes Feb 23, 2025
df2c9d0
Fix CHANGELOG dates for versions 1.50 and 1.51
brandon-rhodes Feb 26, 2025
fd00f02
Fix infinite loop in refract() if given NaN coord
brandon-rhodes Mar 5, 2025
31c6b5f
Fix: add frame tie to mean-equator-equinox frame
brandon-rhodes Mar 9, 2025
55ad886
Docs: fix a broken cross reference
brandon-rhodes Mar 11, 2025
767b1cb
Fix #1057: be more cautious as rising converges
brandon-rhodes Mar 16, 2025
c2e5c4a
Fix #1012: stop using deprecated utcnow()
brandon-rhodes Mar 17, 2025
7d33727
Fix CI: datetime.UTC was not added til Python 3.11
brandon-rhodes Mar 17, 2025
c6863d6
Fix a DeprecationWarning under Python 3.13
brandon-rhodes Mar 18, 2025
0ab4728
Start building Python 3.13 container for tests
brandon-rhodes Mar 18, 2025
3962440
Docs: separate ‘make sync’ from ‘make push’
brandon-rhodes Mar 18, 2025
eb896ee
Lock in requirements.txt pygments version
brandon-rhodes Mar 18, 2025
fa615df
Upgrade dev environment to Python 3.8
brandon-rhodes Mar 18, 2025
f7da371
Test script: die on Python deprecation warnings
brandon-rhodes Mar 18, 2025
6493231
Declare version 1.52
brandon-rhodes Mar 18, 2025
01da910
Fix: new `Stack` needs to remember its ephemeris
brandon-rhodes Apr 7, 2025
085df8a
Reduce test BSP size, since it ships with Skyfield
brandon-rhodes Apr 7, 2025
72deb75
Only use array calls in UTC methods that need them
brandon-rhodes Apr 7, 2025
e87d8da
Declare version 1.53 and update CHANGELOG
brandon-rhodes Apr 7, 2025
b765d55
Allow an ndarray to be subtracted from a Time
brandon-rhodes Apr 27, 2025
37cf991
Quick design script for finding conjunctions
brandon-rhodes Apr 27, 2025
35f4b94
Tweak sunrise design script to take cmd line args
brandon-rhodes Mar 16, 2025
a7916fb
Script to let me see effect of Earth deflection
brandon-rhodes Mar 12, 2025
54b0983
Add test of deflections applied by .apparent()
brandon-rhodes May 5, 2025
2657129
Refactor deflection to put .apparent() in control
brandon-rhodes May 5, 2025
eabec37
Speed rising/setting by 30% by ignoring deflection
brandon-rhodes May 5, 2025
4d73efb
Fix broken Stellarium URL in example Python script
brandon-rhodes May 30, 2025
04cddb6
Allow segments to be removed from ephemeris object
brandon-rhodes May 30, 2025
52fd26c
Don’t pre-build vector functions for eph segments
brandon-rhodes Jun 2, 2025
4cf5f5d
Docs: change CometEls.txt mention to actual link
brandon-rhodes Nov 3, 2025
65a887e
Docs: describe how to load >1 ephemeris file #145
brandon-rhodes Nov 17, 2025
d185fae
Quick script to test for import loops
brandon-rhodes Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 81 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@

name: ci

on:
push:
branches:
- master
- ci

pull_request:
branches:
- master

jobs:
doctest-and-lint:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: 3.6.15

- name: Install pinned dependencies
run: |
python -m pip install --upgrade pip
pip install astropy==3.0.1 docutils==0.17.1 matplotlib==3.3.0 numpy==1.15.4 pandas==1.0.0 pyflakes scipy==1.2.2 sphinx==1.7.2 spktype21

- name: Install Skyfield
run: |
python setup.py sdist
pip install -e .

- name: Doctest
run: |
./test-docs.sh

- name: Lint
run: |
pyflakes $(find skyfield/ -name '*.py')

test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
python: [python2, python3]

steps:
- uses: actions/checkout@v2

- name: Install
run: |
sudo apt install -q -q python3-virtualenv virtualenv
virtualenv -p ${{matrix.python}} V

- name: Build scripts
run: |
cat <<'EOF' > GITHUB_INSTALL.sh
source ./V/bin/activate
echo PATH is $PATH
which python
python --version
python -m pip install --upgrade pip
python setup.py sdist
python -m pip install dist/*
python -m pip install mock pandas
python -m pip install https://github.com/brandon-rhodes/assay/archive/master.zip
EOF
cat <<'EOF' > GITHUB_TEST.sh
source ./V/bin/activate
cd ci && ../test-code.sh
EOF

- name: Install
run: |
bash -e -x GITHUB_INSTALL.sh

- name: Test
run: |
bash -e -x GITHUB_TEST.sh
22 changes: 14 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,29 @@
*.bsp
*.egg-info
*.ipynb_checkpoints
*.pck
*.pyc
*.tpc
*.tf
.cache/
.coverage/
.project
.pydevproject
.settings
.tox/
/build/
/dist/
/skyfield/documentation/_build/
/skyfield/documentation/_static/
Leap_Second.dat
/finals2000A.all
/documentation/_build/
/tmp*
/tyc_main.dat
5MKLEcatalog.txt
CometEls.txt
MANIFEST
MPCORB.DAT*
Soft0*.txt
Untitled*.ipynb
build
deltat.data
deltat.preds
hip_main.dat.gz
htmlcov/
active.txt
stations.txt
tmp*.py
design/active.txt
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.8.16
26 changes: 0 additions & 26 deletions .travis.yml

This file was deleted.

Loading