IRA_NORM

Converts sky co-ordinate values to the equivalent first-order values

Description:

The given latitude value is shifted into the range +/- PI/2 ( a shift of PI may be introduced in the longitude value to achieve this). The longitude value is then shifted into the range 0 to 2PI. If either A or B has the Starlink " BAD" value on entry (VAL__BADD) then both A and B are left unchanged on exit. Latitude values which are within 0.01 arcseconds of either pole are modified to put them exactly at the pole.

Invocation

CALL IRA_NORM( A, B, STATUS )

Arguments

A = DOUBLE PRECISION (Given and Returned)
The longitude, in radians. On exit, the value is shifted in to the range 0 to 2PI.
B = DOUBLE PRECISION (Given and Returned)
The latitude value, in radians. On exit, the value is shifted in to the range -PI/2 to +PI/2.
STATUS = INTEGER (Given and Returned)
The global status.