This page was created by the IDL library routine
mk_html_help2
.
Last modified: Wed Dec 20 10:37:44 2023.
Generate Fig 6.1 for Aaron for the instrument paper.
(See general/missions/rbsp/efw/rbsp_phasef/misc/aaron_fig_6_1.pro)
Calculate the E_coro from r_coord and b_coord. They need to be in the same coord. b_var=. r_var=. save_to=. probe=.
(See general/missions/rbsp/efw/rbsp_phasef/misc/calc_ecoro.pro)
Calculate the E_vxb due to Vsc x B. They need to be in the same coord. b_var=. v_var=. r_var=. save_to=. probe=.
(See general/missions/rbsp/efw/rbsp_phasef/misc/calc_evxb.pro)
Plot the data timeline. Adopted from EFW_dataproduct_timeline.py.
(See general/missions/rbsp/efw/rbsp_phasef/misc/fig_4_2_timeline.pro)
Generate Fig 6.1 for Aaron for the instrument paper.
(See general/missions/rbsp/efw/rbsp_phasef/misc/fig_6_1.pro)
Plot the sampling rate dependent time tag offset and the expected time lag due to the anti-aliasing filter
(See general/missions/rbsp/efw/rbsp_phasef/misc/fig_sample_rate_filter_time_lag.pro)
Draw an example of SDT.
(See general/missions/rbsp/efw/rbsp_phasef/misc/final_paper_sdt_plot.pro)
Generate yearly boom flag CDF.
(See general/missions/rbsp/efw/rbsp_phasef/misc/gen_yearly_boom_flag.pro)
Some files do not have the correct L1 time tag correction. Reprocess thoes files.
(See general/missions/rbsp/efw/rbsp_phasef/misc/patch_for_l1_time_tag_correction.pro)
There are days when there is a -1 sec jump in time tag, but looks like leap second. However, they need to be treated because the time tag is still non-monotonic.
(See general/missions/rbsp/efw/rbsp_phasef/misc/patch_for_l1_time_tag_of_leap_second.pro)
Patch to add orbit_num to l4 spinfit, b/c this is slow to load.
(See general/missions/rbsp/efw/rbsp_phasef/misc/patch_orbit_num_for_l4.pro)
Plot Ey and Ez in MGSE. Compare E_measure-E_coro and E_vxb
(See general/missions/rbsp/efw/rbsp_phasef/misc/perigee_correction_plot1.pro)
Show B GSE before and after UVW2GSE is fixed.
(See general/missions/rbsp/efw/rbsp_phasef/misc/plot_emfisis_correction.pro)
Plot spin-axis in GSE before and after correcting for spin tone.
(See general/missions/rbsp/efw/rbsp_phasef/misc/plot_fix_spice_uvw2gse.pro)
Plot the start and end of section.
(See general/missions/rbsp/efw/rbsp_phasef/misc/plot_l1_time_tag_correction.pro)
Show R MGSE before and after UVW2GSE is fixed.
(See general/missions/rbsp/efw/rbsp_phasef/misc/plot_uvw2gse_correction.pro)
The B field related quantites are incorrect. This is now fixed in rbsp_efw_read_l4_gen_file. It's too slow to run that, so we only run the code for B field over.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_fix_l4_bfield.pro)
Load skeleton file and add missing labels. This is already fixed in rbsp_efw_read_l4_gen_file.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_fix_l4_label.pro)
Fix labeling for L2 esvy_despun. old_root=. The root dir down to the old CDFs of esvy_despun. new_root=. The root dir for the new CDFs.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_fix_labeling_for_l2_esvy_despun.pro)
refer to rbsp_efw_make_l2.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_gen_l2_esvy_despun.pro)
This is to easily switch among servers to download requested CDF. Adopted from rbsp_load_wake_effect_cdf_file. This program is supposed to be updated frequently during the phasef tests.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_get_server.pro)
Set the local root for saving RBSP data.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_local_root.pro)
Preprocess and load b_mgse to memory.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_read_b_mgse.pro)
Preprocess and load r_mgse to memory.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_read_r_mgse.pro)
Preprocess and load v_mgse to memory.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_read_v_mgse.pro)
Scan all vb1_split files for time_range and data_rate. Needs to run on a computer with all vb1 or vb1_split data are downloaded. data_dir. Data should be saved at data_dir/YYYY/*.cdf.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_scan_vb1_split_data_rate.pro)
Add labeling to v08 files, to make sure variables are properly labeled.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_phasef_spice_var_add_labeling.pro)
Read the time range of sections shifted in time tag, and the correction. Data adopted from the txt file generated by rbsp_efw_read_l1_time_tag_correction_gen_file. The tplot_var is 'rbspx_l1_time_tag_correction', to use get_data, 'rbspa_l1_time_tag_correction', start_times, time_ranges, corrections nsection = n_elements(corrections) foo_l1_efw_data = 'rbspa_efw_esvy' get_data, foo_l1_efw_data, times, data for ii=0, nsection-1 do begin tmp = where(times ge time_ranges[ii,0] and times le time_ranges[ii,1], count) if count eq 0 then continue ; Have to find the closest time, otherwise the index can be 1 record off. if min(times) ge correction_time_ranges[ii,0] then i0 = 0 else begin index = min(times-correction_time_ranges[ii,0], /absolute, i0) endelse if max(times) le correction_time_ranges[ii,1] then i1 = n_elements(times) else begin index = min(times-correction_time_ranges[ii,1], /absolute, i1) endelse times[i0:i1-1] += corrections[ii] endfor store_data, foo_l1_efw_data, times, data
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_read_l1_time_tag_correction.pro)
Write the start and end time of sections shifted in time tag, and the wanted correction. To correct: read data in the time range, add the correction to the old_times: new_times = old_times+correction
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_efw_read_l1_time_tag_correction_gen_file.pro)
Fix spin tone in B UVW, remove bad data.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_fix_b_uvw.pro)
Fix spin tone and other artificial signals in UVW2GSE. The assumption is that, attitude evovles slowly in time, except during eclipse and maneuver. time_range. The time range in sec. probe=. restore_eclipse=. Set to restore attitude during eclipse. restore_maneuver=. Set to restore attitude during maenuver.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_fix_q_uvw2gse.pro)
Fit E_measure-E_model per maneuver.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_phasef_fit_per_maneuver.pro)
Load quantities for fitting perigee corrections.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_phasef_load_fit_quantities.pro)
Fit E_measure-E_model per maneuver. time_range. Optional, used because at early stage not all data are available.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_phasef_read_fit_coef_v01.pro)
Fit E_measure-E_model per maneuver. time_range. Optional, used because at early stage not all data are available.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_phasef_read_fit_coef_v02.pro)
Read the section times to do fit, in [n,2]. Ensure that each section is long enough to contain >3 perigees.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_phasef_read_fit_times.pro)
Remove spin tone in RBSP data.
(See general/missions/rbsp/efw/rbsp_phasef/misc/rbsp_remove_spintone.pro)
Save the time ranges of SDT.
(See general/missions/rbsp/efw/rbsp_phasef/misc/save_rbsp_sdt_time_ranges.pro)
Scan L2 esvy data for irregular time tags.
(See general/missions/rbsp/efw/rbsp_phasef/misc/scan_for_time_tag_irregularity.pro)
Specially designed to plot E field, with 3 dyanmic ranges: [-1,1]*5 mV/m to show small field. [-1,1]*50 mV/m to show large field. [-1,1]*500 mV/m to show very large and invalid field.
(See general/missions/rbsp/efw/rbsp_phasef/misc/tplot_efield.pro)
Add Ey V13, V14, V23, V24 Add Ez V13, V14, V23, V24
(See general/missions/rbsp/efw/rbsp_phasef/misc/wygant_add_e_combo_to_yearly_files.pro)
Generate yearly files include: 1. Ey V12 V34 2. Ez V12 V34 3. Ey wake V12 V34 4. Ez wake V12 V34
(See general/missions/rbsp/efw/rbsp_phasef/misc/wygant_gen_yearly_files.pro)