#
AIPS HELP file for CODECIML in 31DEC21

#### As of Thu Dec 2 18:42:33 2021

**CODECIML**: Converts between decimal and sexagesimal coordinates
### INPUTS

Input adverbs
DECIMAL -1.0 1.0 > 0 -> decimal > sexagesimal
$Input/output adverbs
COORDINA $ Sexagesimal coordinate
X $ Right ascension in degrees
Y $ Declination in degrees

### HELP SECTION

CODECIML
Type: verb
Use: To convert between sexagesimal and decimal coordinates.
Input adverbs:
DECIMAL....> 0 => go from decimal (X, Y) to sexagesimal (COORDINA)
Input/output adverbs
COORDINA...The X and Y coordinates are found as:
Xpos = abs(CO(1)) + abs(CO(2))/60 + abs(CO(3))/3600
if any of CO(1), CO(2), CO(3) < 0: Xpos = -Xpos
Ypos = abs(CO(4)) + abs(CO(5))/60 + abs(CO(6))/3600
if any of CO(4), CO(5), CO(6) < 0: Ypos = -Ypos
Note that, although these are most suited to RA, Dec in
sexagesimal notation, they can be used for any type of
coordinate. The units are standard FITS units (e.g
degrees, m/sec, Hz, sec, etc.) except that right
ascensions are in hours of time.
X..........Right ascension in degrees
Y..........Declination in degrees

### EXPLAIN SECTION