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

Last modified: Wed Sep 3 18:17:27 2025.

# Directory Listing of Routines

# projects/SPP/sweap/COMMON

- CDF_INFO2
  Returns a HASH with useful information about a CDF file.
- CDF_VAR_ATTS2
  Returns a structure that contains all the attributes of a variable within
- SPP_CCSDS_SPKT_HANDLER
- SPP_SWP_APDAT_INIT
- SPP_SWP_CDF_VAR_ATT_CREATE
- SPP_SWP_WRAPPER_APDAT__DEFINE

# Routine Descriptions

## CDF_INFO2

[Next Routine] [List of Routines]

    NAME:  cdf_info2
    FUNCTION:   cdf_info2(id)
    PURPOSE:
      Returns a HASH with useful information about a CDF file.
      In particular the number of file records is returned in this structure.
    INPUT:
       id:   CDF file ID or filename
    CREATED BY:    Davin Larson
     $LastChangedBy: jwl $
     $LastChangedDate: 2025-08-20 11:11:05 -0700 (Wed, 20 Aug 2025) $
     $LastChangedRevision: 33563 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/COMMON/cdf_info2.pro $

(See projects/SPP/sweap/COMMON/cdf_info2.pro)

## CDF_VAR_ATTS2

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

    NAME:  cdf_var_atts
    FUNCTION:   cdf_var_atts(id [,var[,attname]])
    PURPOSE:
      Returns a structure that contains all the attributes of a variable within
      a CDF file. If attname is provided then it returns the value of only that attribute.
    KEYWORDS:
      DEFAULT: The default value of the attribute.
      ATTRIBUTES=att  A named variable that returns an array of structures containing attribute info
                      if this variable is passed in on subsequent calls to cdf_var_atts it can significantly
                      improve performance.   OBSOLETE!!!
    USAGE:
       atts = cdf_var_atts(file)  ; returns structure containing all global attributes
       atts = cdf_var_atts(file
    INPUT:
       id:         CDF file ID or filename.
       var;        CDF variable name or number
       attname:    CDF attribute name
    CREATED BY:    Davin Larson
     $LastChangedBy: ali $
     $LastChangedDate: 2020-05-04 17:46:15 -0700 (Mon, 04 May 2020) $
     $LastChangedRevision: 28667 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/COMMON/cdf_var_atts2.pro $

(See projects/SPP/sweap/COMMON/cdf_var_atts2.pro)

## SPP_CCSDS_SPKT_HANDLER

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

     Purpose: Handle buffer that should contain a single bytes from a ccsds packet
     Written by Davin Larson

     $LastChangedBy: ali $
     $LastChangedDate: 2021-06-14 10:41:21 -0700 (Mon, 14 Jun 2021) $
     $LastChangedRevision: 30043 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/COMMON/spp_ccsds_spkt_handler.pro $

(See projects/SPP/sweap/COMMON/spp_ccsds_spkt_handler.pro)

## SPP_SWP_APDAT_INIT

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

     $LastChangedBy: ali $
     $LastChangedDate: 2023-07-22 18:26:45 -0700 (Sat, 22 Jul 2023) $
     $LastChangedRevision: 31965 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/COMMON/spp_swp_apdat_init.pro $

(See projects/SPP/sweap/COMMON/spp_swp_apdat_init.pro)

## SPP_SWP_CDF_VAR_ATT_CREATE

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

     This is a wrapper routine to create CDF variables within an open CDF file.
     usage:
      CDF_VAR_ATT_CREATE,fileid,'RandomVariable',randomn(seed,3,1000),attributes = atts
      Attributes are contained in a orderedhash and should have already been created.

(See projects/SPP/sweap/COMMON/spp_swp_cdf_var_att_create.pro)

## SPP_SWP_WRAPPER_APDAT__DEFINE

[Previous Routine] [List of Routines]

     $LastChangedBy: ali $
     $LastChangedDate: 2021-06-14 10:41:21 -0700 (Mon, 14 Jun 2021) $
     $LastChangedRevision: 30043 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/COMMON/spp_swp_wrapper_apdat__define.pro $

(See projects/SPP/sweap/COMMON/spp_swp_wrapper_apdat__define.pro)