CHECKCOORDS

Check for discrepancies between AZEL and TRACKING coordinates

Description:

This routine checks that the AZEL boresight positions stored in the TCS_AZ_AC1/2 arrays in the JCMTSTATE extension of the supplied input NDF are in agreement with the corresponding TRACKING positions given by the TCS_TR_AC1/2 arrays. It does this by using AST to convert each TCS_AZ_AC1/2 into the tracking system and then finding the arc-distance from this converted position to the corresponding TCS_TR_AC1/2 position. This is done for every time slice, and the statistics of the resulting separations are displayed, in arc-seconds. A warning message is reported if any separations larger than 3 arc-seconds are found.

Parameters:

IN = NDF (Read)
The time series to be checked.