PROJET AUTOBLOG


Korben

source: Korben

⇐ retour index

Comment traquer les satellites dans un terminal ?

lundi 23 novembre 2020 à 09:00

Ca vous dirait de suivre en temps réel les trajectoires de ces merveilleux satellites et autres télescopes Hubble ou ISS directement dans votre terminal Linux ?

Bah oui que ça vous dire, forcement, car c’est trop cool ! On a l’impression de bosser pour la NASA, et tout ça grâce au script Python TermTrack.

Pour installer TermTrack :

pip3 install termtrack

Ensuite, vous pouvez lancer l’utilitaire suivi du numéro de bidule en orbite que vous voulez suivre (la liste se trouve ici) et vous obtiendrez une merveilleuse carte en ASCII avec un petit X qui se balade, symbolisant le satellite que vous ciblez.

termtrack 45049

TermTrack propose également différentes options pour la carte comme la possibilité d’afficher les zones de nuit, la lune, le soleil ou les coordonnées du satellite…etc. Il est même possible de visualiser les satellites de Mars ou de la Lune mais vous serez déçu.

Usage: termtrack [OPTIONS] [SATELLITE]

  Shows a world map tracking SATELLITE. Valid values for SATELLITE are
  numbers from http://www.celestrak.com/NORAD/elements/master.php (for
  your convenience, a number of aliases have been provided).

  Example satellite aliases (find more with --aliases):
      hubble          Hubble Space Telescope
      iss             International Space Station

  Hotkeys:
      a       Toggle apsides markers
      c       Toggle next-orbit coverage overlay
      d       Toggle ascent/descent markers
      f       Toggle footprint (satellite horizon)
      g       Toggle latitude/longitude grid
      i       Toggle info panels
      n       Toggle night shading
      o       Cycle through drawing 0-3 next orbits
      p       Pause/resume
      q       Quit
      r       Reset plotted time to current
      t       Toggle topography
      x       Toggle crosshair
      left    Small step back in time
      right   Small step forward in time
      down    Large step back in time
      up      Large step forward in time

Options:
  --aliases         Show all satellite aliases and exit
  --apsides         Draw apoapsis and periapsis markers
  -b, --body BODY   Which celestial body to draw: Earth, Moon or Mars (defaults to Earth)
  -c, --coverage    Show next-orbit coverage overlay
  -f, --footprint   Draw satellite footprint/horizon
  --fps N           Frames per second (defaults to 1)
  -g, --grid        Draw latitude/longitude grid
  -i, --info        Show info panels
  -m, --me          Auto-detect your location as observer
  -n, --night       Shade night side
  -o, --orbits N    Draw this many orbits ahead of the satellite
  --orbit-ascdesc   Draw orbits with ascent/descent markers
  -O, --observer 'LAT LON'  Space-separated latitude and longitude of an
                            observer; overrides IP-geolocation
  -p, --paused       Start paused
  -P, --planets PLANETS     Comma-separated list of celestial objects to draw
                            (e.g. 'sun,moon')
  -r, --orbit-res [/]N[+]   Set distance of orbit markers: 'N' means N
                            minutes, '/N' means 1/Nth of orbital period,
                            append a plus sign to interpolate in between
                            markers (defaults to /70)
  -t, --topo         Enable coloring of topographical features
  --tle FILE         read TLE data from FILE instead of downloading it
                            (SATELLITE will have no effect and can be omitted)
  -x, --crosshair    Draw crosshair around satellite location
  --version          Show version and exit
  --help             Show this message and exit

VicTsing Clavier Filaire AZERTY

16,99 € soit 43% de réduction + un coupon automatique de 10% de promo supplémentaire

Clavier Chiclet 105 touches: des touches Chiclet à profil bas confortables et une disposition de clavier standard qui permet un frappe efficace et confortable – excellent pour un usage quotidien pratique pour n’importe quelle touche.

Les capuchons robustes en ABS avec caractères blancs vifs et faciles à lire assurent jusqu’à 10, 000, 000 fois de frappes. Prenez un verre pendant que vous travaillez – Ce clavier est conçu pour résister à un déversement accidentel(remarque: le clavier est résistant aux éclaboussures mais pas à l’eau.) n’immergez pas le clavier dans un liquide.

Voir la promo


<script type="text/javascript">;new advadsCfpAd( 119603 );<script type="text/plain" data-tcf="waiting-for-consent" data-id="118889" data-bid="1" data-placement="sous-article-avec-rotation">PGRpdiBpZD0iR0trQXpWYVMtNDE4OTcwMTg4IiBkYXRhLWNmcHRsPSIxIiBkYXRhLWNmcGE9IjExODg4OSI+PGRpdiBpZD0iNjk1NjktMiI+PHNjcmlwdCBzcmM9Ii8vYWRzLnRoZW1vbmV5dGl6ZXIuY29tL3MvZ2VuLmpzP3R5cGU9MiI+PC9zY3JpcHQ+PHNjcmlwdCBzcmM9Ii8vYWRzLnRoZW1vbmV5dGl6ZXIuY29tL3MvcmVxdWVzdGZvcm0uanM/c2l0ZUlkPTY5NTY5JiMwMzg7Zm9ybWF0SWQ9MiI+PC9zY3JpcHQ+PC9kaXY+CjwvZGl2PjxiciBzdHlsZT0iY2xlYXI6IGJvdGg7IGRpc3BsYXk6IGJsb2NrOyBmbG9hdDogbm9uZTsiLz48c2NyaXB0IHR5cGU9InRleHQvamF2YXNjcmlwdCI+O25ldyBhZHZhZHNDZnBBZCggMTE4ODg5ICk7PC9zY3JpcHQ+