245c0384d8
- 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 pytho312 testing with a new assay
Benjamin Greiner2024-03-24 11:24:20 +00:00
168658d226
Accepting request 1143991 from devel:languages:python:numeric
Ana Guerrero2024-02-04 18:09:56 +00:00
b00f46bb43
- 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
Benjamin Greiner2024-02-04 11:47:10 +00:00
152e283c12
- 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
Benjamin Greiner2022-08-11 09:31:00 +00:00
b530720669
- 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
Benjamin Greiner2020-12-15 18:13:10 +00:00
4660988427
Accepting request 854365 from home:bnavigator:branches:devel:languages:python:numeric
Benjamin Greiner2020-12-09 23:12:28 +00:00
27736ff2a0
- 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. #450Benjamin Greiner2020-09-26 08:26:10 +00:00
cfce1f9c52
- 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.
Benjamin Greiner2020-09-16 09:58:31 +00:00
1eb56fd403
- 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
Benjamin Greiner2020-07-22 14:15:27 +00:00