-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 12:53:43 2023 UTC
-- File 20220630_133505_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 3.900539 to 40.911940
-each separately from 3s to 40s and from 1238us to 911940us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      24.100410 in 1 packets: 18
      12.910124 in 1 packets: 36
MIU packet time from 2022-06-30T13:35:11.900.539.000 to 2022-06-30T13:35:48.911.940.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      24.100410 in 1 packets: 18
      12.910124 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 5.2628385 to 42.2627030
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      24.9999086 in 1 packets: 18
      11.9999559 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      02 -> 52.4 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220630_133505_1227.dat, 3 SL data blocks found. Extra packets: 0.
--
Data structure of blocks of survey data packets:

 - Block number: 1 from the sequence of 18 packets.
   Block numbers in the data:
      1 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1633786 to 6.1636676
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1003190  -- OK for SL --
   MIU time from 2022-06-30T13:35:11.900.539.000 to 2022-06-30T13:35:11.900.828.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.100410

 - Block number: 2 from the sequence of 18 packets.
   Block numbers in the data:
      2 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.2639866 to 30.2642756
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9100790  -- OK for SL --
   MIU time from 2022-06-30T13:35:36.001.238.000 to 2022-06-30T13:35:36.001.527.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.910124

 - Block number: 3 from the sequence of 18 packets.
   Block numbers in the data:
      3 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.1743546 to 43.1746436
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-30T13:35:48.911.651.000 to 2022-06-30T13:35:48.911.940.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 3, 32bit 10MHz counter = 6.163378600 corrected by 40bit 10MHz counter of 5.262838500 obtained at 1Hz counter of 3. Result: 3.900543342
--
   MIU or XO time of the 1st SL sample = header (MIU or corrected XO) time +offset(if negative) - 275 ns delay
   Samplig frequency correction factor in all SL packets: 0.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-30T13:35:11.900.398.725
   Max 1st sample MIU time among all SL packets: 2022-06-30T13:35:48.911.799.725
   Min 1st sample XO time among all SL packets: 3.900403066
   Max 1st sample XO time among all SL packets: 40.911803607
   TM values from -258 to 206 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-30T13:35:11.900.398.725 (XO: 3.900403066 - 3.900709068, t=37.2 degC)  Rank: 00079
   TM values: Max =   206  Min =  -232  Ave =    -4.46  Std =    25.94
   Min TM value:-232 at an offset of 177.476 usec -> 2022-06-30T13:35:11.900.576.200 (XO: 3.900580542)
   Max TM value:206 at an offset of 177.201 usec -> 2022-06-30T13:35:11.900.575.925 (XO: 3.900580267)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 179.776 usec -> 2022-06-30T13:35:11.900.578.500 (XO: 3.900582842)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 120.475 usec -> 2022-06-30T13:35:11.900.519.200 (XO: 3.900523542)

 - Block number: 2 starting at 2022-06-30T13:35:36.001.097.725 (XO: 28.001099229 - 28.001405230, t=37.2 degC)  Rank: 00084
   TM values: Max =   182  Min =  -258  Ave =    -4.47  Std =    23.81
   Min TM value:-258 at an offset of 122.638 usec -> 2022-06-30T13:35:36.001.220.362 (XO: 28.001221867)
   Max TM value:182 at an offset of 120.200 usec -> 2022-06-30T13:35:36.001.217.925 (XO: 28.001219430)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 122.738 usec -> 2022-06-30T13:35:36.001.220.462 (XO: 28.001221967)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 122.550 usec -> 2022-06-30T13:35:36.001.220.275 (XO: 28.001221780)

 - Block number: 3 starting at 2022-06-30T13:35:48.911.510.725 (XO: 40.911514606 - 40.911820608, t=37.2 degC)  Rank: 00078
   TM values: Max =   174  Min =  -222  Ave =    -4.32  Std =    24.08
   Min TM value:-222 at an offset of 120.250 usec -> 2022-06-30T13:35:48.911.630.975 (XO: 40.911634857)
   Max TM value:174 at an offset of 125.250 usec -> 2022-06-30T13:35:48.911.635.975 (XO: 40.911639857)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 122.588 usec -> 2022-06-30T13:35:48.911.633.312 (XO: 40.911637194)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 107.775 usec -> 2022-06-30T13:35:48.911.618.500 (XO: 40.911622382)
