Multi-Language VSOP87 Source Code Generator Tool
 
Select Body Select VSOP87 Series Version Select Programming Language
 
 
 
 Multi-Language VSOP87 Source Code Generator Tool v3.63 © Jay Tanner - 2017 
The purpose of this Multi-Language VSOP87 Source Code Generator Tool is to automate the process of writing of the primary programming source code needed to perform the core computations for the heliocentric coordinates of the major planets from Mercury to Neptune according to the full-precision VSOP87 theory.  It is based on and adapted from the original FORTRAN program and related data files.  I used this tool for accelerating the development of this web site and also for developing similar PC software.

The first step in computing the apparent position of a planet is computing the heliocentric coordinates (such as X,Y,Z) for both the planet and the Earth at the same moment.  In practice, writing the full-precision, hard-coded VSOP87 source code manually would be too prohibitive a task for a single human to attempt, due to the multiple thousands of mathematical terms, and very easily prone to typographical errors.  A single erroneous digit could be fatal until it was found and corrected.  This program does all the hard work and writes the complete core VSOP87 source code, in a matter of seconds, for all the program functions needed to compute the geometric (prior to any corrections) heliocentric coordinates on demand for any given moment over spans of thousands of years.

The programmer simply needs to copy/paste the source code generated by the tool to his/her program development environment and build upon it.  Generally, for the geocentric positions as tabulated in the standard astronomical almanacs, VSOP87 series C or D is used.  Series C is used on this web site.

In most cases, ready-to-use functions code should be returned, around which one can build a long-term astronomical ephemeris or other program requiring very accurate computation of actual planetary positions in space-time at any given moment.

This programming tool can save much time and labor for those do-it-yourself astro-programmers wishing to use the full-precision VSOP87 theory in their work to create custom Internet, PC or Mac software to compute planetary positions from scratch.


NOTE:

  • The time required to generate and return the source code may vary depending on the quality, speed and type
    of Internet connection you have. 


© Jay Tanner - 2017 - 3.63