Commit Graph

1677 Commits

Author SHA1 Message Date
Frédéric Péters b0e2e952f9 debian: use debhelper compat level 12 2021-12-12 14:37:51 +01:00
Frédéric Péters 2afa45bb75 debian: declare package dependencies 2020-07-27 07:56:53 +02:00
Frédéric Péters 2576414c84 add debian packaging 2020-07-26 22:43:10 +02:00
Brandon Rhodes f4d265e5f0 Finish up docs and declare version 1.25 2020-07-24 06:06:36 -04:00
Brandon Rhodes 614fa8b5f5 Fix #143: routine to read Stellarium star names 2020-07-24 05:34:25 -04:00
Brandon Rhodes bce98b8fd6 Remove old notebook with constellation parser
Look at that!  Back in 2015 someone contributed an example routine that
I just re-wrote without remembering it was there.  I guess I should grep
for “new” features before sitting down to re-implement them.
2020-07-24 05:02:44 -04:00
Brandon Rhodes 6e0201ecab For #411, get all tests running under 32-bit Linux 2020-07-24 04:35:13 -04:00
Brandon Rhodes b5d5e37342 Only use “--batch” if no test arguments specified 2020-07-24 04:16:33 -04:00
Brandon Rhodes 0c834113bc Upgrade 32-bit test container to also have Pandas 2020-07-24 04:03:19 -04:00
Brandon Rhodes 00f0a35743 Let test runner scripts take commamd line args 2020-07-24 03:53:31 -04:00
Brandon Rhodes 988bd19946 Explain: scripts might break with older matplotlib 2020-07-24 03:50:05 -04:00
Brandon Rhodes f477b6a996 Upgrade matplotlib, numpy on CI as well 2020-07-24 00:18:54 -04:00
Brandon Rhodes c6195fceae Add CHANGELOG entry about constellation lines 2020-07-24 00:17:52 -04:00
Brandon Rhodes df8f5479ca Regenerate diagram PNGs after matplotlib upgrade 2020-07-24 00:09:53 -04:00
Brandon Rhodes c33b825944 Example script that produces a comet finder chart 2020-07-24 00:09:33 -04:00
Brandon Rhodes d54977e7d2 Update test repr to match new ci/hip_main.dat.gz 2020-07-23 23:40:51 -04:00
Brandon Rhodes 182c18d62c Add bright Comet NEOWISE to in-repo comets file 2020-07-23 23:21:25 -04:00
Brandon Rhodes e95d6e503b Expand in-repo Hipparcos catalog to magnitude 6.6 2020-07-23 23:20:35 -04:00
Brandon Rhodes 84951b3057 Add 32-bit test container to test fixes for #411 2020-07-22 13:21:50 -04:00
Brandon Rhodes 952884657e Quick script for running tests against Python 2.6 2020-07-22 11:47:14 -04:00
Brandon Rhodes b4359e28e1 Fix a broken cross reference in the CHANGELOG 2020-07-22 11:15:08 -04:00
Brandon Rhodes 9c1faa95d1 Try unittest.mock before third-party mock library 2020-07-22 10:28:23 -04:00
Brandon Rhodes dda2b2f1a4 Add CHANGELOG entry 2020-07-22 08:59:09 -04:00
Brandon Rhodes a8e66742b4 Fix #409 ts.utc() would die if given a date object
The routine would die because `combine()` is a class method, not a
module method; and because it needed a timezone.  A test is here added
to keep the feature fixed.  Also, the timelib module used `dt` for the
`datetime` module but also sometimes as a convenient local name for a
`datetime`, so let’s rename the module to `dt_module` for readability
and consistency.  Inspired by the attempted fix in #410.
2020-07-22 08:46:49 -04:00
Brandon Rhodes 0af8e01b4a Switch to faster read_csv() for Hipparcos catalog
Yes, it has fixed-width fields, but Pandas is slow at importing those,
so we take advantage of the fact that it also has delimiters!
2020-07-21 07:19:22 -04:00
Brandon Rhodes a7c2794b60 Convert docs entirely over to using plt.subplots()
This eliminates repeated deprecation warnings when rendering the docs:

