2. File Overview and Installation
The following files make up the NOVAS-C system:
File name
Description
novas.c
contains all supervisory and utility functions and most basic functions
novas.h
header file for novas.c (includes structure definitions and function prototypes)
novascon.c
contains most mathematical and physical constants used by the NOVAS-C system
novascon.h
header file for novascon.c
solsys2d.c
version of function solarsystem that serves as an interface between NOVAS-C and the JPL lunar
solsys3.c
version of function solarsystem that provides the position and velocity of the Earth or Sun
In addition, the following files are provided to assist in validating the installation of NOVAS-C on your
local system:
checkout.c
main function that calls functions in novas.c and solsys3.c for the purpose of validating a local
installation
checkout.no
output from the "checkout" application computed at USNO; compare this file with results
obtained from your local installation
To install NOVAS-C on your local system, do the following:
· Copy all NOVAS-C files to a directory on your local system.
· Compile and link files checkout.c, novas.c, novascon.c, and solsys3.c. Name the resulting
application "checkout".
· Run the checkout application. Compare the results that you get (in the file checkout.out) with the
data in file checkout.no. If the results agree, the installation has probably been successful.
Important Note
The checkout application exercises one supervisory function and most, but not all, of the low-level
functions in novas.c. Also, the checkout application does not use solsys2d.c; hence, planetary positions
(other than those of the Earth) are not tested. Thus, use of the checkout application is not a complete test of
NOVAS-C. A more complete check of your NOVAS-C implementation can be made by comparing the
results from the NOVAS-C supervisory functions with results from the analogous NOVAS Fortran
supervisory functions.