Skip to main content

Space Command

Project description

PyPi version Python versions

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.

Installation

For the stable release:: shell

$ pip install space-command

For the latest dev commit:: shell

$ pip install git+https://github.com/galactics/space-command

Features

Retrieve orbits as TLE from celestrak

$ space tle fetch
$ space tle get name ISS
ISS (ZARYA)
1 25544U 98067A   18217.29289738  .00001607  00000-0  31893-4 0  9999
2 25544  51.6423 133.9734 0005443  28.3880 115.1824 15.53801660126150

Animated map showing position of a satellite (e.g. the ISS)

$ space map ISS

Compute and display moon phase

$ space phase Moon --graph

Retrieve Solar System bodies ephemeris

$ space planets Moon
$ space planets fetch   # Retrieve planetary ephemeris
$ space planets Mars Jupiter Saturn

Predict passes of planets or satellites

$ space planets Mars | space passes <station> -
$ space tle find OSCAR 7 | space passes <station> -

Changelog

[0.4.2] - 2019-02-23

Added

  • Logging

  • Tests

  • space events subcommand computes all orbital events of a satellite (AOS/LOS, Apogee/Perigee, etc.)

  • space phase to compute the phase of available planets and moons

  • groundtracks optional on map

Removed

  • space moon subcommand. This is now handled by the more generic space phase

[0.4.1] - 2018-11-01

Added

  • TLE database dump and statistics

  • Station map

  • Stations’ characteristics defined in config file are now set as attributes of the station object

[0.4] - 2018-10-20

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

[v0.3] - 2018-07-24

Added

  • Possibility to create your own commands with the space.command entry point.

  • Search TLE containing a string

  • Retrieve all chronological TLE of an object

  • space map displays 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

space-command-0.4.2.tar.gz (3.6 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page