PyEphem–computing sunrise/sunset in Python

PyEphem has some of the functionality for Python that the NAIF SPICE package has for C, FORTRAN, IDL, and MATLAB–specifically, the ability to perform high-precision astronomical calculations.

Example of PyEphem usage for local sunrise/sunset

Leave a Comment