-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 04:51:14 2021 UTC
-- File 20210803_173318_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 3.334666 to 59.395494
-each separately from 3s to 59s and from 255056us to 615189us.
   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, ...
      22.279945 in 1 packets: 18
      17.639867 in 1 packets: 36
      16.139860 in 1 packets: 54
MIU packet time from 2021-08-03T17:33:24.334.666.000 to 2021-08-03T17:34:20.395.494.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, ...
      22.279945 in 1 packets: 18
      17.639867 in 1 packets: 36
      16.139860 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 4.8094831 to 60.8092963
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      21.9999267 in 1 packets: 18
      17.9999398 in 1 packets: 36
      15.9999467 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
Temperature XO: 
      C1 -> 37.2 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 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 20210803_173318_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.1441505 to 5.1444395
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2798710  -- OK for SL --
   MIU time from 2021-08-03T17:33:24.334.666.000 to 2021-08-03T17:33:24.334.955.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.279945

 - 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 27.4243105 to 27.4245995
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6398070  -- OK for SL --
   MIU time from 2021-08-03T17:33:46.614.900.000 to 2021-08-03T17:33:46.615.189.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.639867

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.0644065 to 45.0646955
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1398070  -- OK for SL --
   MIU time from 2021-08-03T17:34:04.255.056.000 to 2021-08-03T17:34:04.255.345.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.139860

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.2045025 to 61.2047915
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T17:34:20.395.205.000 to 2021-08-03T17:34:20.395.494.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 = 3, 32bit 10MHz counter = 5.144150500 corrected by 40bit 10MHz counter of 4.809483100 obtained at 1Hz counter of 3. Result: 3.334668504
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-03T17:33:24.334.525.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T17:34:20.395.353.725
   Min 1st sample XO time among all SL packets: 3.334528229
   Max 1st sample XO time among all SL packets: 59.395356230
   TM values from -319 to 259 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T17:33:24.334.525.725 (XO: 3.334528229 - 3.334834230, t=37.2 degC)  Rank: 00080
   TM values: Max =   222  Min =  -251  Ave =    -4.61  Std =    25.03
   Min TM value:-251 at an offset of 128.963 usec -> 2021-08-03T17:33:24.334.654.687 (XO: 3.334657192)
   Max TM value:222 at an offset of 131.650 usec -> 2021-08-03T17:33:24.334.657.375 (XO: 3.334659879)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 131.463 usec -> 2021-08-03T17:33:24.334.657.187 (XO: 3.334659692)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 128.825 usec -> 2021-08-03T17:33:24.334.654.550 (XO: 3.334657054)

 - Block number: 2 starting at 2021-08-03T17:33:46.614.759.725 (XO: 25.614762515 - 25.615068516, t=37.2 degC)  Rank: 00076
   TM values: Max =   250  Min =  -319  Ave =    -4.50  Std =    31.92
   Min TM value:-319 at an offset of 129.013 usec -> 2021-08-03T17:33:46.614.888.737 (XO: 25.614891528)
   Max TM value:250 at an offset of 128.713 usec -> 2021-08-03T17:33:46.614.888.437 (XO: 25.614891228)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 131.363 usec -> 2021-08-03T17:33:46.614.891.087 (XO: 25.614893878)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 128.763 usec -> 2021-08-03T17:33:46.614.888.487 (XO: 25.614891278)

 - Block number: 3 starting at 2021-08-03T17:34:04.254.915.725 (XO: 43.254917466 - 43.255223467, t=37.2 degC)  Rank: 00073
   TM values: Max =   236  Min =  -275  Ave =    -4.56  Std =    26.78
   Min TM value:-275 at an offset of 118.488 usec -> 2021-08-03T17:34:04.255.034.212 (XO: 43.255035954)
   Max TM value:236 at an offset of 118.188 usec -> 2021-08-03T17:34:04.255.033.912 (XO: 43.255035654)
   Max dTM/dt [1/us]:2.45e+03 at an offset of 120.838 usec -> 2021-08-03T17:34:04.255.036.562 (XO: 43.255038304)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 118.300 usec -> 2021-08-03T17:34:04.255.034.025 (XO: 43.255035767)

 - Block number: 4 starting at 2021-08-03T17:34:20.395.064.725 (XO: 59.395067229 - 59.395373230, t=37.2 degC)  Rank: 00083
   TM values: Max =   259  Min =  -287  Ave =    -4.57  Std =    29.67
   Min TM value:-287 at an offset of 172.163 usec -> 2021-08-03T17:34:20.395.236.888 (XO: 59.395239392)
   Max TM value:259 at an offset of 130.775 usec -> 2021-08-03T17:34:20.395.195.500 (XO: 59.395198004)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 133.438 usec -> 2021-08-03T17:34:20.395.198.162 (XO: 59.395200667)
   Min dTM/dt [1/us]:-2.86e+03 at an offset of 130.900 usec -> 2021-08-03T17:34:20.395.195.625 (XO: 59.395198129)
