From 2d104a43b47ad37e783038ed96fb8048132fb778 Mon Sep 17 00:00:00 2001 From: Brandon Rhodes Date: Sat, 5 Oct 2024 05:30:37 -0400 Subject: [PATCH] Be more consistent in mentioning latitude first --- documentation/api-topos.rst | 2 +- documentation/earth-satellites.rst | 2 +- skyfield/positionlib.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/api-topos.rst b/documentation/api-topos.rst index 3e82e366c..ab374eb11 100644 --- a/documentation/api-topos.rst +++ b/documentation/api-topos.rst @@ -24,7 +24,7 @@ .. attribute:: model The :class:`Geoid`, like WGS84 or IERS2010, - that this position uses to map longitude, latitude, and elevation + that this position uses to map latitude, longitude, and elevation to a three-dimensional Cartesian position. .. attribute:: latitude diff --git a/documentation/earth-satellites.rst b/documentation/earth-satellites.rst index b9e1b22b7..8548362f3 100644 --- a/documentation/earth-satellites.rst +++ b/documentation/earth-satellites.rst @@ -514,7 +514,7 @@ than those of the old J2000 system.) [-3918.87650458 -1887.64838745 5209.08801512] -Satellite longitude, latitude, and height +Satellite latitude, longitude, and height ========================================= Once you have computed a geocentric satellite position, diff --git a/skyfield/positionlib.py b/skyfield/positionlib.py index cb71b9b0e..f64c9f4cf 100644 --- a/skyfield/positionlib.py +++ b/skyfield/positionlib.py @@ -462,7 +462,7 @@ def frame_xyz_and_velocity(self, frame): return Distance(r), Velocity(v) def frame_latlon(self, frame): - """Return longitude, latitude, and distance in the given frame. + """Return latitude, longitude, and distance in the given frame. Returns a 3-element tuple giving the latitude and longitude as :class:`~skyfield.units.Angle` objects and the range to the @@ -477,7 +477,7 @@ def frame_latlon(self, frame): Distance(d)) def frame_latlon_and_rates(self, frame): - """Return a reference frame longitude, latitude, range, and rates. + """Return a reference frame latitude, longitude, range, and rates. Return a 6-element tuple of 3 coordinates and 3 rates-of-change for this position in the given reference ``frame``: