| sctran |
|
Table of contents
Procedure
SCTRAN ( SCLK name/ID code translation )
SUBROUTINE SCTRAN ( CLKNAM, CLKID, FOUND )
Abstract
Convert between SCLK name strings and ID codes.
Required_Reading
SCLK
Keywords
CONVERSION
PARSING
SCLK
TIME
UTILITY
Declarations
IMPLICIT NONE
CHARACTER*(*) CLKNAM
INTEGER CLKID
LOGICAL FOUND
INTEGER MAXLEN
PARAMETER ( MAXLEN = 32 )
Brief_I/O
VARIABLE I/O ENTRY POINTS
-------- --- --------------------------------------------------
CLKNAM I-O SCID2N, SCN2ID
CLKID I-O SCID2N, SCN2ID
FOUND O SCID2N, SCN2ID
MAXLEN P All
Detailed_Input
See the entry points for a discussion of their arguments.
Detailed_Output
See the entry points for a discussion of their arguments.
Parameters
MAXLEN is the maximum allowed length, in characters, of a
string containing the name of a spacecraft clock.
Exceptions
See the entry points for a discussion of exceptions specific to
those routines.
1) This is an umbrella subroutine that contains declarations
for its entry points. This routine should never be called
directly. If it is, the error SPICE(BOGUSENTRY) is signaled.
Files
None.
Particulars
This set of subroutines centralizes the mapping between
spacecraft clock names and their corresponding NAIF integer
codes. Translation between these names and codes is frequently
required by user interface functions.
The set of supported clocks is identical to the set of spacecraft
supported by BODTRN. The mapping may be extended by calling
BODDEF.
Examples
See the entry points for examples of their usage.
Restrictions
None.
Literature_References
None.
Author_and_Institution
N.J. Bachman (JPL)
J. Diaz del Rio (ODC Space)
Version
SPICELIB Version 1.2.1, 12-AUG-2021 (JDR)
Edited the header to comply with NAIF standard.
SPICELIB Version 1.2.0, 29-OCT-2001 (NJB)
Bug fix: modified algorithm to handle case where string
"SCLK" appears in SCLK name.
SPICELIB Version 1.1.0, 25-FEB-2000 (NJB)
Updated to use BODTRN for SCLK name/code mapping.
SPICELIB Version 1.0.0, 17-NOV-1995 (NJB)
|
Fri Dec 31 18:36:46 2021