Revisions of python-skyfield
- Update to 1.48 * Times now support the ``<`` operator, so Python can sort them. * For convenience, geoids like :data:`~skyfield.toposlib.wgs84` have a new attribute :data:`~skyfield.toposlib.Geoid.polar_radius`. * You can no longer subtract two positions unless they have the same ``.center``. Otherwise, a ``ValueError`` is raised. This check has always been performed when you subtract vector functions, but it was missing from the position subtraction routine. * On days that the Sun fails to rise and set in the Arctic and Antarctic, the new rising and setting routines now correctly set the value ``False`` not only for sunrise but also for sunset. - Reenable Python 3.12 testing with a new assay
- Update to 1.47 * Added faster and more accurate almanac routines :func:`~skyfield.almanac.find_risings()` and :func:`~skyfield.almanac.find_settings()` and :func:`~skyfield.almanac.find_transits()`. * Skyfield’s internal table for the ∆T Earth orientation parameter has been updated, so that its predictions now extend to 2025-01-18. * Constellation abbreviations are now consistent between the :func:`~skyfield.api.load_constellation_map()` table and the :func:`~skyfield.api.load_constellation_names()` list. Previously, ``CVn`` and ``TrA`` had been mis-capitalized in the list as ``Cvn`` and ``Tra``. - Skip testing python312: gh#brandon-rhodes/assay#15 still an issue
- Don't build for python311: gh#brandon-rhodes/assay#15
- 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. (forwarded request 1060130 from bnavigator)
- Update to v1.43.1 * An attempt at overly clever scripting resulted in a Skyfield 1.43 release without a setup.py in its .tar.gz; within an hour, a Python 2.7 user had reported that Skyfield could no longer install. This release is identical to 1.43 but (hopefully) installs correctly for everyone! - Changelog v1.43 * Fixed planetary_magnitude() so it works for Saturn even when the time is an array rather than a single time; also, improved its calculation slightly with respect to Uranus. #739 * Improved load_comets_dataframe() so that parsing CometEls.txt with the most recent version of Pandas doesn’t stumble over the commas in the final field of (for example) Halley’s Comet and give the error ParserError: Error tokenizing data. C error: Expected 12 fields…saw 13. #707 - Changelog v1.42 * Added two new position methods phase_angle() and fraction_illuminated() that, given an illuminator (usually the Sun) as their argument, compute whether the observer is looking at the bright side or the dark side of the target body. They replace a pair of old functions in the almanac module. * The almanac routine moon_nodes() would sometimes skip nodes that were closer together than 14.0 days. It has been tightened down and should now detect all lunar nodes. #662 * Time objects now feature a to_astropy() method. * The position method to_skycoord() now sets the frame attribute of the sky coordinate it returns, and for now only supports barycentric and geocentric positions. #577 - Changelog v1.41 * Times now support arithmetic: you can add or subtract from a
- Run assay up to 3 times in case of flaky pickling errors
- Update to 1.39 * The Angle.dstr() and Angle.hstr() methods now accept a format= argument that lets callers override Skyfield’s default angle formatting and supply their own; see Formatting angles. #513 * The prototype planetary_magnitude() function now works not only when given a single position, but when given a vector of several positions. - Release 1.38 * Replaced the old historic ∆T table from the United States Naval Observatory with up-to-date splines from the 2020 release of the extensive research by Morrison, Stephenson, Hohenkerk, and Zawilski and also adjusted the slope of Skyfield’s near-future ∆T estimates to make the slope of ∆T much less abrupt over the coming century. * Added a full reference frame object for the TEME reference frame used by SGP4 Earth satellite elements. - Release 1.37 * Added a frame_latlon_and_rates() method that can compute the rates at which angles like altitude and azimuth, or right ascension and declination, are changing. * Accepted a contributor’s helpful fix for a rounding error that had slightly shifted a few constellation boundaries. #548 * The Time tuple utc and method utc_strftime() are now backed by the same math, so they always advance to the next calendar day at the same moment. This makes it safe to mix values returned by one of them with values returned by the other. #542 * Vector subtraction now returns the position subclass specific to the resulting vector’s center. #549 - Release 1.36
- Fix boo#1182424: Use https url of the Hipparcos catalog
- Update to v1.34 * The position classes have gained methods frame_xyz(), frame_xyz_and_velocity(), frame_latlon(), and from_time_and_frame_vectors() that work with a new library skyfield.framelib to offer a number of familiar reference frames. These replace the existing ad-hoc position methods for ecliptic and galactic coordinates, which are now deprecated (but will continue to be supported). See Coordinates in other reference frames. * Added support for IERS Polar Motion 𝑥 and 𝑦. * Added a method lst_hours_at() that computes Local Sidereal Time. * A new almanac routine moon_phase() returns the Moon phase as an angle where 0° is New Moon, 90° is First Quarter, 180° is Full, and 270° is Last Quarter. #282 * Almanac search routines that previously returned a Boolean true/false array now return an integer 0/1 array instead, to work around a new deprecation warning in NumPy which, for example, would have outlawed using the Boolean array from moon_nodes() to index into the MOON_NODES list that provides a name for each node. #486 * The undocumented columns magnitude_H and magnitude_G in the Minor Planet Center comets dataframe have been renamed magnitude_g and magnitude_k following further research on the file format (which does not itself document which magnitude model is intended). #416 - add finals2000A.all to testdata - Define skip_python36 for TW, because current astropy needs Python >=3.7
- Update to version 1.29 * Fix: the new Julian calendar feature was raising an exception in the calendar methods like `skyfield.timelib.Time.tt_calendar()` if the time object was in fact an array of times. #450 * Fix: trying to iterate over a time object would raise an exception if the time was created through `~skyfield.timelib.Timescale.ut1()`. - Version 1.28 * Broken URL: Because the VizieR archive apparently decided to uncompress their copy of the hip_main.dat.gz Hipparcos catalog file, the old URL now returns a 404 error. As an emergency fix, this version of Skyfield switches to their uncompressed hip_main.dat. Hopefully they don’t compress it again and break the new URL! A more permanent solution is discussed at: #454 * To unblock this release, removed a few deprecated pre-1.0 experiments from April 2015 in skyfield.hipparcos and skyfield.named_stars that broke because the Hipparcos catalog is no longer compressed; hopefully no one was using them. * In a sweeping internal change, the `~skyfield.timelib.Timescale` and `~skyfield.timelib.Time` objects now offer support for the Julian calendar that’s used by historians for dates preceding the adoption of the Gregorian calendar in 1582. See choice of calendars if you want to turn on Julian dates in your application. #450
- Update to version 1.27 * The printed appearance of both vectors and of vector functions like Earth locations and Earth satellites have been rewritten to be more informative and consistent. * Added compute_calendar_date() which lets the caller choose the Julian calendar for ancient dates instead of always using the proleptic Gregorian calendar. This should be particularly useful for historians. * Added J() that builds a time array from an array of floating point years. #436 * Added four new strftime methods for the non-UTC timescales (#443). All four of them support %f for microseconds, and provide a reasonable default format string for callers who don’t wish to concoct their own: tai_strftime() tt_strftime() tdb_strftime() ut1_strftime() * Thanks to several fixes, comets and asteroids with parabolic and hyperbolic orbits should now raise fewer errors. * The prototype planetary_magnitude() can now return magnitudes for Uranus without raising an exception. The routine does not yet take into account whether the observer is facing the equator or poles of Uranus, so the magnitude predicted for the planet will only be accurate to within about 0.1 magnitudes.
- Update assay to commit 256.23c18c2 in order to fix non x86 builds
- Update to version 1.26 - make builds reproducible gh#skyfielders/python-skyfield#415
- release precision for i586 test gh#skyfielders/python-skyfield#411 - Update to Version 1.24 * Added methods :meth:`~skyfield.timelib.Timescale.from_datetime()` and :meth:`~skyfield.timelib.Timescale.from_datetimes()` to the :class:`~skyfield.timelib.Timescale` class, to better advertise the ability to build a Skyfield time from a Python datetime — an ability that was previously overloaded into the year parameter of the :meth:`~skyfield.timelib.Timescale.utc()` method (where it is still supported for backwards compatibility, but no longer documented). * Fix: improved the accuracy with which velocity is converted between the Earth-fixed ITRF frame that rotates with the Earth and the inertial GCRS frame that does not. In particular, this should make Earth satellite velocities more accurate. - rebase patches skyfield-pr404-comparefloat.patch and skyfield-pr405-replace-assay-by-pytest.patch
Displaying revisions 1 - 20 of 21