-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 10 12:11:24 2023 UTC
-- File 20220531_153921_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.282418 to 33.363468
-each separately from 12s to 33s and from 282418us to 493454us.
   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, ...
      17.210458 in 1 packets: 18
      3.869725 in 1 packets: 36
MIU packet time from 2022-05-31T15:39:36.282.418.000 to 2022-05-31T15:39:57.363.468.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, ...
      17.210458 in 1 packets: 18
      3.869725 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.7513440 to 34.7512714
   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, ...
      16.9999412 in 1 packets: 18
      3.9999862 in 1 packets: 36
Temperature FPGA: 
      01 -> 53.7 degC in 54 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 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 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 20220531_153921_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.0337635 to 14.0340525
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2103990  -- OK for SL --
   MIU time from 2022-05-31T15:39:36.282.418.000 to 2022-05-31T15:39:36.282.707.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.210458

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.2444515 to 31.2447405
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.8697110  -- OK for SL --
   MIU time from 2022-05-31T15:39:53.493.165.000 to 2022-05-31T15:39:53.493.454.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.869725

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.1144515 to 35.1147405
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-31T15:39:57.363.179.000 to 2022-05-31T15:39:57.363.468.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.033763500 corrected by 40bit 10MHz counter of 13.751344000 obtained at 1Hz counter of 12. Result: 12.282420460
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2022-05-31T15:39:36.282.277.725
   Max 1st sample MIU time among all SL packets: 2022-05-31T15:39:57.363.327.725
   Min 1st sample XO time among all SL packets: 12.282280185
   Max 1st sample XO time among all SL packets: 33.363330097
   TM values from -275 to 245 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-31T15:39:36.282.277.725 (XO: 12.282280185 - 12.282586186, t=42.0 degC)  Rank: 00081
   TM values: Max =   222  Min =  -275  Ave =    -4.40  Std =    27.07
   Min TM value:-275 at an offset of 126.950 usec -> 2022-05-31T15:39:36.282.404.675 (XO: 12.282407135)
   Max TM value:222 at an offset of 129.313 usec -> 2022-05-31T15:39:36.282.407.037 (XO: 12.282409498)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 158.588 usec -> 2022-05-31T15:39:36.282.436.313 (XO: 12.282438773)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 143.650 usec -> 2022-05-31T15:39:36.282.421.375 (XO: 12.282423835)

 - Block number: 2 starting at 2022-05-31T15:39:53.493.024.725 (XO: 29.493027701 - 29.493333702, t=42.0 degC)  Rank: 00082
   TM values: Max =   245  Min =  -238  Ave =    -4.36  Std =    24.64
   Min TM value:-238 at an offset of 158.663 usec -> 2022-05-31T15:39:53.493.183.388 (XO: 29.493186364)
   Max TM value:245 at an offset of 158.413 usec -> 2022-05-31T15:39:53.493.183.138 (XO: 29.493186114)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 158.338 usec -> 2022-05-31T15:39:53.493.183.063 (XO: 29.493186039)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 158.513 usec -> 2022-05-31T15:39:53.493.183.238 (XO: 29.493186214)

 - Block number: 3 starting at 2022-05-31T15:39:57.363.038.725 (XO: 33.363041096 - 33.363347097, t=42.0 degC)  Rank: 00075
   TM values: Max =   201  Min =  -222  Ave =    -4.36  Std =    21.63
   Min TM value:-222 at an offset of 115.263 usec -> 2022-05-31T15:39:57.363.153.987 (XO: 33.363156359)
   Max TM value:201 at an offset of 115.038 usec -> 2022-05-31T15:39:57.363.153.762 (XO: 33.363156134)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 113.113 usec -> 2022-05-31T15:39:57.363.151.837 (XO: 33.363154209)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 115.150 usec -> 2022-05-31T15:39:57.363.153.875 (XO: 33.363156246)
