Brandon Rhodes
5f4096cc94
Slight tweaks to the documentation
2018-02-11 15:34:10 -05:00
Brandon Rhodes
9ad28535ca
Add messages during excerpt operation
2018-02-11 13:51:33 -05:00
Brandon Rhodes
dd51993296
Add excerpt to the command line
2018-02-11 13:39:02 -05:00
Brandon Rhodes
b5f23ddbe2
Add subcommand for printing comment area
2018-02-11 12:06:28 -05:00
Brandon Rhodes
6b2207a345
Add test for “daf” subcommand
2018-02-11 11:50:48 -05:00
Brandon Rhodes
f2b7bd2543
Add subcommands to jplephem command line
2018-02-11 11:38:23 -05:00
Brandon Rhodes
9c141fb418
Read as little during excerpting as possible
2018-02-11 08:52:56 -05:00
Brandon Rhodes
214a153aaf
Add routine to create an excerpt of an ephemeris
2018-02-10 16:49:14 -05:00
Brandon Rhodes
1eb88928aa
Start work on excerpt()
2018-02-10 16:03:30 -05:00
Brandon Rhodes
8db6d31823
Two tweaks to write DAF files more accurately
2018-02-10 15:22:49 -05:00
Brandon Rhodes
36f7af2bc0
Better test: array can take up only part of record
2018-02-10 00:30:30 -05:00
Brandon Rhodes
d2dbd131c5
Slight tweaks to code
2018-02-10 00:21:57 -05:00
Brandon Rhodes
aa94c667ed
Make adding a new array kind of work
2018-02-09 23:48:09 -05:00
Brandon Rhodes
b7a4d0c45c
To fix the build,bid a fond farewell to Python 2.6
2018-02-09 07:32:50 -05:00
Brandon Rhodes
79fd50f382
Git ignore tmp*.py experimental scripts
2018-02-09 07:32:30 -05:00
Brandon Rhodes
062e3528e8
First rough version of routine to write new array
2018-02-08 22:59:10 -05:00
Brandon Rhodes
25eacd0f6d
Full tests of DAF from BytesIO and from real file
2018-02-08 09:03:41 -05:00
Brandon Rhodes
e551ef91af
Start writing a comprehensive test of DAF class
2018-02-08 08:16:37 -05:00
Brandon Rhodes
7abaabdaf6
Add method that knows where summary indexes are
2018-02-06 22:57:57 -05:00
Brandon Rhodes
8e65825eaf
Avoid antipattern of attribute that shows up later
2018-02-06 06:42:45 -05:00
Brandon Rhodes
b8b71644fa
Add routine for writing a new DAF file summary
2018-02-06 06:15:50 -05:00
Brandon Rhodes
e3f8d8053c
Switch DAF class to cached Struct objects
...
By making the underlying binary format accessible to the entire class,
this is going to enable routines that want to write DAF files instead of
just reading them.
2018-02-04 17:39:16 -05:00
Brandon Rhodes
508da37d3d
Introduce the idea of simply read()ing floats, too
2018-02-03 16:28:45 -05:00
Brandon Rhodes
f085d65f86
Mark `ephem.py` as deprecated
...
I just spent twenty minutes trying to figure out why there are two
duplicate implementations of Chebyshev before finally reconstructing
why. So let’s mark all of these routines as clearly deprecated, so in
the future I remember it each time I enter the file!
2018-02-03 15:10:44 -05:00
Brandon Rhodes
2ac532e81f
Remove unused import
2018-02-03 13:24:15 -05:00
Brandon Rhodes
f6c2d965ce
Make README test instructions more complete
2018-02-03 12:27:53 -05:00
Brandon Rhodes
0a983f956c
Add note to README about how to run the tests
2018-02-03 12:24:26 -05:00
Brandon Rhodes
ea1db228f6
Add link to Skyfield to README
2018-02-03 11:56:25 -05:00
Brandon Rhodes
59b46f2e27
Update version to 2.6
2016-12-20 00:46:03 -05:00
Brandon Rhodes
043c660cd4
Fix test to match de405 we actually download
...
In other news: I had forgotten that the version of de405 that this
project's `.travis.yml` downloads from http://naif.jpl.nasa.gov is
different from the one that Skyfield gets from the ssd.jpl.nasa.gov
server. I kind of wish that there were only one version of DE405.
2016-12-20 00:32:49 -05:00
Brandon Rhodes
cc3bb7f239
Fix #21 by repairing broken command line; add test
2016-12-20 00:22:36 -05:00
Brandon Rhodes
7141d349e3
Include instructions for fixing a test skip
2016-12-20 00:13:09 -05:00
Brandon Rhodes
001709dede
Remove old conda recipe in favor of feedstock
2016-06-08 14:14:05 -04:00
Brandon Rhodes
40afdb4a49
Fix #18 by adding explicit close() method
...
This relies on reference counting (or garbage collection) to destroy the
memory map segments hiding behind the various NumPy arrays that are
sitting behind each Segment. In the future we might want to be more
proactive about getting each memory map destroyed immediately too.
Happily, the close() calls this patch makes during tests also eliminate
several "ResourceWarning: unclosed file" warnings that print out when
the tests are run under Python 2.5.
2016-06-08 01:17:04 -04:00
Brandon Rhodes
6b2ed1e61f
Switch setup.py `install_requires` to `requires`
...
Will hopefully fix #16 .
2016-04-02 20:25:01 -04:00
Brandon Rhodes
c66d674a35
Stop fetching deprecated ephemeris package
...
There is really no point in having Travis burn bandwidth for this on
every commit any more.
2016-04-02 20:22:31 -04:00
Brandon Rhodes
7891d59ac3
Add Python 3.5 to Travis configuration
2016-04-02 20:22:01 -04:00
Brandon Rhodes
6e244b333f
Update gitignore file
2016-03-31 08:05:54 -04:00
Brandon Rhodes
368abd7637
Fix JPL report links in old ephemeris READMEs
...
Apparently JPL report URLs sometimes change. I will not be uploading
new versions of these ephemerides, and maybe should remove them someday
from PyPI, but will run "setup.py register" to update the links for now.
2016-03-31 08:04:04 -04:00
Brandon Rhodes
7c76b16514
Support getting summaries from StringIO files
2015-11-09 16:53:37 -05:00
Brandon Rhodes
f6ec306ba6
Update documentation and bump version to 2.4
2015-11-01 21:20:41 -05:00
Brandon Rhodes
1c02f0e1ba
Fix #13 by switching to "ALLOCATIONGRANULARITY"
2015-11-01 21:16:35 -05:00
Brandon Rhodes
13a308db04
Prevent deprecation warning for float in `shape`
2015-10-19 09:37:29 -04:00
Brandon Rhodes
f340ca5a1d
Add names for timescales now included in DE430
2015-10-19 09:35:06 -04:00
Brandon Rhodes
a8bd0df3f4
Bump version and documentation to version 2.3
2015-08-16 23:02:23 -07:00
Brandon Rhodes
f00421d644
Roll legacy DAF support into main class
2015-08-15 22:03:38 -07:00
Brandon Rhodes
2b68f30044
Fix the docstring for the SPK class
2015-08-15 22:03:28 -07:00
Brandon Rhodes
1f3db1417e
Final tweaks that bring it to version 2.2
2015-08-05 11:19:20 -04:00
Brandon Rhodes
93f7e54e80
Add de405 to kernels downloaded for Travis CI test
2015-08-04 09:07:24 -04:00
Brandon Rhodes
3e80ee714c
Add a function for reading an ASCII header file
...
Fixes #9 .
2015-08-03 23:38:47 -04:00