Sexagesimal character string to angle SLA_DAFIN
CALL sla_DAFIN (STRING, NSTRT, DRESLT, JF)| STRING | C*(*) | string containing deg, arcmin, arcsec fields |
|
| ||
| NSTRT | I | pointer to start of decode (beginning of STRING = 1) |
| NSTRT | I | advanced past the decoded angle |
|
| ||
| DRESLT | D | angle in radians |
|
| ||
| JF | I | status: |
|
| ||
| |
| 0 = OK |
|
| ||
| |
| = default, DRESLT unchanged (note 2) |
|
| ||
| |
| = bad degrees (note 3) |
|
|
||
|
|
| = bad arcminutes (note 3) |
|
|
||
|
|
| = bad arcseconds (note 3) |
|
|
||
| argument | before | after |
| STRING | -57␣17␣44.806␣␣12␣34␣56.7 | unchanged |
| NSTRT | 1 | 16 (i.e. pointing to 12...) |
| RESLT | - | D0 |
| JF | - | 0 |
| for STRING | to obtain | multiply DRESLT by |
| radians | ||
| turns | ||
| h m s | radians | |
| h m s | days |