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

Last modified: Tue Aug 5 18:17:40 2025.

# Directory Listing of Routines

# general/missions/rbsp/efw/cdf_file_production

- RBSP_EFW_GET_FLAG_VALUES[1]
- RBSP_EFW_MAKE_L2_ESVY_DESPUN[1]
  Generate level-2 EFW CDF files
- RBSP_EFW_MAKE_L2_FBK[1]
- RBSP_EFW_MAKE_L2_SPEC[1]
- RBSP_EFW_MAKE_L2_SPINFIT[1]
  Generate level-2 EFW "spinfit" CDF files
- RBSP_EFW_MAKE_L2_VSVY_HIRES[1]
- RBSP_EFW_MAKE_L3[1]
  Generate level-3 EFW "spinfit" CDF files
- RBSP_EFW_MAKE_L4
  Generate level-4 EFW CDF files

# Routine Descriptions

## RBSP_EFW_GET_FLAG_VALUES[1]

[Next Routine] [List of Routines]

     NAME: rbsp_efw_get_flag_values
     SYNTAX:
     PURPOSE: Returns a structure with flag values at "times" that is
     used to create CDF files
     INPUT:  sc ->  'a' or 'b'
             times -> an array of unix times
             bp -> boom pair. Any combination of two booms. Defaults to '12'
     OUTPUT:

             flag_names -> returned array with the names of the flags. Useful for
                           adding suffixes to "split_vec"

     HISTORY: Created by Aaron W Breneman, Jan 8, 2015
     VERSION:
       $LastChangedBy: aaronbreneman $
       $LastChangedDate: 2020-09-11 13:31:02 -0700 (Fri, 11 Sep 2020) $
       $LastChangedRevision: 29133 $
       $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_get_flag_values.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_get_flag_values.pro)

## RBSP_EFW_MAKE_L2_ESVY_DESPUN[1]

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

     NAME:
       rbsp_efw_make_l2_esvy_despun

     PURPOSE:
       Generate level-2 EFW CDF files

     CALLING SEQUENCE:
       rbsp_efw_make_l2_esvy_despun, sc, date

     ARGUMENTS:
       sc: IN, REQUIRED
             'a' or 'b'
       date: IN, REQUIRED
             A date string in format like '2013-02-13'

     KEYWORDS:
       folder: IN, OPTIONAL
             Default is something like
               !rbsp_efw.local_data_dir/rbspa/l2/spinfit/2012/

     HISTORY:
       2014-12-02: Created by Aaron W Breneman, U. Minnesota

     VERSION:
     $LastChangedBy: aaronbreneman $
     $LastChangedDate: 2020-07-08 08:38:26 -0700 (Wed, 08 Jul 2020) $
     $LastChangedRevision: 28864 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_esvy_despun.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_esvy_despun.pro)

## RBSP_EFW_MAKE_L2_FBK[1]

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

    rbsp_efw_make_l2_fbk

    Creates the RBSP (Van Allen probes) L2 CDF file

    note: Source selects for the Filter Bank:
    		0=E12DC
    		1=E34DC
    		2=E56DC
    		3=E12AC
    		4=E34AC
    		5=E56AC
    		6=SCMU
    		7=SCMV
    		8=SCMW
    		9=(V1DC+V2DC+V3DC+V4DC)/4

    KEY: fbk7 bin width (Hz):
    	0.8-1.5, 3-6, 12-25, 50-100, 200-400, 800-1.6k, 3.2-6.5k

    KEY: fbk13 bin width (Hz):
    	0.8-1.5, 1.5-3, 3-6, 6-12, 12-25, 25-50, 50-100, 100-200,
    	200-400, 400-800, 800-1.6k, 1.6k-3.2k, 3.2-6.5k

    Written by:
    	Aaron Breneman, UNN, Feb 2013
    		email: awbrenem@gmail.com

     History:
    	2013-04-25 - mostly written
     2020-Jan - huge efficiency update for Phase F

     VERSION:
    	$LastChangedBy: aaronbreneman $
    	$LastChangedDate: 2020-07-08 08:38:26 -0700 (Wed, 08 Jul 2020) $
    	$LastChangedRevision: 28864 $
    	$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_fbk.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_fbk.pro)

## RBSP_EFW_MAKE_L2_SPEC[1]

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

    rbsp_efw_spec_L2_crib

    Loads and plots RBSP (Van Allen probes) spectral data
    used for the L2 CDF files

     SPEC returns 7 channels, with nominal data selection:
    		SPEC0: E12AC
    		SPEC1: E56AC
    		SPEC2: SCMpar
    		SPEC3: SCMperp
    		SPEC4: SCMW
    		SPEC5: V1AC
    		SPEC6: V2AC

    			Select 7 of: E12dc,E34dc,E56dc
    						 E12ac,E34ac,E56ac
    						 Edcpar,Edcprp
    						 Eacpar,Eacprp
    						 V1ac,V2ac,V3ac,V4ac,V5ac,V6ac
    						 SCMU,SCMV,SCMW
    						 SCMpar,SCMprp,
    						 (V1dc+V2dc+V3dc+V4dc)/4,
    						 Edcprp2, Eacprp2, SCMprp2

    	notes:

    	Aaron Breneman, UMN, Feb 2013
    	email: awbrenem@gmail.com

     VERSION:
    	$LastChangedBy: aaronbreneman $
    	$LastChangedDate: 2020-07-08 08:38:26 -0700 (Wed, 08 Jul 2020) $
    	$LastChangedRevision: 28864 $
    	$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_spec.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_spec.pro)

