Skip to main content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

NOVAS 3.1 - Fortran

Naval Observatory Vector Astrometry Software

Fortran Edition F3.1 (31 March 2011)

NOVAS Fortran is currently available at the Astrophysics Source Code Library .

NOVAS is an integrated package of functions for computing various commonly needed quantities in positional astronomy. The package can supply, in one or two function calls, the instantaneous coordinates of any star or planet in a variety of coordinate systems. At a lower level, NOVAS also provides astrometric utility transformations, such as those for precession, nutation, aberration, parallax, and gravitational deflection of light. The computations are accurate to better than one milliarcsecond. The NOVAS library is an easy-to-use facility that can be incorporated into data reduction programs, telescope control systems, and simulations. The U.S. parts of The Astronomical Almanac are prepared using NOVAS. C and Python editions of NOVAS are also available. See the NOVAS overview for more general information.

The NOVAS source code contains sufficient comment statements at each entry point to make the usage clear. Expanded explanations of the most frequently called subroutines and functions are provided in the User's Guide, which contains hypertext cross-references. Additional information about computation of nutation in NOVAS is available in USNO Circular 181.

NOVAS subroutines are mostly written in Fortran 77, but some subroutines have names that are longer than six characters. Also, constructs from later versions of Fortran that are universally supported have been used in several places.

For most high-level calculations, NOVAS requires access to the position and velocity vectors of solar system objects as a function of time. NOVAS subroutine SOLSYS provides these data. Users can choose from three versions of this subroutine that are supplied in the standard NOVAS distribution, or supply their own version. At the very least (for the computation of the apparent positions of stars), SOLSYS must provide ephemeris data for the Earth and Sun. For the highest accuracy requirements and most flexibility in usage, SOLSYS version 2 provides a direct interface to the planetary and lunar ephemerides produced by the Jet Propulsion Laboratory (JPL). The JPL ephemerides and the software to access them can be downloaded from the JPL web site . More information on the available versions of SOLSYS, the specifications of the SOLSYS subroutine call, and how to obtain and install the JPL ephemerides are provided in the User's Guide.

Key Changes Between Versions F3.0 and F3.1

NOVAS F3.1 fixes several minor problems in F3.0 and includes a few new features. Appendix B of the User's Guide provides a complete list of changes since version F2.0. The main differences between NOVAS F3.0 and F3.1 are as follows:

  • New subroutine CELTER transforms a vector from the celestial system (GCRS) to the terrestrial system (ITRS). It complements subroutine TERCEL.
  • Subroutine WOBBLE has an additional input option.
  • In subroutine CIOLOC, the dimensions of the placeholder variable A are set to avoid possible compiler warnings.
  • In subroutine PRECES, the precession rotation matrix is now initialized to the identity matrix. This change fixes a bug that occurs when the input and output Julian dates are both 2451545.0 on the first call to the subroutine.

For known issues with the code, see NOVAS User Updates and FAQ.

Direct questions, comments, and problem reports to our help desk.