From d54fe7c1f704a63824c5bfa0ece65245572e9b27 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 4 Mar 2015 21:21:30 -0500 Subject: Initial commit --- src/slalib/sun67.htx/node47.html | 157 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) create mode 100644 src/slalib/sun67.htx/node47.html (limited to 'src/slalib/sun67.htx/node47.html') diff --git a/src/slalib/sun67.htx/node47.html b/src/slalib/sun67.htx/node47.html new file mode 100644 index 0000000..5d8e877 --- /dev/null +++ b/src/slalib/sun67.htx/node47.html @@ -0,0 +1,157 @@ + + + + +SLA_DBJIN - Decode String to B/J Epoch (DP) + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: SLA_DC62S - Cartesian 6-Vector to Spherical +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_DBEAR - Direction Between Points on a Sphere +

+

+

SLA_DBJIN - Decode String to B/J Epoch (DP) +   +

+
+
ACTION: +
Decode a character string into a DOUBLE PRECISION number, +with special provision for Besselian and Julian epochs. + The string syntax is as for sla_DFLTIN, prefixed by + an optional `B' or `J'. +

CALL: +
CALL sla_DBJIN (STRING, NSTRT, DRESLT, J1, J2) +

+

+
GIVEN: +
+
+ + + + + + + + + +
STRINGCstring containing field to be decoded
NSTRTIpointer to first character of field in string
+

+
RETURNED: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NSTRTIincremented past the decoded field
DRESLTDresult
J1IDFLTIN status:
-1 = -OK
0 = +OK
1 = null field
2 = error
J2Isyntax flag:
0 = normal DFLTIN syntax
1 = `B' or `b'
2 = `J' or `j'
+

+
NOTES: +
+
1. +
The purpose of the syntax extensions is to help cope with mixed +FK4 and FK5 data, allowing fields such as `B1950' or `J2000' +to be decoded. +
2. +
In addition to the syntax accepted by sla_DFLTIN, + the following two extensions are recognized by sla_DBJIN: +
+
(a) +
A valid non-null field preceded by the character `B' +(or `b') is accepted. +
(b) +
A valid non-null field preceded by the character `J' + (or `j') is accepted. +
+
3. +
The calling program is told of the `B' or `J' through an + supplementary status argument. The rest of + the arguments are as for sla_DFLTIN. +
+

+ +next + +up + +previous +
+ Next: SLA_DC62S - Cartesian 6-Vector to Spherical +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_DBEAR - Direction Between Points on a Sphere +

+

+

+SLALIB --- Positional Astronomy Library
Starlink User Note 67
P. T. Wallace
12 October 1999
E-mail:ptw@star.rl.ac.uk
+
+ + -- cgit