-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 11:28:38 2023 UTC
-- File 20220709_062631_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.935273 to 56.728807
-each separately from 4s to 56s and from 342549us to 935562us.
   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, ...
      20.406987 in 1 packets: 18
      14.227826 in 1 packets: 36
      17.157565 in 1 packets: 54
MIU packet time from 2022-07-09T06:26:38.935.273.000 to 2022-07-09T06:27:30.728.807.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, ...
      20.406987 in 1 packets: 18
      14.227826 in 1 packets: 36
      17.157565 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 5.7580046 to 57.7578152
   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, ...
      20.9999235 in 1 packets: 18
      13.9999491 in 1 packets: 36
      16.9999380 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C2 -> 38.8 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20220709_062631_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.6932784 to 6.6935674
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.4069110  -- OK for SL --
   MIU time from 2022-07-09T06:26:38.935.273.000 to 2022-07-09T06:26:38.935.562.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.406987

 - 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 27.1004784 to 27.1007674
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2277750  -- OK for SL --
   MIU time from 2022-07-09T06:26:59.342.549.000 to 2022-07-09T06:26:59.342.838.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.227826

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.3285424 to 41.3288314
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1575030  -- OK for SL --
   MIU time from 2022-07-09T06:27:13.570.664.000 to 2022-07-09T06:27:13.570.953.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.157565

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.4863344 to 58.4866234
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-09T06:27:30.728.518.000 to 2022-07-09T06:27:30.728.807.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.693278400 corrected by 40bit 10MHz counter of 5.758004600 obtained at 1Hz counter of 4. Result: 4.935277167
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-07-09T06:26:38.935.132.725
   Max 1st sample MIU time among all SL packets: 2022-07-09T06:27:30.728.666.725
   Min 1st sample XO time among all SL packets: 4.935136891
   Max 1st sample XO time among all SL packets: 56.728670548
   TM values from -302 to 219 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-09T06:26:38.935.132.725 (XO: 4.935136891 - 4.935442893, t=38.8 degC)  Rank: 00087
   TM values: Max =   215  Min =  -301  Ave =    -4.45  Std =    23.60
   Min TM value:-301 at an offset of 82.950 usec -> 2022-07-09T06:26:38.935.215.675 (XO: 4.935219842)
   Max TM value:215 at an offset of 68.363 usec -> 2022-07-09T06:26:38.935.201.087 (XO: 4.935205254)
   Max dTM/dt [1/us]:2.55e+03 at an offset of 83.075 usec -> 2022-07-09T06:26:38.935.215.800 (XO: 4.935219967)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 80.588 usec -> 2022-07-09T06:26:38.935.213.312 (XO: 4.935217479)

 - Block number: 2 starting at 2022-07-09T06:26:59.342.408.725 (XO: 25.342411258 - 25.342717259, t=38.8 degC)  Rank: 00079
   TM values: Max =   218  Min =  -302  Ave =    -4.45  Std =    26.84
   Min TM value:-302 at an offset of 38.575 usec -> 2022-07-09T06:26:59.342.447.300 (XO: 25.342449833)
   Max TM value:218 at an offset of 130.950 usec -> 2022-07-09T06:26:59.342.539.675 (XO: 25.342542208)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 38.688 usec -> 2022-07-09T06:26:59.342.447.412 (XO: 25.342449945)
   Min dTM/dt [1/us]:-2.30e+03 at an offset of 36.275 usec -> 2022-07-09T06:26:59.342.445.000 (XO: 25.342447533)

 - Block number: 3 starting at 2022-07-09T06:27:13.570.523.725 (XO: 39.570527036 - 39.570833037, t=38.8 degC)  Rank: 00085
   TM values: Max =   219  Min =  -281  Ave =    -4.39  Std =    31.81
   Min TM value:-281 at an offset of 189.501 usec -> 2022-07-09T06:27:13.570.713.225 (XO: 39.570716537)
   Max TM value:219 at an offset of 191.926 usec -> 2022-07-09T06:27:13.570.715.650 (XO: 39.570718962)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 119.250 usec -> 2022-07-09T06:27:13.570.642.975 (XO: 39.570646286)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 189.338 usec -> 2022-07-09T06:27:13.570.713.063 (XO: 39.570716374)

 - Block number: 4 starting at 2022-07-09T06:27:30.728.377.725 (XO: 56.728381547 - 56.728687548, t=38.8 degC)  Rank: 00078
   TM values: Max =   209  Min =  -262  Ave =    -4.44  Std =    33.54
   Min TM value:-262 at an offset of 115.663 usec -> 2022-07-09T06:27:30.728.493.387 (XO: 56.728497210)
   Max TM value:209 at an offset of 120.488 usec -> 2022-07-09T06:27:30.728.498.212 (XO: 56.728502035)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 148.388 usec -> 2022-07-09T06:27:30.728.526.113 (XO: 56.728529935)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 86.950 usec -> 2022-07-09T06:27:30.728.464.675 (XO: 56.728468497)
