Skip to content

Commit

Permalink
Be more consistent in mentioning latitude first
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed Oct 5, 2024
1 parent 49ebf74 commit 2d104a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion documentation/api-topos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion documentation/earth-satellites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions skyfield/positionlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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``:
Expand Down

0 comments on commit 2d104a4

Please sign in to comment.