Skip to content

Instantly share code, notes, and snippets.

View drbitboy's full-sized avatar

Brian Carcich drbitboy

  • Latchmoor Services, INC
  • Rochester, NY, USA
  • 13:04 (UTC -12:00)
View GitHub Profile

Keybase proof

I hereby claim:

  • I am drbitboy on github.
  • I am drbitboy (https://keybase.io/drbitboy) on keybase.
  • I have a public key ASAs56UgT4WNYs-nzayLVlqO14PtxyjSNuKzXCtaXbC27go

To claim this, I am signing this object:

@drbitboy
drbitboy / altaz2nrq.c
Created February 25, 2018 04:44
Three applications to convert Altitude and Azimuth to a NADIR_SUN-relative quaternion
/*
Purpose:
Convert nadir-relative Altitude and Azimuth to
nadir-relative quaternion
Usage:
altaz2nrq Alt Az MuNaught
@drbitboy
drbitboy / testpyephem.py
Created February 8, 2014 16:59
Self-contained test of range_velocity values in pyephem
"""
Usage: python testephem.py [ExportTLEs|exporttles]
"""
import re
import sys
import time
import math
import ephem
import urllib
import datetime
import re
import time
import ephem
import urllib
import datetime
from itertools import izip, count
#TLE
lines = []
for filepfx in 'goes other'.split():