SCULIB_FIX_SCAN_V10

Correct scan positions for version 1.0 data from SCUCD

Description:

For data taken with version 1.0 of SCUCD the positions of the scan ends were incorrect. This was because of a bug in the software that calculated the scan ends concerning the use of arcseconds instead of radians. This routine attempts to recreate the bug so that the correct scan offsets can be calculated.

Invocation

CALL SCULIB_FIX_SCAN_V10(CENTRE_COORDS, LAT_OBS, LONG, LAT, MJD, RA_OFF_START, DEC_OFF_START, RA_OFF_END, DEC_OFF_END, RA_NEW_START, DEC_NEW_START, RA_NEW_END, DEC_NEW_END, STATUS)

Arguments

CENTRE_COORDS = CHAR (Given)
The coordinate system of the map centre
LAT_OBS = DOUBLE PRECISION (Given)
Latitude of observatory (radians)
LONG = DOUBLE (Given)
The longitude (ra) of the map centre (radians)
LAT = DOUBLE (Given)
The latitude (dec) of the map centre (radians)
MJD = DOUBLE (Given)
The modified Julian date at which the data was taken
RA_OFF_START = DOUBLE (Given)
The RA start position of the scan as stored in the header (RD)
DEC_OFF_START = DOUBLE (Given)
The Dec start position of the scan as stored in the header (RD)
RA_OFF_END = DOUBLE (Given)
The RA end position of the scan as stored in the header (RD)
DEC_OFF_END = DOUBLE (Given)
The DEC end position of the scan as stored in the header (RD)
RA_NEW_START = DOUBLE (Returned)
The corrected RA start position of the scan (RD)
DEC_NEW_START = DOUBLE (Returned)
The corrected Dec start position of the scan (RD)
RA_NEW_END = DOUBLE (Returned)
The corrected RA end position of the scan (RD)
RA_NEW_END = DOUBLE (Returned)
The corrected Dec end position of the scan (RD)
STATUS = INTEGER (Given & Returned)

Notes:

The scan ends are all stored as apparent RA/Decs.

Copyright

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