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/node40.html | 125 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 src/slalib/sun67.htx/node40.html (limited to 'src/slalib/sun67.htx/node40.html') diff --git a/src/slalib/sun67.htx/node40.html b/src/slalib/sun67.htx/node40.html new file mode 100644 index 0000000..438541e --- /dev/null +++ b/src/slalib/sun67.htx/node40.html @@ -0,0 +1,125 @@ + + + + +SLA_CTF2D - Hour,Min,Sec to Days + + + + + + + + + + + + +

+ +next + +up + +previous +
+ Next: SLA_CTF2R - Hour,Min,Sec to Radians +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CS2C6 - Spherical Pos/Vel to Cartesian +

+

+

SLA_CTF2D - Hour,Min,Sec to Days +   +

+
+
ACTION: +
Convert hours, minutes, seconds to days (single precision). +
CALL: +
CALL sla_CTF2D (IHOUR, IMIN, SEC, DAYS, J) +

+

+
GIVEN: +
+
+ + + + + + + + + + + + + +
IHOURIhours
IMINIminutes
SECRseconds
+

+
RETURNED: +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
DAYSRinterval in days
JIstatus:
0 = OK
1 = IHOUR outside range 0-23
2 = IMIN outside range 0-59
3 = SEC outside range 0-59.999$\cdots$
+

+
NOTES: +
+
1. +
The result is computed even if any of the range checks fail. +
2. +
The sign must be dealt with outside this routine. +
+

+ +next + +up + +previous +
+ Next: SLA_CTF2R - Hour,Min,Sec to Radians +
+Up: SUBPROGRAM SPECIFICATIONS +
+ Previous: SLA_CS2C6 - Spherical Pos/Vel to Cartesian +

+

+

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