Orbit provides an easy way to get a number of values, such as current latitude and longitude, from objects in space. Currently, any object with a corresponding Two Line Element (TLE) can be tracked. A list of supported objects is available from Celestrack at <http://www.celestrak.com/NORAD/elements/master.asp>. Usage looks like:
from orbit import satellite
# 25544 is the idenfier for the International Space Station # See http://www.celestrak.com/NORAD/elements/master.asp for an index # of identifiers.
iss = satellite(25544)
# Get the current lat/long of the satellite iss_current_latitude = iss.lat() iss_current_longitude = iss.long()
# Get the proper name of the satellite iss_name = iss.name()
# Get the elsat classificiation of the satellite iss_elsat_classification = iss.elsat_classification()
# Get the year the satellite launched iss_launch_year = iss.launch_year()
# Get the current TLE for the satellite iss_tle = iss.tle()
# Get the current elevation of the satellite iss_elevation = iss.elevation()
# True if the satellite is currently in the earth’s shadow iss_eclipsed = iss.eclipsed()
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file orbit-0.2.tar.gz.
File metadata
- Download URL: orbit-0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d21f280d38a5a461faace2bb27ff4dd2da0de5f894da9f245b21fa9a99c01d24
|
|
| MD5 |
92ace79d79ba3cc7696439d32dc90a7b
|
|
| BLAKE2b-256 |
0a277178cc94cbfd0e2627081bbae0af394a21cb1feaf0688e0412c3f3d40949
|