SCULIB_CALC_APPARENT

calculate apparent RA, Dec of plate centre and angle of input coord system N relative to apparent N

Description:

This routine takes the input coordinates and coordinate system of the map centre and converts them to the apparent coords at the time of the observation. In addition, the angle between the north direction in the input coordinate frame and that in the apparent frame is calculated (measured anti-clockwise from input north, in radians). See SCU/3.0/JFL/ 0393.

Invocation

CALL SCULIB_CALC_APPARENT (LAT_OBS, LONG, LAT, LONG2, LAT2, MAP_X, MAP_Y, COORD_TYPE, LST, MJD, MJD1, MJD2, RA_APP, DEC_APP, ROTATION, STATUS)

Arguments

LAT_OBS = DOUBLE PRECISION (Given)
latitude of observatory (radians)
LONG = DOUBLE PRECISION (Given)
longitude of centre in input coord system (radians)
LAT = DOUBLE PRECISION (Given)
latitude of centre in input coord system (radians)
LONG2 = DOUBLE PRECISION (Given)
longitude of second centre in PLANET coord system (radians)
LAT2 = DOUBLE PRECISION (Given)
latitude of second centre in PLANET coord system (radians)
MAP_X = DOUBLE PRECISION (Given)
x tangent plane offset of point from centre (radians) The offset must be in the same coordinate as COORD_TYPE
MAP_Y = DOUBLE PRECISION (Given)
y tangent plane offset of point from centre (radians) The offset must be in the same coordinate as COORD_TYPE
COORD_TYPE = CHARACTER() (Given)
Coord system of input centre, RD, RB, RJ, GA, EQ, PLANET
LST = DOUBLE PRECISION (Given)
LST for requested coordinates (for AZ and HA)
MJD = DOUBLE PRECISION (Given)
Modified Julian date of observation
MJD1 = DOUBLE PRECISION (Given)
Modified Julian date of first centre in PLANET coord system
MJD2 = DOUBLE PRECISION (Given)
Modified Julian date of second centre in PLANET coord system
RA_APP = DOUBLE PRECISION (Returned)
Apparent RA of point at date (radians)
DEC_APP = DOUBLE PRECISION (Returned)
Apparent Dec
ROTATION = DOUBLE PRECISION (Returned)
Angle between apparent north and north of input coord system (radians, measured clockwise from input north)
STATUS = INTEGER (Given and returned)
Global status

Notes:

Does not handle LOCAL_COORDS for MAP_X and MAP_Y (see SCULIB_APARRENT_2_MP for information on how to do this)

Copyright

Copyright ©1995,1996,1997,1998,1999 Particle Physics and Astronomy Research Council. All Rights Reserved.