This script takes one command line argument, a Julian date as a float, and converts it to civil units.
#!/usr/bin/env python #================================================================ # conjd: Convert Julian date to date and time # For documentation, see: # http://www.nmt.edu/tcc/help/lang/python/examples/sidereal/ims/ #----------------------------------------------------------------