## RBSP_EFW_MAKE_L2_SPINFIT[1]

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

     NAME:
       rbsp_efw_make_l2_spinfit

     PURPOSE:
       Generate level-2 EFW "spinfit" CDF files

     CALLING SEQUENCE:
       rbsp_efw_make_l2_spinfit, sc, date

     ARGUMENTS:
       sc: IN, REQUIRED
             'a' or 'b'
       date: IN, REQUIRED
             A date string in format like '2013-02-13'

     KEYWORDS:
       folder: IN, OPTIONAL
             Default is something like
               !rbsp_efw.local_data_dir/rbspa/l2/spinfit/2012/

       boom_pair -> specify for the spinfit routine. E.g. '12', '34', '24', etc.
                    Defaults to '12'

     HISTORY:
       2014-12-02: Created by Aaron W Breneman, U. Minnesota

     VERSION:
     $LastChangedBy: aaronbreneman $
     $LastChangedDate: 2020-07-08 08:38:26 -0700 (Wed, 08 Jul 2020) $
     $LastChangedRevision: 28864 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_spinfit.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_spinfit.pro)

## RBSP_EFW_MAKE_L2_VSVY_HIRES[1]

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

     NAME:
       rbsp_efw_make_l2_vsvy_hires

     PURPOSE: Create L2 (level-2) CDF files from the Van Allen Probe EFW
    			Vsvy data product.

     CALLING SEQUENCE:

     ARGUMENTS:	sc -> Which probe? 'a' or 'b'
    				date -> ex, '2013-10-13'

     KEYWORDS:

     EXAMPLES:	rbsp_efw_make_l2_vsvy_hires,'a','2012-10-13'

     NOTES: This program stuffs the following quantities into the skeleton CDF file.
    		V1-V6 -> single-ended potential quantities
    		(Vx+Vy)/2 -> opposing boom averages

     HISTORY:
       March 2020: Created by Aaron Breneman, University of Minnesota

     VERSION:
    	$LastChangedBy: aaronbreneman $
    	$LastChangedDate: 2020-07-08 08:38:26 -0700 (Wed, 08 Jul 2020) $
    	$LastChangedRevision: 28864 $
     	$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_vsvy_hires.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l2_vsvy_hires.pro)

## RBSP_EFW_MAKE_L3[1]

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

     NAME:
       rbsp_efw_make_l3

     PURPOSE:
       Generate level-3 EFW "spinfit" CDF files

     CALLING SEQUENCE:
       rbsp_efw_make_l3, sc, date

     ARGUMENTS:
       sc: IN, REQUIRED
             'a' or 'b'
       date: IN, REQUIRED
             A date string in format like '2013-02-13'

     KEYWORDS:
       folder: IN, OPTIONAL
             Default is something like
               !rbsp_efw.local_data_dir/rbspa/l2/spinfit/2012/

       boom_pair -> specify for the spinfit routine. E.g. '12', '34', '24', etc.
                    Defaults to '12'

     HISTORY:
       2014-12-02: Created by Aaron W Breneman, U. Minnesota

     VERSION:
     $LastChangedBy: aaronbreneman $
     $LastChangedDate: 2020-09-11 13:31:38 -0700 (Fri, 11 Sep 2020) $
     $LastChangedRevision: 29134 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l3.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l3.pro)

## RBSP_EFW_MAKE_L4

[Previous Routine] [List of Routines]

     NAME:
       rbsp_efw_make_l4

     PURPOSE:
       Generate level-4 EFW CDF files

     CALLING SEQUENCE:
       rbsp_efw_make_l4, sc, date

     ARGUMENTS:
       sc: IN, REQUIRED
             'a' or 'b'
       date: IN, REQUIRED
             A date string in format like '2013-02-13'

     KEYWORDS:
       folder: IN, OPTIONAL
             Default is something like
               !rbsp_efw.local_data_dir/rbspa/l2/spinfit/2012/

       boom_pair -> specify for the spinfit routine. E.g. '12', '34', '24', etc.
                    Defaults to '12'

     HISTORY:
       Jan 2020: Created by Aaron W Breneman, U. Minnesota

     VERSION:
     $LastChangedBy: aaronbreneman $
     $LastChangedDate: 2020-09-11 13:31:42 -0700 (Fri, 11 Sep 2020) $
     $LastChangedRevision: 29135 $
     $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l4.pro $

(See general/missions/rbsp/efw/cdf_file_production/rbsp_efw_make_l4.pro)