We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4652d58 commit cabd09bCopy full SHA for cabd09b
1 file changed
skyfield/documentation/earth-satellites.rst
@@ -415,21 +415,21 @@ A negative altitude means the satellite is that many degrees below the horizon.
415
416
.. testcode::
417
418
- alt, az, height = topocentric.altaz()
+ alt, az, distance = topocentric.altaz()
419
420
if alt.degrees > 0:
421
print('The ISS is above the horizon')
422
423
print('Altitude:', alt)
424
print('Azimuth:', az)
425
- print('Height: {:.1f} km'.format(height.km))
+ print('Distance: {:.1f} km'.format(distance.km))
426
427
.. testoutput::
428
429
The ISS is above the horizon
430
Altitude: 16deg 16' 32.6"
431
Azimuth: 350deg 15' 20.4"
432
- Height: 1168.7 km
+ Distance: 1168.7 km
433
434
The azimuth is measured clockwise around the horizon,
435
just like the degrees shown on a compass,
0 commit comments