SCULIB_CALC_OUTPUT_COORDS

calculate output coords of map centre and angle of output coord system N relative to apparent N

Description:

This routine takes the apparent centre coords at the time of the observation and converts them to the output coordinate system. In addition, the angle between the north direction in the output coordinate frame and that in the apparent frame is calculated (measured anticlockwise from output north, in radians).

Invocation

CALL SCULIB_CALC_OUTPUT_COORDS (RA_APP, DEC_APP, MJD, OUTPUT_COORDS, LONG, LAT, STATUS)

Arguments

RA_APP = DOUBLE PRECISION (Given)
apparent RA of map centre on MJD (radians)
DEC_APP = DOUBLE PRECISION (Given)
apparent declination of map centre on MJD (radians)
MJD = DOUBLE PRECISION (Given)
U1 of observation expressed as modified Julian day
OUTPUT_COORDS = CHARACTER() (Given)
output coordinated system; RB, RJ, RD, GA or EQ
LONG = DOUBLE PRECISION (Returned)
longitude of map centre in output coord system (radians)
LAT = DOUBLE PRECISION (Returned)
latitude of map centre in output coord system (radians)
STATUS = INTEGER (Given and returned)
global status

Notes:

SLA routines are used to perform the coordinate conversions.

Copyright

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