MHDs - vacuum and plasma shots

From #44023 to #44320 with t_plasma_duration_limit=7 with plasma within +/- 10 from vacuum shot

VACUUM SHOTPLASMA SHOT
ShotNoBasic diagnosticsMHD diagnosticsShotNoBasic diagnosticsMHD diagnostics
Date: 24-03-11, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=1000us
44023
19:40:19
44021
18:13:32
Date: 24-03-11, Parameters: U_bt=800V, U_cd=450V, t_bt=0us, t_cd=1000us
44036
22:43:47
44040
23:13:20
Date: 24-03-11, Parameters: U_bt=800V, U_cd=450V, t_bt=0us, t_cd=1000us
44037
22:57:36
44040
23:13:20
Date: 24-03-18, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=500us
44181
19:57:44
44184
20:09:04
Date: 24-03-18, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=500us
44186
20:18:40
44184
20:09:04
Date: 24-03-18, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=500us
44187
20:22:08
44184
20:09:04
Date: 24-03-21, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=1000us
44261
17:08:51
44253
16:30:12
Date: 24-03-21, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=1000us
44261
17:08:51
44265
17:40:20
Date: 24-03-21, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=1000us
44264
17:35:22
44265
17:40:20
Date: 24-03-21, Parameters: U_bt=800V, U_cd=500V, t_bt=0us, t_cd=1000us
44269
18:18:55
44265
17:40:20
Alltogether 10 combinations

For generation bash script used

from=44023
to=44320
soubor=index.html; 
url=https://golem.fjfi.cvut.cz/shots/
t_plasma_duration_limit=7
interval=10
title='MHDs - vacuum and plasma shots '
#url=/shots

echo "<html><body>
<h1>$title</h1>
<h2>From #$from to #$to with t_plasma_duration_limit=$t_plasma_duration_limit with plasma within +/- $interval from vacuum shot</h2>
<table>" > $soubor;
echo "<tr><th colspan=3>VACUUM SHOT</th><th colspan=3>PLASMA SHOT</th></tr>" >> $soubor;
echo "<tr><th>ShotNo</th><th>Basic diagnostics</th><th>MHD diagnostics</th><th>ShotNo</th><th>Basic diagnostics</th><th>MHD diagnostics</th></tr>" >> $soubor;
Counter=0
for i in `seq $from $to|grep -v 44220|grep -v 44223`; do echo -ne '*'$i:; 
if [[ $(< /golem/shots/$i/Diagnostics/PlasmaDetection/Results/b_plasma) == "0.000" ]]; then
    echo  Vacuum shot '*'$i yes
    for j in `seq $((i-interval)) $((i+interval))`; 
    do echo -ne tested '*'$j:;
        if [[ `echo $(</golem/shots/$j/Diagnostics/PlasmaDetection/Results/t_plasma_duration)|bc|tr -d -` > $t_plasma_duration_limit ]] \
        && [[ $(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/u_bt) == $(< /golem/shots/$j/Infrastructure/Bt_Ecd/Parameters/u_bt) ]] \
        && [[ $(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/u_cd) == $(< /golem/shots/$j/Infrastructure/Bt_Ecd/Parameters/u_cd) ]] \
        && [[ $(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/t_bt) == $(< /golem/shots/$j/Infrastructure/Bt_Ecd/Parameters/t_bt) ]] \
        && [[ $(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/t_cd) == $(< /golem/shots/$j/Infrastructure/Bt_Ecd/Parameters/t_cd) ]] \
        && [[ $(< /golem/shots/$i/shot_date) == $(< /golem/shots/$j/shot_date) ]] \
        && [[ -e "/golem/shots/$i/Devices/DASs/2NI_PC-VoSv/rawdata.jpg" ]] \
        && [[ -e "/golem/shots/$j/Devices/DASs/2NI_PC-VoSv/rawdata.jpg" ]];then
            let Counter++ #increment
            echo YES! $i AND $j FOUND
            echo "<tr><td colspan=6>
            Date: <b>`cat /golem/shots/$i/shot_date`</b>, Parameters:
            U_bt=$(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/u_bt)V,
            U_cd=$(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/u_cd)V,
            t_bt=$(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/t_bt)us,
            t_cd=$(< /golem/shots/$i/Infrastructure/Bt_Ecd/Parameters/t_cd)us
            </td></tr><tr>
            <td><a href=$url/$i>$i</a><br>`cat /golem/shots/$i/shot_time`</td>
            <td><img src=$url/$i/Diagnostics/BasicDiagnostics/graph.png></td>
            <td><img src=$url/$i/Devices/DASs/2NI_PC-VoSv/rawdata.jpg></td>
            <td><a href=$url/$j>$j</a><br>`cat /golem/shots/$j/shot_time`</td>
            <td><img src=$url/$j/Diagnostics/BasicDiagnostics/graph.png></td>
            <td><img src=$url/$j/Devices/DASs/2NI_PC-VoSv/rawdata.jpg></td>
            </tr>" >> $soubor;
        fi
        done 
else echo -ne no';';fi;done
echo "</table>Alltogether $Counter combinations<hr/>
<h2>For generation bash script used</h2>
<pre>
`cat script.bash|sed 's/</\</g'|sed 's/>/\>/g'`
</pre></body></html>" >> $soubor;