The space command allows to compute the position of satellites and their passes above our head.
In order to do this, it uses the beyond library.
For the stable release
$ pip install space-commandFor the latest development version
$ pip install git+https://github.com/galactics/beyond
$ pip install git+https://github.com/galactics/space-command- Retrieve orbits as TLE from Celestrak or Space-Track
- Compute visibility from a given point of observation
- Compute phases of the Moon and other solar system bodies
- Animated map of the orbit of satellites
- Compute events for a given satellite (day/night, node, AOS/LOS, etc.)
- Retrieve Solar System bodies ephemeris
See documentation for a list of all the features.
Added
- Python 3.11 support
space tledisplays total insertions from celestrakspace stationcreation can now handle negative coordinatesspace logshow current versions of beyond and space-command
Modified
- Subcommands are now listed without discrimination between official and third-party entry points.
Removed
- Python 3.6 support
Added
- Python 3.9 and 3.10 support
- Option to force CCSDS format (XML or KVN)
space mapadd pause buttonspace passeselevation graphspace logcolorized logspace tlenow parses GP data instead of old-style filesspace tlenow inserts tles in chuncks to avoid sqlite locks (@hamarituc)
Modified
- follow
beyondrefactoring of listeners
Added
space tlehistory range selectionwspace backupcommand to create, list and restore workspaces backupsorb2circle()function to quickly compute the circle of visibility of a spacecraftspace opmandspace oemcommands for OPM and OEM handling.toxpasses command-line arguments topytestif provided after--
Modified
- refactoring of
space map, as a subpackage parse_date()tries both default date format ("%Y-%m-%dT%H:%M:%S" and "%Y-%m-%d"), allowing for more relaxed dates command arguments- refactoring
space satwith documentation on each function
Removed
space ephemis replaced byspace oemspace stationdoes not allow interactive station creation anymore
Added
- black code style
- Retrieve available pages from Celestrak
- Parse time scale of a datetime argument (i.e. "2020-01-01T14:36:00 TAI")
wspacecan list and restore backupsspace planetdisplay the download progress- Support of Python 3.8
space eventscan compute Argument Of Latitude, and specific stations eventsspace mapcommand arguments to start at a given date, disable ground track or disable visibility circle
Modified
Sat.from_selectortake a single selector and return a single Sat instance. UseSat.from_selectors()for a generator.- Refactoring the space.tle module into a subpackage
Fixed
- Correction of sorting algorithm for
space tle space passesheader- Support of environment variable to set a proxy, even in async code
mapdoes not crash when an ephemeris is out of bound
Removed
- Support of python 3.5
- Unused imports
Added
space mapshows groundtrackspace eventscan selectively display one type of eventspace satsubcommand to handle the satellite databasespace ephemsubcommand to handle ephemerideswspacefor workspace managementspace passesnow has a csv output formatspace planetis able to fetch any bsp file defined in the config file
Modified
- Time span inputs normalized for all commands (20s, 3d12h5m, etc.)
- Satellites can now be accessed by other identifiers than name (norad=25544 and cospar=1998-067A are equivalent to "ISS (ZARYA)"). See
space sat - Logging is now with a timed rotating file
Added
- Logging
- Tests
space eventssubcommand computes all orbital events of a satellite (AOS/LOS, Apogee/Perigee, etc.)space phaseto compute the phase of available planets and moons- groundtracks optional on map
Removed
space moonsubcommand. This is now handled by the more genericspace phase
Added
- TLE database dump and statistics
- Station map
- Stations' characteristics defined in config file are now set as attributes of the station object
Added
- Compute ephemeris of solar system bodies (Moon, Mars, Jupiter, Titan, etc.)
- Moon phase computation
- Centralized date handling, via command
space clock - Allow TLE retrieval from Space-Track
Changed
- Database classes are now suffixed with Db
- Subcommand retrieving data from the web now use the argument fetch instead of get.
Removed
- Light propagation delay no longer taken into account. The computation was tedious, and has been removed from the beyond library
Added
- Possibility to create your own commands with the
space.commandentry point. - Search TLE containing a string
- Retrieve all chronological TLE of an object
space mapdisplays real-time position of objects- Compute moon phase
- Every command taking object names can also take TLE or CCSDS ephemeris via stdin
- add mask handling for stations
- Passes zenithal display optional
Changed
- MIT license replace GPLv3
Removed
- EOP database disabled by default.