;+ ;PROCEDURE: mvn_swe_config ;PURPOSE: ; Maintains SWEA configuration changes in a common block (mvn_swe_com). ; Sweep table updates are handled by checksums (see mvn_swe_sweep) - times ; are recorded here as documentation. ; ;USAGE: ; mvn_swe_config ; ;INPUTS: ; ;KEYWORDS: ; ; LIST: List all configuration changes. ; ; $LastChangedBy: dmitchell $ ; $LastChangedDate: 2014-10-28 10:18:06 -0700 (Tue, 28 Oct 2014) $ ; $LastChangedRevision: 16047 $ ; $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/projects/maven/swea/mvn_swe_config.pro $ ; ;CREATED BY: David L. Mitchell 03-29-13 ;FILE: mvn_swe_config.pro ;- pro mvn_swe_config, list=list, timebar=timebar @mvn_swe_com ; Sweep table update. Replace tables 1 and 2 with tables 3 and 4, respectively. ; Tables 3 and 4 are used for all cruise data from March 19 to the MOI moratorium. ; See mvn_swe_sweep for definitions of all sweep tables. t_swp = time_double('2014-03-19/14:00:00') ; sweep tables 3 and 4 upload ; Stowed MAG1-to-SWE rotation matrix. SWEA was launched with a MAG1-to-SWEA rotation ; matrix for a deployed boom. This matrix is used by FSW to create optimal cuts ; through the 3D distributions to create PADs. This update loads the rotation matrix ; for a stowed boom (135-deg rotation about the spacecraft Y axis). ; ; Because of an undetected error in the MICD, this matrix and the previous one are ; incorrect by a 90-degree rotation in SWEA azimuth. t_mtx = time_double('2014-04-02/14:26:02') ; stowed boom matrix upload #1 ; Deflection scale factor update. This introduced an error (DSF's too small), but ; at least deflection bins 0 and 1 were set to zero. t_dsf = time_double('2014-04-23/17:21:30') ; deflection scale factor update #1 ; Deflection scale factor update. This corrected the mistake from the previous ; update. Now DSF's are 0, 0, 1, 1, 1, 1 -- as desired. t_dsf = [t_dsf, time_double('2014-04-30/18:06:21')] ; deflection scale factor update #2 ; Stowed MAG1-to-SWE rotation matrix update. This compensates for error in the MICD. ; From this time until the MOI moratorium, the MAG1-to-SWE rotation matrix is correct. t_mtx = [t_mtx, time_double('2014-06-30/17:09:19')] ; stowed boom matrix upload #2 ; Sweep table update. Replace tables 3 and 4 with tables 5 and 6, respectively. ; Tables 5 and 6 are used for all data from transition onward. t_swp = [t_swp, time_double('2014-10-06/12:00:00')] ; sweep table 5 and 6 upload ; Deployed MAG1-to-SWE rotation matrix, with corrected MICD. t_mtx = [t_mtx, time_double('2014-10-10/15:08:40')] ; deployed boom matrix upload ; MCP bias adjustments. t_mcp = time_double('2014-10-17/02:26:41') ; bias adjustment (2500 -> 2600 V) ; Gather all the configuration change times into one variable (for timebar). t_cfg = [t_swp, t_mtx, t_dsf, t_mcp] ; List configuration changes if keyword_set(list) then begin print,time_string(t_swp[0]),' --> sweep tables 3 and 4 upload' print,time_string(t_mtx[0]),' --> stowed boom matrix upload #1 (error in MICD)' print,time_string(t_dsf[0]),' --> deflection scale factor update #1 (with error)' print,time_string(t_dsf[1]),' --> deflection scale factor update #2 (correct)' print,time_string(t_mtx[1]),' --> stowed boom matrix upload #2 (correct MICD)' print,time_string(t_swp[1]),' --> sweep tables 5 and 6 upload' print,time_string(t_mtx[2]),' --> boom deploy' print,time_string(t_mcp[0]),' --> MCP bias adjustment (2500 -> 2600 V)' endif ; Overplot dotted time bars on the current tplot window (assumed to exist) if keyword_set(timebar) then timebar, t_cfg, line=1 return end