11
where:
type
= type of body
= 0 ... major planet, Sun, or Moon
= 1 ... minor planet
number
= body number
For 'type' = 0: Mercury = 1, ..., Pluto = 9, Sun = 10, Moon = 11
For 'type' = 1: minor planet number
name
= name of the body (limited to 99 characters)
3.3.2 Structure
site_info
Structure
site_info
contains data for the observer's location. The atmospheric
parameters are used only by the refraction function (refract) called from function
equ2hor. Parameters can be added to this structure if a more sophisticated refraction
model is substituted.
typedef struct
{
double latitude;
double longitude;
double height;
double temperature;
double pressure;
} site_info;
where:
latitude
= geodetic latitude in degrees; north positive.
longitude
= geodetic longitude in degrees; east positive.
height
= height of the observer (meters).
temperature
= temperature (Celsius).
pressure
= atmospheric pressure (millibars)
3.3.3 Structure
cat_entry
Structure
cat_entry
contains the astrometric catalog data for a star; equator and
equinox and units will depend on the catalog. While this structure can be used as a
generic container for catalog data, all high-level NOVAS-C functions require J2000.0
catalog data with FK5-type units (shown in square brackets below).
typedef struct
{
char catalog[4];
char starname[51];
long int starnumber;
double ra;
double dec;
double promora;
double promodec;
double parallax;
double radialvelocity;
} cat_entry;