-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar  1 12:02:31 2023 UTC
-- File 20220515_134146_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 10.295356 to 45.137670
-each separately from 10s to 45s and from 17717us to 295645us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.739847 in 1 packets: 18
      27.981936 in 1 packets: 36
      0.119375 in 1 packets: 54
MIU packet time from 2022-05-15T13:42:00.295.356.000 to 2022-05-15T13:42:35.137.670.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.739847 in 1 packets: 18
      27.981936 in 1 packets: 36
      0.119375 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 12.2631600 to 47.2630387
   Differences in neigboring packets: 
      0.0000000 in 69 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      6.9999757 in 1 packets: 18
      27.9999030 in 1 packets: 36
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      2 in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 3 packets: 37, 38, 39
      2 in 15 packets: 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
      3 in 1 packets: 55
      4 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220515_134146_1227.dat, 4 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.5585171 to 12.5588061
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7398230  -- OK for SL --
   MIU time from 2022-05-15T13:42:00.295.356.000 to 2022-05-15T13:42:00.295.645.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.739847

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.2986291 to 19.2989181
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.9818390  -- OK for SL --
   MIU time from 2022-05-15T13:42:07.035.492.000 to 2022-05-15T13:42:07.035.781.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.981936

 - 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:
      273 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.2807571 to 47.2810461
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 0.1193750  -- OK for SL --
   MIU time from 2022-05-15T13:42:35.017.717.000 to 2022-05-15T13:42:35.018.006.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 0.119375

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 in 18 packets (all packets)  -- OK --
   Ranks for SL, 0 for SR and SA:
      139 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.4004211 to 47.4007101
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-15T13:42:35.137.381.000 to 2022-05-15T13:42:35.137.670.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 10, 32bit 10MHz counter = 12.558517100 corrected by 40bit 10MHz counter of 12.263160000 obtained at 1Hz counter of 10. Result: 10.295358104
--
   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.999996600 - 0.999996600
   Min 1st sample MIU time among all SL packets: 2022-05-15T13:42:00.295.215.725
   Max 1st sample MIU time among all SL packets: 2022-05-15T13:42:35.137.529.725
   Min 1st sample XO time among all SL packets: 10.295217829
   Max 1st sample XO time among all SL packets: 45.137531593
   TM values from -839 to 812 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-15T13:42:00.295.215.725 (XO: 10.295217829 - 10.295523830, t=40.4 degC)  Rank: 00073
   TM values: Max =   204  Min =  -230  Ave =    -4.40  Std =    17.93
   Min TM value:-230 at an offset of 111.125 usec -> 2022-05-15T13:42:00.295.326.850 (XO: 10.295328954)
   Max TM value:204 at an offset of 111.400 usec -> 2022-05-15T13:42:00.295.327.125 (XO: 10.295329229)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 111.288 usec -> 2022-05-15T13:42:00.295.327.012 (XO: 10.295329117)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 108.850 usec -> 2022-05-15T13:42:00.295.324.575 (XO: 10.295326679)

 - Block number: 2 starting at 2022-05-15T13:42:07.035.351.725 (XO: 17.035353245 - 17.035659246, t=40.4 degC)  Rank: 00076
   TM values: Max =   192  Min =  -227  Ave =    -4.42  Std =    19.69
   Min TM value:-227 at an offset of 120.688 usec -> 2022-05-15T13:42:07.035.472.412 (XO: 17.035473933)
   Max TM value:192 at an offset of 120.925 usec -> 2022-05-15T13:42:07.035.472.650 (XO: 17.035474171)
   Max dTM/dt [1/us]:2.03e+03 at an offset of 120.838 usec -> 2022-05-15T13:42:07.035.472.562 (XO: 17.035474083)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 120.600 usec -> 2022-05-15T13:42:07.035.472.325 (XO: 17.035473846)

 - Block number: 3 starting at 2022-05-15T13:42:35.017.576.725 (XO: 45.017578185 - 45.017884186, t=40.4 degC)  Rank: 00273
   TM values: Max =   812  Min =  -839  Ave =    -4.72  Std =   161.16
   Min TM value:-839 at an offset of 182.526 usec -> 2022-05-15T13:42:35.017.759.250 (XO: 45.017760710)
   Max TM value:812 at an offset of 163.826 usec -> 2022-05-15T13:42:35.017.740.550 (XO: 45.017742010)
   Max dTM/dt [1/us]:8.18e+03 at an offset of 165.838 usec -> 2022-05-15T13:42:35.017.742.563 (XO: 45.017744023)
   Min dTM/dt [1/us]:-8.98e+03 at an offset of 165.076 usec -> 2022-05-15T13:42:35.017.741.800 (XO: 45.017743260)

 - Block number: 4 starting at 2022-05-15T13:42:35.137.240.725 (XO: 45.137242592 - 45.137548593, t=40.4 degC)  Rank: 00139
   TM values: Max =   435  Min =  -325  Ave =    -4.69  Std =    59.89
   Min TM value:-325 at an offset of 108.163 usec -> 2022-05-15T13:42:35.137.348.887 (XO: 45.137350754)
   Max TM value:435 at an offset of 149.901 usec -> 2022-05-15T13:42:35.137.390.625 (XO: 45.137392492)
   Max dTM/dt [1/us]:3.32e+03 at an offset of 149.851 usec -> 2022-05-15T13:42:35.137.390.575 (XO: 45.137392442)
   Min dTM/dt [1/us]:-3.70e+03 at an offset of 149.988 usec -> 2022-05-15T13:42:35.137.390.713 (XO: 45.137392580)
