Most of the work in this standalone script is checking and
converting the command line arguments. We'll make heavy
use of Python's re regular expression
package.
#!/usr/bin/env python #================================================================ # jd: Convert date and time to Julian date # For documentation, see: # http://www.nmt.edu/tcc/help/lang/python/examples/sidereal/ims/ #----------------------------------------------------------------