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

Last modified: Sat Jul 26 18:17:38 2025.

# Directory Listing of Routines

# general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production

- RBSP_EFW_PHASEF_READ_B_MGSE[1]
- RBSP_EFW_PHASEF_READ_B_MGSE_GEN_FILE
- RBSP_EFW_PHASEF_READ_DC_OFFSET[2]
- RBSP_EFW_PHASEF_READ_DENSITY
- RBSP_EFW_PHASEF_READ_DENSITY_GEN_FILE
- RBSP_EFW_PHASEF_READ_E_SPINFIT
- RBSP_EFW_PHASEF_READ_E_SPINFIT_DIAGONAL
- RBSP_EFW_PHASEF_READ_E_SPINFIT_DIAGONAL_GEN_FILE
- RBSP_EFW_PHASEF_READ_E_SPINFIT_EDOTB
- RBSP_EFW_PHASEF_READ_E_SPINFIT_EDOTB_GEN_FILE
- RBSP_EFW_PHASEF_READ_E_SPINFIT_GEN_FILE
- RBSP_EFW_PHASEF_READ_E_UVW
- RBSP_EFW_PHASEF_READ_E_UVW_DIAGONAL
- RBSP_EFW_PHASEF_READ_E_UVW_DIAGONAL_GEN_FILE
- RBSP_EFW_PHASEF_READ_E_UVW_GEN_FILE
- RBSP_EFW_PHASEF_READ_ORBIT_NUM
- RBSP_EFW_PHASEF_READ_ORBIT_NUM_GEN_FILE
- RBSP_EFW_PHASEF_READ_SUNPULSE_TIME
- RBSP_EFW_PHASEF_READ_SUNPULSE_TIME_GEN_FILE
- RBSP_EFW_PHASEF_READ_VSVY
- RBSP_EFW_PHASEF_READ_VSVY_GEN_FILE
- RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR
- RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE
- RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE_V02
- RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE_V03
- RBSP_READ_E_MODEL
- RBSP_READ_E_MODEL_GEN_FILE

# Routine Descriptions

## RBSP_EFW_PHASEF_READ_B_MGSE[1]

[Next Routine] [List of Routines]

     Read the EMFISIS B field with corrections including:
       spicek removal, downsampled to 16 S/s, time tag correction.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_b_mgse.pro)

## RBSP_EFW_PHASEF_READ_B_MGSE_GEN_FILE

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

     Preprocess and load b_mgse to memory.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_b_mgse_gen_file.pro)

## RBSP_EFW_PHASEF_READ_DC_OFFSET[2]

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

     Adopted from rbsp_efw_spinfit_vxb_subtract_crib
     Save e_uvw with time tag corrections, DC offset removal.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_dc_offset.pro)

## RBSP_EFW_PHASEF_READ_DENSITY

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

     Read the EFW density calibrated according to the upper-hybrid line.
     Applied density range and flags.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     boom_pairs=. The boom pair. Default is ['12','34','13','14','23','24'].
     dmin=. Minimum valid density. Default is 10 cc.
     dmax=. Maximum valid density. Default is 3000 cc.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v02'. v02 fixed time tag offset.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_density.pro)

## RBSP_EFW_PHASEF_READ_DENSITY_GEN_FILE

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

     Read density from uh line for phasef data production.
     Adopted from rbsp_efw_get_flag_values.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_density_gen_file.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT

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

     Read spinfit E MGSE.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v03'.

     v03 uses the E field with fixed time tag offset.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT_DIAGONAL

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

     Read spinfit E MGSE, from the yearly file generated by Aaron.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. 'v03'.

     v03 uses the E field with fixed time tag offset.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit_diagonal.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT_DIAGONAL_GEN_FILE

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

     Generate E spinfit for 12 and 34 pairs, based on the calibrated E UVW.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit_diagonal_gen_file.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT_EDOTB

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

     Read spinfit E field with EdotB=0 correction in MGSE for all boom pairs.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v01'.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit_edotb.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT_EDOTB_GEN_FILE

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

     Based on e_spinfit and e_diagonal_spinfit, we calculate edotb_spinfit

     This is adopted from rbsp_efw_read_l4_gen_file. We deside to save edotb to make generating L3 and L4 data more quickly.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit_edotb_gen_file.pro)

## RBSP_EFW_PHASEF_READ_E_SPINFIT_GEN_FILE

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

     Generate E spinfit for 12 and 34 pairs, based on the calibrated E UVW.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_spinfit_gen_file.pro)

## RBSP_EFW_PHASEF_READ_E_UVW

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

     Read E UVW after calibration.

     keep_spin_axis=. Set to keep spin axis data. Set to it to 0 by default.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_uvw.pro)

