-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar 19 17:14:32 2023 UTC
-- File 20220616_121454_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 12.491212 to 33.429075
-each separately from 12s to 33s and from 149393us to 491501us.
   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, ...
      15.657892 in 1 packets: 18
      5.279104 in 1 packets: 36
MIU packet time from 2022-06-16T12:15:09.491.212.000 to 2022-06-16T12:15:30.429.075.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, ...
      15.657892 in 1 packets: 18
      5.279104 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 13.5495677 to 34.5494984
   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, ...
      15.9999472 in 1 packets: 18
      4.9999835 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 54 packets (all packets)
Temperature XO: 
      C5 -> 43.6 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220616_121454_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.0407815 to 14.0410705
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6578390  -- OK for SL --
   MIU time from 2022-06-16T12:15:09.491.212.000 to 2022-06-16T12:15:09.491.501.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.657892

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.6989095 to 29.6991985
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.2790870  -- OK for SL --
   MIU time from 2022-06-16T12:15:25.149.393.000 to 2022-06-16T12:15:25.149.682.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.279104

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.9782855 to 34.9785745
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-16T12:15:30.428.786.000 to 2022-06-16T12:15:30.429.075.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 = 12, 32bit 10MHz counter = 14.040781500 corrected by 40bit 10MHz counter of 13.549567700 obtained at 1Hz counter of 12. Result: 12.491215421
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2022-06-16T12:15:09.491.071.725
   Max 1st sample MIU time among all SL packets: 2022-06-16T12:15:30.428.934.725
   Min 1st sample XO time among all SL packets: 12.491075146
   Max 1st sample XO time among all SL packets: 33.428937240
   TM values from -271 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-16T12:15:09.491.071.725 (XO: 12.491075146 - 12.491381147, t=43.6 degC)  Rank: 00081
   TM values: Max =   234  Min =  -271  Ave =    -4.40  Std =    30.04
   Min TM value:-271 at an offset of 126.113 usec -> 2022-06-16T12:15:09.491.197.837 (XO: 12.491201258)
   Max TM value:234 at an offset of 111.400 usec -> 2022-06-16T12:15:09.491.183.125 (XO: 12.491186546)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 111.275 usec -> 2022-06-16T12:15:09.491.183.000 (XO: 12.491186421)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 108.888 usec -> 2022-06-16T12:15:09.491.180.612 (XO: 12.491184033)

 - Block number: 2 starting at 2022-06-16T12:15:25.149.252.725 (XO: 28.149254818 - 28.149560819, t=43.6 degC)  Rank: 00079
   TM values: Max =   215  Min =  -259  Ave =    -4.48  Std =    28.71
   Min TM value:-259 at an offset of 118.663 usec -> 2022-06-16T12:15:25.149.371.387 (XO: 28.149373480)
   Max TM value:215 at an offset of 121.000 usec -> 2022-06-16T12:15:25.149.373.725 (XO: 28.149375818)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 166.488 usec -> 2022-06-16T12:15:25.149.419.213 (XO: 28.149421306)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 152.663 usec -> 2022-06-16T12:15:25.149.405.388 (XO: 28.149407481)

 - Block number: 3 starting at 2022-06-16T12:15:30.428.645.725 (XO: 33.428648240 - 33.428954241, t=43.6 degC)  Rank: 00081
   TM values: Max =   193  Min =  -233  Ave =    -4.47  Std =    21.96
   Min TM value:-233 at an offset of 194.826 usec -> 2022-06-16T12:15:30.428.840.550 (XO: 33.428843065)
   Max TM value:193 at an offset of 111.150 usec -> 2022-06-16T12:15:30.428.756.875 (XO: 33.428759390)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 197.088 usec -> 2022-06-16T12:15:30.428.842.813 (XO: 33.428845328)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 111.288 usec -> 2022-06-16T12:15:30.428.757.012 (XO: 33.428759527)
