From bd85b6e35cdf7a70980cc0338123164c6dfe8f29 Mon Sep 17 00:00:00 2001 From: linarphy Date: Tue, 18 Jun 2024 16:01:40 +0200 Subject: [PATCH] First commit --- download_2023_03_24.sh | 207 +++++++++++++++++++++++++++++++++++++++++ download_2023_12_20.sh | 49 ++++++++++ download_2024_01_21.sh | 49 ++++++++++ download_2024_06_07.sh | 45 +++++++++ 4 files changed, 350 insertions(+) create mode 100755 download_2023_03_24.sh create mode 100755 download_2023_12_20.sh create mode 100755 download_2024_01_21.sh create mode 100755 download_2024_06_07.sh diff --git a/download_2023_03_24.sh b/download_2023_03_24.sh new file mode 100755 index 0000000..d52fe90 --- /dev/null +++ b/download_2023_03_24.sh @@ -0,0 +1,207 @@ +GLOB="/data/archive/rawdata/1363/*.gwf" +CHA_H="V1:Hrec_hoft_20000Hz" + +DATE=2023_03_24 +DESCRIPTION="Expérimentation de mars 2023 sur tous les bancs" + +REF_T_W=1363717458 +REF_D_W=600 +EXC_T_W=1363716932 +EXC_D_W=513 + +REF_T_N=1363715478 +REF_D_N=1020 +EXC_T_N=1363714958 +EXC_D_N=484 + +REF_T_S1=1363717458 +REF_D_S1=600 +EXC_T_S1=1363723613 +EXC_D_S1=405 + +REF_T_S2=1363717458 +REF_D_S2=600 +EXC_T_S2=1363724478 +EXC_D_S2=379 + +REF_T_P=1363724898 +REF_D_P=360 +EXC_T_P=1363726656 +EXC_D_P=391 + +REF_T_I=1363730018 +REF_D_I=400 +EXC_T_I=1363730672 +EXC_D_I=666 + +FOLDER=$HOME/data/experiment_$DATE + +mkdir $FOLDER +cd $FOLDER + +echo "\ +[general] + date = '$DATE' + description = '$DESCRIPTION' + benches=['SWEB','SNEB','SDB1','SDB2','SPRB','SIB2'] +[benches] + [benches.SWEB] + [benches.SWEB.reference] + time = $REF_T_W + duration = $REF_D_W + [benches.SWEB.excited] + time = $EXC_T_W + duration = $EXC_D_W + [benches.SNEB] + [benches.SNEB.reference] + time = $REF_T_N + duration = $REF_D_N + [benches.SNEB.excited] + time = $EXC_T_N + duration = $EXC_D_N + [benches.SDB1] + [benches.SDB1.reference] + time = $REF_T_S1 + duration = $REF_D_S1 + [benches.SDB1.excited] + time = $EXC_T_S1 + duration = $EXC_D_S1 + [benches.SDB2] + [benches.SDB2.reference] + time = $REF_T_S2 + duration = $REF_D_S2 + [benches.SDB2.excited] + time = $EXC_T_S2 + duration = $EXC_D_S2 + [benches.SPRB] + [benches.SPRB.reference] + time = $REF_T_P + duration = $REF_D_P + [benches.SPRB.excited] + time = $EXC_T_P + duration = $EXC_D_P + [benches.SIB2] + [benches.SIB2.reference] + time = $REF_T_I + duration = $REF_D_I + [benches.SIB2.excited] + time = $EXC_T_I + duration = $EXC_D_I +" > metadata.toml + +mkdir SWEB +cd SWEB +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_W --duration=$REF_D_W > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_WE_MIR_Z --start-time=$REF_T_W --duration=$REF_D_W > WE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SWEB_LC_Z --start-time=$REF_T_W --duration=$REF_D_W > SWEB.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_W --duration=$EXC_D_W > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_WE_MIR_Z --start-time=$EXC_T_W --duration=$EXC_D_W > WE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SWEB_LC_Z --start-time=$EXC_T_W --duration=$EXC_D_W > SWEB.csv + +cd ../../ +mkdir SNEB +cd SNEB +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_N --duration=$REF_D_N > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_NE_MIR_Z --start-time=$REF_T_N --duration=$REF_D_N > NE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SNEB_LC_Z --start-time=$REF_T_N --duration=$REF_D_N > SNEB.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_N --duration=$EXC_D_N > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_NE_MIR_Z --start-time=$EXC_T_N --duration=$EXC_D_N > NE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SNEB_LC_Z --start-time=$EXC_T_N --duration=$EXC_D_N > SNEB.csv + +cd ../../ +mkdir SDB1 +cd SDB1 +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_S1 --duration=$REF_D_S1 > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$REF_T_S1 --duration=$REF_D_S1 > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB1_LC_Z --start-time=$REF_T_S1 --duration=$REF_D_S1 > SDB1.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_S1 --duration=$EXC_D_S1 > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$EXC_T_S1 --duration=$EXC_D_S1 > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB1_LC_Z --start-time=$EXC_T_S1 --duration=$EXC_D_S1 > SDB1.csv + +cd ../../ +mkdir SDB2 +cd SDB2 +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_S2 --duration=$REF_D_S2 > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$REF_T_S2 --duration=$REF_D_S2 > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB2_LC_Z --start-time=$REF_T_S2 --duration=$REF_D_S2 > SDB2.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_S2 --duration=$EXC_D_S2 > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$EXC_T_S2 --duration=$EXC_D_S2 > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB2_LC_Z --start-time=$EXC_T_S2 --duration=$EXC_D_S2 > SDB2.csv + +cd ../../ +mkdir SPRB +cd SPRB +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_P --duration=$REF_D_P > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$REF_T_P --duration=$REF_D_P > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_MC_MIR_Z --start-time=$REF_T_P ---duration=$REF_D_P > MC.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_PR_MIR_Z --start-time=$REF_T_P --duration=$REF_D_P > PR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SPRB_LC_Z --start-time=$REF_T_P --duration=$REF_D_P > SPRB.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_P --duration=$EXC_D_P > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$EXC_T_P --duration=$EXC_D_P > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_MC_MIR_Z --start-time=$EXC_T_P ---duration=$EXC_D_P > MC.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_PR_MIR_Z --start-time=$EXC_T_P --duration=$EXC_D_P > PR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SPRB_LC_Z --start-time=$EXC_T_P --duration=$EXC_D_P > SPRB.csv + +cd ../../ +mkdir SIB2 +cd SIB2 +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T_I --duration=$REF_D_I > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$REF_T_I --duration=$REF_D_I > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_MC_MIR_Z --start-time=$REF_T_I ---duration=$REF_D_I > MC.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_IR_MIR_Z --start-time=$REF_T_I --duration=$REF_D_I > PR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SIB2_LC_Z --start-time=$REF_T_I --duration=$REF_D_I > SIB2.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T_I --duration=$EXC_D_I > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$EXC_T_I --duration=$EXC_D_I > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_MC_MIR_Z --start-time=$EXC_T_I ---duration=$EXC_D_I > MC.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_IR_MIR_Z --start-time=$EXC_T_I --duration=$EXC_D_I > PR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SIB2_LC_Z --start-time=$EXC_T_I --duration=$EXC_D_I > SIB2.csv + +cd ../../../ diff --git a/download_2023_12_20.sh b/download_2023_12_20.sh new file mode 100755 index 0000000..7d40cfd --- /dev/null +++ b/download_2023_12_20.sh @@ -0,0 +1,49 @@ +GLOB="/data/rawdata/*/1387/*.gwf" +CHA_H="V1:Hrec_hoft_20000Hz" + +DATE=2023_12_20 +DESCRIPTION="Expérimentation de Romain sur le banc SNEB et SWEB (mais on ne regarde pas SNEB car de mauvaise qualité)" + +REF_T=1387145658 +REF_D=480 +EXC_T=1387148494 +EXC_D=300 + +FOLDER=$HOME/data/experiment_$DATE + +mkdir $FOLDER +cd $FOLDER + +echo "\ +[general] + date = '$DATE' + description = '$DESCRIPTION' + benches = ['SWEB'] +[benches] + [benches.SWEB] + [benches.SWEB.reference] + time = $REF_T + duration = $REF_D + [benches.SWEB_excited] + time = $EXC_T + duration = $EXC_D +" > metadata.toml + +mkdir SWEB +cd SWEB +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T --duration=$REF_D > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_WE_MIR_Z --start-time=$REF_T --duration=$REF_D > WE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SWEB_LC_Z --start-time=$REF_T --duration=$REF_D > SWEB.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T --duration=$EXC_D > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_WE_MIR_Z --start-time=$EXC_T --duration=$EXC_D > WE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SWEB_LC_Z --start-time=$EXC_T --duration=$EXC_D > SWEB.csv + +cd ../../../ diff --git a/download_2024_01_21.sh b/download_2024_01_21.sh new file mode 100755 index 0000000..63a8a8f --- /dev/null +++ b/download_2024_01_21.sh @@ -0,0 +1,49 @@ +GLOB="/data/rawdata/*/1389/*.gwf" +CHA_H="V1:Hrec_hoft_20000Hz" + +DATE=2024_01_21 +DESCRIPTION="Expérimentation de Michal sur le banc SNEB" + +REF_T=1389891118 +REF_D=600 +EXC_T=1389891918 +EXC_D=300 + +FOLDER=$HOME/data/experiment_$DATE + +mkdir $FOLDER +cd $FOLDER + +echo "\ +[general] + date = '$DATE' + description = '$DESCRIPTION' + benches = ['SNEB'] +[benches] + [benches.SNEB] + [benches.SNEB.reference] + time = $REF_T + duration = $REF_D + [benches.SNEB.excited] + time = $EXC_T + duration = $EXC_D +" > metadata.toml + +mkdir SNEB +cd SNEB +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$REF_T --duration=$REF_D > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_NE_MIR_Z --start-time=$REF_T --duration=$REF_D > NE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SNEB_LC_Z --start-time=$REF_T --duration=$REF_D > SNEB.csv + +cd ../ +mkdir excited +cd excited + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$EXC_T --duration=$EXC_D > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_NE_MIR_Z --start-time=$EXC_T --duration=$EXC_D > NE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SNEB_LC_Z --start-time=$EXC_T --duration=$EXC_D > SNEB.csv + +cd ../../../ diff --git a/download_2024_06_07.sh b/download_2024_06_07.sh new file mode 100755 index 0000000..6998b36 --- /dev/null +++ b/download_2024_06_07.sh @@ -0,0 +1,45 @@ +GLOB="/data/rawdata/*/1401/*.gwf" +CHA_H="V1:Hrec_hoft_20000Hz" + +DATE=2024_06_07 +TIME=1401789000 +DURATION=500 +DESCRIPTION="Un test sans aucune excitation pendant le fonctionnement nominal de Virgo" + +FOLDER=$HOME/data/experiment_$DATE + +mkdir $FOLDER +cd $FOLDER + +echo "\ +[general] + date = '$DATE' + description = '$DESCRIPTION' + benches = ['SDB1','SDB2','SNEB','SWEB','SPRB','SIB2'] +[reference] + time = $TIME + duration = $DURATION +" > metadata.toml + +mkdir reference +cd reference + +lalfr-stream --frame-glob=$GLOB --channel=$CHA_H --start-time=$TIME --duration=$DURATION > h.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_NE_MIR_Z --start-time=$TIME --duration=$DURATION > NE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SNEB_LC_Z --start-time=$TIME --duration=$DURATION > SNEB.csv + +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_WE_MIR_Z --start-time=$TIME --duration=$DURATION > WE.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SWEB_LC_Z --start-time=$TIME --duration=$DURATION > SWEB.csv + + +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_SR_MIR_Z --start-time=$TIME --duration=$DURATION > SR.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SPRB_LC_Z --start-time=$TIME --duration=$DURATION > SPRB.csv + +lalfr-stream --frame-glob=$GLOB --channel=V1:Sc_MC_MIR_Z --start-time=$TIME --duration=$DURATION > MC.csv +lalfr-stream --frame-glob=$GLOB --channel=V1:SIB2_LC_Z --start-time=$TIME --duration=$DURATION > SIB2.csv + +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB1_LC_Z --start-time=$TIME --duration=$DURATION > SDB1.csv + +lalfr-stream --frame-glob=$GLOB --channel=V1:SDB2_LC_Z --start-time=$TIME --duration=$DURATION > SDB2.csv + +cd ../