The include files provided for use with Fortran are:
- AST_PAR
Declares the types of all AST functions and defines parameter constants, except those that identify error values.
- AST_ERR
Defines parameter constants to represent the various error values to which the AST error status may be set when an error occurs ().
References to AST include files should be in upper case. Most modern Fortran compilers allow the directory to be specified as a command line option:
f77 prog.f -I/star/include -o prog
If you are using such a compiler then your Fortran source code should, for instance, include:
INCLUDE 'AST_PAR'
(that is, there is no need to include the directory within the INCLUDE statement). If your compiler does not provide such an option then your source code must contain an absolute file name identifying the directory where the include files reside, for instance:
INCLUDE '/star/include/AST_PAR'
AST A Library for Handling World Coordinate Systems in Astronomy