The source project of this merge request has been removed.
New tool for comparing frame lists
This merge fixes #26 (closed) by adding a new gwf-diff
utility to compare the channel list (names and sample rates) of a GWF for a given GPS against a reference.
Usage #1: create a reference,
$ python tools/gwf-diff L L1_R test.csv --gps "Jan 20 2018"
Because the test.csv
file doesn't already exist, this creates the test.csv
reference and does nothing else.
Usage #2: compare the 'latest' frame against the existing reference:
$ python tools/gwf-diff L L1_R test.csv
The --min-sample-rate
option can be used to filter out (for example) EPICS channels: --min-sample-rate 17
. The above commands, with the EPICS filter produce the following output (on Feb 8 2018):
$ python tools/gwf-diff L L1_R test.csv --min-sample-rate 17
---- The following channels have been removed
L1:SUS-VOPO_M1_DAMP_L_IN1_DQ
L1:SUS-VOPO_M1_DAMP_P_IN1_DQ
L1:SUS-VOPO_M1_DAMP_R_IN1_DQ
L1:SUS-VOPO_M1_DAMP_T_IN1_DQ
L1:SUS-VOPO_M1_DAMP_V_IN1_DQ
L1:SUS-VOPO_M1_DRIVEALIGN_L_OUT_DQ
L1:SUS-VOPO_M1_DRIVEALIGN_P_OUT_DQ
L1:SUS-VOPO_M1_DRIVEALIGN_Y_OUT_DQ
L1:SUS-VOPO_M1_LOCK_L_IN1_DQ
L1:SUS-VOPO_M1_LOCK_P_IN1_DQ
L1:SUS-VOPO_M1_LOCK_Y_IN1_DQ
L1:SUS-VOPO_M1_TEST_L_OUT_DQ
L1:SUS-VOPO_M1_TEST_P_OUT_DQ
L1:SUS-VOPO_M1_TEST_R_OUT_DQ
L1:SUS-VOPO_M1_TEST_T_OUT_DQ
L1:SUS-VOPO_M1_TEST_V_OUT_DQ
L1:SUS-VOPO_M1_TEST_Y_OUT_DQ
L1:SUS-VOPO_ODC_CHANNEL_OUT_DQ
L1:PEM-CS_ACC_IOT1_IMC_X_DQ
L1:PEM-CS_ACC_IOT1_IMC_Y_DQ
L1:PEM-CS_ACC_IOT1_IMC_Z_DQ
L1:PEM-CS_ACC_ISCT6_OMC_X_DQ
L1:PEM-CS_ADC_4_20_OUT_DQ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 -> 4096.0
L1:PEM-EX_ADC_0_12_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EX_ADC_0_13_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ACC_BSC5_ETMY_Y_DQ 2048.0 -> 4096.0
L1:PEM-EY_ACC_BSC5_ETMY_Z_DQ 2048.0 -> 4096.0
L1:PEM-EY_ACC_EBAY_FLOOR_Z_DQ 2048.0 -> 4096.0
L1:PEM-EY_ACC_OPLEV_ETMY_X_DQ 2048.0 -> 4096.0
L1:PEM-EY_ACC_VEA_FLOOR_Z_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_08_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_09_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_10_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_11_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_12_OUT_DQ 2048.0 -> 4096.0
L1:PEM-EY_ADC_0_13_OUT_DQ 2048.0 -> 4096.0
cc: @reed.essick, @jessica.mciver, @thomas-massinger, @marissa.walker
Edited by Duncan Macleod