## RBSP_EFW_PHASEF_READ_E_UVW_DIAGONAL

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

     The components are the E fields along diagonal directions, not UVW.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_uvw_diagonal.pro)

## RBSP_EFW_PHASEF_READ_E_UVW_DIAGONAL_GEN_FILE

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

     Adopted from rbsp_efw_spinfit_vxb_subtract_crib

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_uvw_diagonal_gen_file.pro)

## RBSP_EFW_PHASEF_READ_E_UVW_GEN_FILE

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

     Adopted from rbsp_efw_spinfit_vxb_subtract_crib
     Save e_uvw with time tag corrections, DC offset removal.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_e_uvw_gen_file.pro)

## RBSP_EFW_PHASEF_READ_ORBIT_NUM

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

     Read orbit number.

     time. A string or double (unix time) for the wanted date.
     probe=. A string 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v01'.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_orbit_num.pro)

## RBSP_EFW_PHASEF_READ_ORBIT_NUM_GEN_FILE

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

     Read orbit number.

     time. A string or double (unix time) for the wanted date.
     probe=. A string 'a' or 'b'.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_orbit_num_gen_file.pro)

## RBSP_EFW_PHASEF_READ_SUNPULSE_TIME

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

     Read sun pulse time, used for spinfit.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v01'.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_sunpulse_time.pro)

## RBSP_EFW_PHASEF_READ_SUNPULSE_TIME_GEN_FILE

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

     Sun pulse time is used to do spinfit, save this to avoid recalc and to ensure all spinfit data are on the same times.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_sunpulse_time_gen_file.pro)

## RBSP_EFW_PHASEF_READ_VSVY

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

     Read the Vsvy data ready for >L2 data production.
     This is the L1 vsvy data with time tag correction applied.

     time. The time range in unix time.
     probe=. 'a' or 'b'.
     local_root=. The local root directory for saving rbsp data.
     remote_root=. The URL for grabing rbsp data.
     version=. Default is 'v01'.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_vsvy.pro)

## RBSP_EFW_PHASEF_READ_VSVY_GEN_FILE

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

     Apply time tag corrections to vsvy.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_vsvy_gen_file.pro)

## RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR

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

     Save the following data to CDF:
       q_uvw2gse. Fixed for artificial wobble, Saved at 1 sec cadence.
       r_mgse. In Re, 10 sec.
       v_mgse. In km/s, 10 sec.
       e_mgse. In mV/m, 10 sec, include Ex.
       b_mgse. In nT, 10 sec.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_wobble_free_var.pro)

## RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE

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

     Save the following data to CDF:
       q_uvw2gse. Fixed for artificial wobble at the spin period, Saved at 1 sec cadence.
       r_mgse. In Re, 10 sec.
       v_mgse. In km/s, 10 sec.
       e_mgse. In mV/m, 10 sec, include Ex.
       b_mgse. In nT, 10 sec.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_wobble_free_var_gen_file.pro)

## RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE_V02

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

     Save the following data to CDF:
       q_uvw2gse. Fixed for artificial wobble at the spin period, Saved at 1 sec cadence.
       r_mgse. In Re, 10 sec.
       v_mgse. In km/s, 10 sec.
       e_mgse. In mV/m, 10 sec, include Ex.
       b_mgse. In nT, 10 sec.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_wobble_free_var_gen_file_v02.pro)

## RBSP_EFW_PHASEF_READ_WOBBLE_FREE_VAR_GEN_FILE_V03

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

     Save the following data to CDF:
       q_uvw2gse. Fixed for artificial wobble at the spin period, Saved at 1 sec cadence.
       r_mgse. In Re, 10 sec.
       v_mgse. In km/s, 10 sec.
       e_mgse. In mV/m, 10 sec, include Ex.
       b_mgse. In nT, 10 sec.

     b_mgse in v02 still have some DC offset (~50 nT) relative to the emfisis data around perigee.
     Here, in v03, b_mgse have 0 DC offset on average.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_efw_phasef_read_wobble_free_var_gen_file_v03.pro)

## RBSP_READ_E_MODEL

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

     Read E model = E_coro + E_vxb.

     id=. Can be e_model, e_model_related.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_read_e_model.pro)

## RBSP_READ_E_MODEL_GEN_FILE

[Previous Routine] [List of Routines]

     Adopted from test_perigee_residue_correction_save_file.
     Save the E model which includes E_coro and E_vxb.

(See general/missions/rbsp/efw/rbsp_phasef/intermediate_data_production/rbsp_read_e_model_gen_file.pro)