This page was created by the IDL library routine `mk_html_help2`.

Last modified: Thu Sep 25 18:17:32 2025.

# Directory Listing of Routines

# projects/swx

- SWX_APDAT_INIT
- SWX_CCSDS_SPKT_HANDLER
- SWX_GEN_APDAT__DEFINE
- SWX_SPC_MET_TO_UNIXTIME
- SWX_SPICE_KERNELS
  Provides swx spice kernel filename of specified type
- SWX_SST_APDAT_INIT
- SWX_SWEM_PART_DECOMPRESS_DATA[1]
- SWX_SWEM_PART_DECOMPRESS_DATA[2]
- SWX_SWEM_PART_DECOMPRESS_DATA[2]
- SWX_SWEM_PART_DECOMPRESS_DATA[3]
- SWX_SWEM_PART_DECOMPRESS_DATA[4]
- SWX_SWEM_PART_DECOMPRESS_DATA[5]
- SWX_SWEM_PART_DECOMPRESS_DATA[6]
- SWX_SWEM_PART_DECOMPRESS_DATA[7]
- SWX_SWEM_PART_DECOMPRESS_DATA[8]
- SWX_SWEM_PART_DECOMPRESS_DATA[9]
- SWX_SWEM_WRAPPER_APDAT__DEFINE

# Routine Descriptions

## SWX_APDAT_INIT

[Next Routine] [List of Routines]

     $LastChangedBy: ali $
     $LastChangedDate: 2023-12-29 18:52:02 -0800 (Fri, 29 Dec 2023) $
     $LastChangedRevision: 32325 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_apdat_init.pro $

(See projects/swx/swx_apdat_init.pro)

## SWX_CCSDS_SPKT_HANDLER

[Previous Routine] [Next Routine] [List of Routines]

     Purpose: Decomutate a single CCSDS data packet and uses the apid to retrieve an object that can process the specific APID
     Input:  byte array that containing a single CCSDS data packet

     Written by Davin Larson

     $LastChangedBy: davin-mac $
     $LastChangedDate: 2023-12-02 00:05:21 -0800 (Sat, 02 Dec 2023) $
     $LastChangedRevision: 32261 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_ccsds_spkt_handler.pro $

(See projects/swx/swx_ccsds_spkt_handler.pro)

## SWX_GEN_APDAT__DEFINE

[Previous Routine] [Next Routine] [List of Routines]

      SWX_GEN_APDAT
      This basic object is the entry point for defining and obtaining all data for all apids
     $LastChangedBy: davin-mac $
     $LastChangedDate: 2024-11-03 23:43:14 -0800 (Sun, 03 Nov 2024) $
     $LastChangedRevision: 32928 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_gen_apdat__define.pro $

(See projects/swx/swx_gen_apdat__define.pro)

## SWX_SPC_MET_TO_UNIXTIME

[Previous Routine] [Next Routine] [List of Routines]

    Function:  swx_spc_met_to_unixtime
    Purpose:  Convert MET (mission Elapsed Time) to Unix Time  (which is almost equivalent to UTC)
    see also:  "swx_spc_unixtime_to_met" for the reverse conversion
     This routine is in the process of being modified to use SPICE Kernels to correct for clock drift as needed.
     Author: Davin Larson
     $LastChangedBy: davin-mac $
     $LastChangedDate: 2024-11-01 10:09:46 -0700 (Fri, 01 Nov 2024) $
     $LastChangedRevision: 32916 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_spc_met_to_unixtime.pro $

(See projects/swx/swx_spc_met_to_unixtime.pro)

## SWX_SPICE_KERNELS

[Previous Routine] [Next Routine] [List of Routines]

    NAME: swx_SPICE_KERNELS
    PURPOSE:
     Provides swx spice kernel filename of specified type

    Typical CALLING SEQUENCE: kernels=swx_spice_kernels()

    KEYWORDS:
     LOAD:   Set keyword to also load file
     TRANGE:  Set keyword to UT timerange to provide range of needed files.
     RECONSTRUCT: If set, then only ephemeris (spk) kernels with reconstructed data (no predicts) are returned.

    OUTPUT: fully qualified kernel filename(s)
    WARNING: Be very careful using this routine with the /LOAD keyword.

    It will change the loaded SPICE kernels that users typically assume are not being changed.
    PLEASE DO NOT USE this routine within general "LOAD" routines using the LOAD keyword.
    "LOAD" routines should assume that SPICE kernels are already loaded.

     Author: Davin Larson
     $LastChangedBy: davin-mac $
     $LastChangedDate: 2023-12-02 00:05:21 -0800 (Sat, 02 Dec 2023) $
     $LastChangedRevision: 32261 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_spice_kernels.pro $

(See projects/swx/swx_spice_kernels.pro)

## SWX_SST_APDAT_INIT

[Previous Routine] [Next Routine] [List of Routines]

     $LastChangedBy: davin-mac $
     $LastChangedDate: 2023-12-05 10:42:55 -0800 (Tue, 05 Dec 2023) $
     $LastChangedRevision: 32270 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu:36867/repos/spdsoft/trunk/projects/swx/swx_stis_apdat_init.pro $

(See projects/swx/swx_sst_apdat_init.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[1]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[2]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[2]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[3]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[4]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[5]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[6]

[Previous Routine] [Next Routine] [List of Routines]

     Helper function for packet decompressions

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[7]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[8]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_PART_DECOMPRESS_DATA[9]

[Previous Routine] [Next Routine] [List of Routines]

    Helper function for packet decompression

(See projects/swx/swx_swem_part_decompress_data.pro)

## SWX_SWEM_WRAPPER_APDAT__DEFINE

[Previous Routine] [List of Routines]

     $LastChangedBy: davin-mac $
     $LastChangedDate: 2024-11-03 13:15:35 -0800 (Sun, 03 Nov 2024) $
     $LastChangedRevision: 32924 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/swx/swx_swem_wrapper_apdat__define.pro $

(See projects/swx/swx_swem_wrapper_apdat__define.pro)