Skip to content

Instantly share code, notes, and snippets.

@xiaozangyu
xiaozangyu / satellitetracker.py
Created April 25, 2022 14:19 — forked from andresv/satellitetracker.py
Pyephem satellite tracker
import sys
import time
import datetime
from math import *
import ephem
# taken from: http://celestrak.com/NORAD/elements/cubesat.txt
ec1_tle = { "name": "ESTCUBE 1", \
@xiaozangyu
xiaozangyu / tle_iss_nasa.py
Created November 9, 2021 04:49 — forked from komasaru/tle_iss_nasa.py
Python script to get TLE from NASA.
#! /usr/local/bin/python3.6
"""
直近 TLE データ取得 (from NASA)
: 過去の直近の TLE データ1件を取得する
(過去データが存在しなければ、未来の直近データ)
date name version
2018.06.12 mk-mode.com 1.00 新規作成
Copyright(C) 2018 mk-mode.com All Rights Reserved.