Index of Functions: A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 
Index Page
spks02

Table of contents
Procedure
Abstract
Required_Reading
Keywords
Declarations
Brief_I/O
Detailed_Input
Detailed_Output
Parameters
Exceptions
Files
Particulars
Examples
Restrictions
Literature_References
Author_and_Institution
Version

Procedure

     SPKS02 ( S/P Kernel, subset, type 2 )

     SUBROUTINE SPKS02 ( HANDLE, BADDR, EADDR, BEGIN, END )

Abstract

     Extract a subset of the data in a SPK segment of type 2
     into a new segment.

Required_Reading

     SPK

Keywords

     EPHEMERIS

Declarations

     IMPLICIT NONE

     INTEGER               HANDLE
     INTEGER               BADDR
     INTEGER               EADDR
     DOUBLE PRECISION      BEGIN
     DOUBLE PRECISION      END

Brief_I/O

     VARIABLE  I/O  DESCRIPTION
     --------  ---  --------------------------------------------------
     HANDLE     I   Handle of source segment.
     BADDR      I   Beginning address of source segment.
     EADDR      I   Ending address of source segment.
     BEGIN      I   Beginning (initial epoch) of subset.
     END        I   End (final epoch) of subset.

Detailed_Input

     HANDLE,
     BADDR,
     EADDR    are the file handle assigned to a SPK file, and the
              beginning and ending addresses of a segment within
              the file. Together they determine a complete set of
              ephemeris data, from which a subset is to be
              extracted.

     BEGIN,
     END      are the initial and final epochs (ephemeris time)
              of the subset to be extracted.

Detailed_Output

     None. This routine writes data to the SPK file currently
     open for write access.

Parameters

     None.

Exceptions

     1)  If an error occurs while reading data from the source SPK
         file, the error is signaled by a routine in the call tree of
         this routine.

     2)  If an error occurs while writing data to the output SPK file,
         the error is signaled by a routine in the call tree of this
         routine.

Files

     See argument HANDLE.

Particulars

     The exact structure of a segment of data type 2 is detailed in
     the SPK Required Reading file.

Examples

     None.

Restrictions

     None.

Literature_References

     None.

Author_and_Institution

     N.J. Bachman       (JPL)
     J. Diaz del Rio    (ODC Space)
     H.A. Neilan        (JPL)
     W.L. Taber         (JPL)
     R.E. Thurman       (JPL)
     E.D. Wright        (JPL)

Version

    SPICELIB Version 1.1.2, 14-APR-2021 (JDR)

        Edited the header to comply with NAIF standard. Moved SPK
        required reading from $Literature_References to
        $Required_Reading section.

    SPICELIB Version 1.1.1, 30-DEC-2013 (NJB)

        Enhanced header documentation.

    SPICELIB Version 1.1.0, 07-SEP-2001 (EDW)

        Replaced DAFRDA call with DAFGDA.
        Added IMPLICIT NONE.

    SPICELIB Version 1.0.3, 10-MAR-1992 (WLT)

        Comment section for permuted index source lines was added
        following the header.

    SPICELIB Version 1.0.2, 23-AUG-1991 (HAN)

        SPK02 was removed from the $Required_Reading section of the
        header. The information in the SPK02 Required Reading file
        is now part of the SPK Required Reading file.

    SPICELIB Version 1.0.1, 22-MAR-1990 (HAN)

        Literature references added to the header.

    SPICELIB Version 1.0.0, 31-JAN-1990 (RET)
Fri Dec 31 18:36:54 2021