```
MatplotlibDeprecationWarning: Adding an axes using the same arguments as
a previous axes currently reuses the earlier instance.  In a future
version, a new instance will always be created and returned.  Meanwhile,
this warning can be suppressed, and the future behavior ensured, by
passing a unique label to each axes instance.
```
2020-07-21 06:21:16 -04:00
Brandon Rhodes 9462af0f4e Declare version 1.24 2020-07-20 21:40:23 -04:00
Brandon Rhodes cf94de371d Discover how to make ITRF->GCRS very high accuracy
But don’t turn it on by default because, wow, it’s expensive!
2020-07-20 21:29:25 -04:00
Brandon Rhodes d2e0549601 Make the Earth rotation angle vastly more precise 2020-07-20 12:01:25 -04:00
Brandon Rhodes 0099c353e7 Improve precision of sidereal time equinox method
This does not affect any tests, but seems worth carrying through as I am
otherwise trying to improve precision in Earth rotation.
2020-07-19 06:06:02 -04:00
Brandon Rhodes 43fdb7bc9d Note the units of a few constants 2020-07-19 05:38:44 -04:00
Brandon Rhodes bba1f8bc94 For #350, add a long-term TODO item 2020-07-17 11:12:46 -04:00
Brandon Rhodes a7f8863d6b Add CHANGELOG entries for new ts.from_datetime() 2020-07-17 10:09:03 -04:00
Brandon Rhodes 24b0ac3700 For #406, add Time constructors from datetimes
This was previously an implicit power of `ts.utc()` which was more
difficult for users to find.
2020-07-17 09:41:48 -04:00
Brandon Rhodes d23ce4e1ee For #406, mention more modern timezone sources 2020-07-17 08:18:50 -04:00
Brandon Rhodes b8fdc4dc4a For #407, explain that open() does not re-download 2020-07-17 06:08:15 -04:00
Brandon Rhodes 5d17b96fcb Lock in velocity accuracy with an actual test 2020-07-17 05:55:34 -04:00
Brandon Rhodes 3c5b869131 Fix order of operations in ITRF_to_GCRS2()
Because two components of the position vector are used to finish
building the velocity vector, it was a mistake to rotate the position
vector using the M matrix until after the velocity vector has also been
built.  This increases by almost two magnitudes the agreement between
Earth satellite reported velocities and the actual difference between
their successive positions.
2020-07-16 16:31:02 -04:00
Brandon Rhodes d5736b1832 Fix docs: slight change in satellite numbers 2020-07-16 06:09:07 -04:00
Brandon Rhodes aff3731cf7 Use JD whole + fraction when computing GMST1982
This eliminates one source of noise as I dive into why Skyfield
satellite velocities do not hew as closely to actual satellite motion as
they do when the underlying sgp4 library is used alone.
2020-07-16 05:53:22 -04:00
Brandon Rhodes d2b105d6a0 Extend two-float precision to how UT1 is stored 2020-07-15 06:24:48 -04:00
Brandon Rhodes da2e1fd735 Make TEME→ITRF test 20,000 times more sensitive
It turns out I was somehow being hamfisted in how I built the Julian
date to pass to `TEME_to_ITRF()` in the test.  By building the Julian
date manually, without going through a `Time` object, I can produce far
more exactly the quantities specified in AIAA-2006-6753 Appendix C.
2020-07-14 15:44:55 -04:00
Brandon Rhodes af622b7f69 Add another TODO item, for making API friendlier 2020-07-14 15:38:40 -04:00
Brandon Rhodes 87f4611030 Remove some old comment debris 2020-07-13 05:13:57 -04:00
Brandon Rhodes 72ff2c2348 For #402, try describing each axis of ICRS 2020-07-09 21:09:29 -04:00
Brandon Rhodes 2c13217b05 Update Positions doc: we now do comets, asteroids 2020-07-09 20:45:44 -04:00
Brandon Rhodes 1e7a7a0b58 Update Circular 179 link, and save it just in case 2020-07-09 20:21:18 -04:00
Brandon Rhodes 43bb53036d Remove old Keplerian library
With thanks to its author, @hoylemd, for this early prototype!
2020-07-09 19:31:46 -04:00
Brandon Rhodes 4fb5e7a9f4 Fix a :doc: link in documentation 2020-07-09 19:31:06 -04:00
Brandon Rhodes b4efc4f06a Update changelog and declare 1.23 2020-07-09 15:11:05 -04:00