-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 03:26:00 2023 UTC
-- File 20220522_040304_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 11.119090 to 56.994772
-each separately from 11s to 56s and from 119090us to 994772us.
   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, ...
      8.638828 in 1 packets: 18
      17.877905 in 1 packets: 36
      19.357793 in 1 packets: 54
MIU packet time from 2022-05-22T04:03:18.119.090.000 to 2022-05-22T04:04:03.994.772.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, ...
      8.638828 in 1 packets: 18
      17.877905 in 1 packets: 36
      19.357793 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 12.8137375 to 57.8135761
   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, ...
      7.9999712 in 1 packets: 18
      17.9999353 in 1 packets: 36
      18.9999321 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      02 -> 52.4 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C3 -> 40.4 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 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      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 20220522_040304_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.9328288 to 12.9331178
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6387990  -- OK for SL --
   MIU time from 2022-05-22T04:03:18.119.090.000 to 2022-05-22T04:03:18.119.379.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.638828

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.5719168 to 21.5722058
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8778390  -- OK for SL --
   MIU time from 2022-05-22T04:03:26.758.207.000 to 2022-05-22T04:03:26.758.496.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.877905

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4500448 to 39.4503338
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.3577270  -- OK for SL --
   MIU time from 2022-05-22T04:03:44.636.401.000 to 2022-05-22T04:03:44.636.690.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.357793

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8080608 to 58.8083498
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T04:04:03.994.483.000 to 2022-05-22T04:04:03.994.772.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 = 11, 32bit 10MHz counter = 12.932828800 corrected by 40bit 10MHz counter of 12.813737500 obtained at 1Hz counter of 11. Result: 11.119091729
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-05-22T04:03:18.118.949.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T04:04:03.994.631.725
   Min 1st sample XO time among all SL packets: 11.118951453
   Max 1st sample XO time among all SL packets: 56.994637006
   TM values from -273 to 238 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T04:03:18.118.949.725 (XO: 11.118951453 - 11.119257454, t=40.4 degC)  Rank: 00083
   TM values: Max =   203  Min =  -273  Ave =    -4.44  Std =    24.14
   Min TM value:-273 at an offset of 113.350 usec -> 2022-05-22T04:03:18.119.063.075 (XO: 11.119064804)
   Max TM value:203 at an offset of 113.613 usec -> 2022-05-22T04:03:18.119.063.337 (XO: 11.119065066)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 113.463 usec -> 2022-05-22T04:03:18.119.063.187 (XO: 11.119064916)
   Min dTM/dt [1/us]:-2.34e+03 at an offset of 113.275 usec -> 2022-05-22T04:03:18.119.063.000 (XO: 11.119064729)

 - Block number: 2 starting at 2022-05-22T04:03:26.758.066.725 (XO: 19.758070554 - 19.758376555, t=40.4 degC)  Rank: 00080
   TM values: Max =   238  Min =  -245  Ave =    -4.47  Std =    21.74
   Min TM value:-245 at an offset of 113.038 usec -> 2022-05-22T04:03:26.758.179.762 (XO: 19.758183592)
   Max TM value:238 at an offset of 110.625 usec -> 2022-05-22T04:03:26.758.177.350 (XO: 19.758181179)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 113.150 usec -> 2022-05-22T04:03:26.758.179.875 (XO: 19.758183704)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 110.725 usec -> 2022-05-22T04:03:26.758.177.450 (XO: 19.758181279)

 - Block number: 3 starting at 2022-05-22T04:03:44.636.260.725 (XO: 37.636262816 - 37.636568817, t=40.4 degC)  Rank: 00079
   TM values: Max =   211  Min =  -267  Ave =    -4.49  Std =    27.70
   Min TM value:-267 at an offset of 126.838 usec -> 2022-05-22T04:03:44.636.387.562 (XO: 37.636389654)
   Max TM value:211 at an offset of 127.075 usec -> 2022-05-22T04:03:44.636.387.800 (XO: 37.636389891)
   Max dTM/dt [1/us]:2.24e+03 at an offset of 126.963 usec -> 2022-05-22T04:03:44.636.387.687 (XO: 37.636389779)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 126.750 usec -> 2022-05-22T04:03:44.636.387.475 (XO: 37.636389566)

 - Block number: 4 starting at 2022-05-22T04:04:03.994.342.725 (XO: 56.994348005 - 56.994654006, t=40.4 degC)  Rank: 00086
   TM values: Max =   198  Min =  -270  Ave =    -4.42  Std =    27.23
   Min TM value:-270 at an offset of 125.438 usec -> 2022-05-22T04:04:03.994.468.162 (XO: 56.994473443)
   Max TM value:198 at an offset of 125.675 usec -> 2022-05-22T04:04:03.994.468.400 (XO: 56.994473680)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 125.563 usec -> 2022-05-22T04:04:03.994.468.287 (XO: 56.994473568)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 125.350 usec -> 2022-05-22T04:04:03.994.468.075 (XO: 56.994473355)
