-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 20:04:37 2022 UTC
-- File 20220207_213235_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 4.034981 to 58.462037
-each separately from 4s to 58s and from 34981us to 761588us.
   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, ...
      14.120785 in 1 packets: 18
      26.604955 in 1 packets: 36
      13.700160 in 1 packets: 54
MIU packet time from 2022-02-07T21:32:42.034.981.000 to 2022-02-07T21:33:36.462.037.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, ...
      14.120785 in 1 packets: 18
      26.604955 in 1 packets: 36
      13.700160 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 6.1412688 to 60.1410781
   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, ...
      13.9999506 in 2 packets: 18, 54
      25.9999081 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220207_213235_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.1762513 to 6.1765403
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.1207350  -- OK for SL --
   MIU time from 2022-02-07T21:32:42.034.981.000 to 2022-02-07T21:32:42.035.270.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.120785

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.2972753 to 20.2975643
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 26.6048630  -- OK for SL --
   MIU time from 2022-02-07T21:32:56.156.055.000 to 2022-02-07T21:32:56.156.344.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 26.604955

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.9024273 to 46.9027163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7001110  -- OK for SL --
   MIU time from 2022-02-07T21:33:22.761.299.000 to 2022-02-07T21:33:22.761.588.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.700160

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.6028273 to 60.6031163
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T21:33:36.461.748.000 to 2022-02-07T21:33:36.462.037.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 = 4, 32bit 10MHz counter = 6.176251300 corrected by 40bit 10MHz counter of 6.141268800 obtained at 1Hz counter of 4. Result: 4.034982622
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T21:32:42.034.840.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T21:33:36.461.896.725
   Min 1st sample XO time among all SL packets: 4.034842347
   Max 1st sample XO time among all SL packets: 58.461899542
   TM values from -307 to 274 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T21:32:42.034.840.725 (XO: 4.034842347 - 4.035148348, t=37.2 degC)  Rank: 00086
   TM values: Max =   255  Min =  -244  Ave =    -4.45  Std =    19.90
   Min TM value:-244 at an offset of 128.425 usec -> 2022-02-07T21:32:42.034.969.150 (XO: 4.034970772)
   Max TM value:255 at an offset of 125.988 usec -> 2022-02-07T21:32:42.034.966.712 (XO: 4.034968335)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 128.575 usec -> 2022-02-07T21:32:42.034.969.300 (XO: 4.034970922)
   Min dTM/dt [1/us]:-2.78e+03 at an offset of 126.075 usec -> 2022-02-07T21:32:42.034.966.800 (XO: 4.034968422)

 - Block number: 2 starting at 2022-02-07T21:32:56.155.914.725 (XO: 18.155916171 - 18.156222172, t=37.2 degC)  Rank: 00081
   TM values: Max =   244  Min =  -300  Ave =    -4.49  Std =    26.64
   Min TM value:-300 at an offset of 115.000 usec -> 2022-02-07T21:32:56.156.029.725 (XO: 18.156031171)
   Max TM value:244 at an offset of 112.600 usec -> 2022-02-07T21:32:56.156.027.325 (XO: 18.156028771)
   Max dTM/dt [1/us]:2.80e+03 at an offset of 115.113 usec -> 2022-02-07T21:32:56.156.029.837 (XO: 18.156031284)
   Min dTM/dt [1/us]:-2.67e+03 at an offset of 112.700 usec -> 2022-02-07T21:32:56.156.027.425 (XO: 18.156028871)

 - Block number: 3 starting at 2022-02-07T21:33:22.761.158.725 (XO: 44.761162189 - 44.761468190, t=37.2 degC)  Rank: 00080
   TM values: Max =   220  Min =  -273  Ave =    -4.65  Std =    26.05
   Min TM value:-273 at an offset of 113.763 usec -> 2022-02-07T21:33:22.761.272.487 (XO: 44.761275952)
   Max TM value:220 at an offset of 114.013 usec -> 2022-02-07T21:33:22.761.272.737 (XO: 44.761276202)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 113.850 usec -> 2022-02-07T21:33:22.761.272.575 (XO: 44.761276039)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 111.438 usec -> 2022-02-07T21:33:22.761.270.162 (XO: 44.761273627)

 - Block number: 4 starting at 2022-02-07T21:33:36.461.607.725 (XO: 58.461610541 - 58.461916542, t=37.2 degC)  Rank: 00080
   TM values: Max =   274  Min =  -307  Ave =    -4.57  Std =    21.56
   Min TM value:-307 at an offset of 93.500 usec -> 2022-02-07T21:33:36.461.701.225 (XO: 58.461704041)
   Max TM value:274 at an offset of 91.100 usec -> 2022-02-07T21:33:36.461.698.825 (XO: 58.461701641)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 91.038 usec -> 2022-02-07T21:33:36.461.698.762 (XO: 58.461701578)
   Min dTM/dt [1/us]:-2.66e+03 at an offset of 93.425 usec -> 2022-02-07T21:33:36.461.701.150 (XO: 58.461703966)
