Skip to content

Commit cabd09b

Browse files
Fix terminology: alt, az, distance, not “height”
1 parent 4652d58 commit cabd09b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

skyfield/documentation/earth-satellites.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,21 +415,21 @@ A negative altitude means the satellite is that many degrees below the horizon.
415415

416416
.. testcode::
417417

418-
alt, az, height = topocentric.altaz()
418+
alt, az, distance = topocentric.altaz()
419419

420420
if alt.degrees > 0:
421421
print('The ISS is above the horizon')
422422

423423
print('Altitude:', alt)
424424
print('Azimuth:', az)
425-
print('Height: {:.1f} km'.format(height.km))
425+
print('Distance: {:.1f} km'.format(distance.km))
426426

427427
.. testoutput::
428428

429429
The ISS is above the horizon
430430
Altitude: 16deg 16' 32.6"
431431
Azimuth: 350deg 15' 20.4"
432-
Height: 1168.7 km
432+
Distance: 1168.7 km
433433

434434
The azimuth is measured clockwise around the horizon,
435435
just like the degrees shown on a compass,

0 commit comments

Comments
 (0)