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

Last modified: Wed Oct 1 18:17:54 2025.

# Directory Listing of Routines

# projects/SPP/sweap/SPC/L3i/config

- PSP_SWP_CONFIG_FILEDIR
- PSP_SWP_INIT
- PSP_SWP_READ_CONFIG
- PSP_SWP_WRITE_CONFIG

# Routine Descriptions

## PSP_SWP_CONFIG_FILEDIR

[Next Routine] [List of Routines]

    NAME: PSP_SWP_CONFIG_FILEDIR

    DESCRIPTION:
     Get the applications user directory for PSP SWEAP

    CREATED BY: Ayris Narock (ADNET/GSFC) 2020

     $LastChangedBy: anarock $
     $LastChangedDate: 2020-10-27 12:50:05 -0700 (Tue, 27 Oct 2020) $
     $LastChangedRevision: 29302 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/SPC/L3i/config/psp_swp_config_filedir.pro $

(See projects/SPP/sweap/SPC/L3i/config/psp_swp_config_filedir.pro)

## PSP_SWP_INIT

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

    NAME: PSP_SWP_INIT

    DESCRIPTION:
     Initializes system variables for Parker Solar Probe SWEAP instrument.
     Can be called from idl_startup or customized for non-standard installations.
     The system variable !PSP_SWEAP is defined here.

    REQUIRED INPUTS:
     none

    KEYWORDS (OPTIONAL):
     RESET:	Reset !psp_sweap to values in config file,
             or default if no config values set

    CREATED BY: Ayris Narock (ADNET/GSFC) 2020

     $LastChangedBy: anarock $
     $LastChangedDate: 2020-10-27 12:50:05 -0700 (Tue, 27 Oct 2020) $
     $LastChangedRevision: 29302 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/SPC/L3i/config/psp_swp_init.pro $

(See projects/SPP/sweap/SPC/L3i/config/psp_swp_init.pro)

## PSP_SWP_READ_CONFIG

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

    NAME: PSP_SWP_READ_CONFIG

    DESCRIPTION:
     Reads the psp_sweap_config file

    REQUIRED INPUTS:
     none (filename is hardcoded, 'psp_sweap_config.txt', and is put in a folder
     given by the routine 'psp_swp_config_filedir', that uses the IDL routine
     app_user_dir to create/obtain it:
     	e.g. (Windows)
     	C:\Users\anarock\.idl\psp_sweap\psp_sweap_config-4-win32

    KEYWORD ARGUMENTS (OPTIONAL):
     VERBOSE=:	Integer indicating the desired verbosity level.
               Defaults to !psp_sweap.verbose

    KEYWORD OUTPUTS (Optional):
     HEADER=:	Named variable to hold the config file header information

    OUTPUT:
     Returns a structure with the changeable fields of the !psp_sweap
     structure

    CREATED BY: Ayris Narock (ADNET/GSFC) 2020

     $LastChangedBy: anarock $
     $LastChangedDate: 2020-10-27 12:50:05 -0700 (Tue, 27 Oct 2020) $
     $LastChangedRevision: 29302 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/SPC/L3i/config/psp_swp_read_config.pro $

(See projects/SPP/sweap/SPC/L3i/config/psp_swp_read_config.pro)

## PSP_SWP_WRITE_CONFIG

[Previous Routine] [List of Routines]

    NAME: PSP_SWP_WRITE_CONFIG

    DESCRIPTION:
     Writes the psp_sweap_config file

    REQUIRED INPUTS:
     none (filename is hardcoded, 'psp_sweap_config.txt', and is put in a folder
     given by the routine 'psp_swp_config_filedir', that uses the IDL routine
     app_user_dir to create/obtain it:
     	e.g. (Windows)
     	C:\Users\anarock\.idl\psp_sweap\psp_sweap_config-4-win32

    KEYWORD ARGUMENTS (OPTIONAL):
     COPY: If set, make a copy, creating a new file whose filename
           is timestamped with an appended !STIME.
     VERBOSE=: Integer indicating the desired verbosity level.
               Defaults to !psp_sweap.verbose

    OUTPUT
     Nothing returned. The file is written, and a copy of any old file is generated.

    CREATED BY: Ayris Narock (ADNET/GSFC) 2020

     $LastChangedBy: anarock $
     $LastChangedDate: 2020-10-27 12:50:05 -0700 (Tue, 27 Oct 2020) $
     $LastChangedRevision: 29302 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/SPP/sweap/SPC/L3i/config/psp_swp_write_config.pro $

(See projects/SPP/sweap/SPC/L3i/config/psp_swp_write_config.pro)