-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 20:40:05 2023 UTC
-- File 20220115_033712_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.271583 to 59.892785
-each separately from 4s to 59s and from 72056us to 892785us.
   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, ...
      23.000143 in 1 packets: 18
      6.799752 in 1 packets: 36
      25.820151 in 1 packets: 54
MIU packet time from 2022-01-15T03:37:19.271.583.000 to 2022-01-15T03:38:14.892.785.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, ...
      23.000143 in 1 packets: 18
      6.799752 in 1 packets: 36
      25.820151 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.3919077 to 60.3917155
   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, ...
      22.9999196 in 1 packets: 18
      6.9999756 in 1 packets: 36
      24.9999126 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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 20220115_033712_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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.6634917 to 5.6637807
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.0000630  -- OK for SL --
   MIU time from 2022-01-15T03:37:19.271.583.000 to 2022-01-15T03:37:19.271.872.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.000143

 - 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.6638437 to 28.6641327
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.7997270  -- OK for SL --
   MIU time from 2022-01-15T03:37:42.272.015.000 to 2022-01-15T03:37:42.272.304.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.799752

 - 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:
      62 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.4638597 to 35.4641487
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.8200630  -- OK for SL --
   MIU time from 2022-01-15T03:37:49.072.056.000 to 2022-01-15T03:37:49.072.345.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.820151

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.2842117 to 61.2845007
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-15T03:38:14.892.496.000 to 2022-01-15T03:38:14.892.785.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 = 5.663491700 corrected by 40bit 10MHz counter of 5.391907700 obtained at 1Hz counter of 4. Result: 4.271584951
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-15T03:37:19.271.442.725
   Max 1st sample MIU time among all SL packets: 2022-01-15T03:38:14.892.644.725
   Min 1st sample XO time among all SL packets: 4.271444675
   Max 1st sample XO time among all SL packets: 59.892648139
   TM values from -179 to 171 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-15T03:37:19.271.442.725 (XO: 4.271444675 - 4.271750676, t=37.2 degC)  Rank: 00055
   TM values: Max =   126  Min =  -150  Ave =    -4.63  Std =    16.71
   Min TM value:-150 at an offset of 111.038 usec -> 2022-01-15T03:37:19.271.553.762 (XO: 4.271555713)
   Max TM value:126 at an offset of 116.025 usec -> 2022-01-15T03:37:19.271.558.750 (XO: 4.271560700)
   Max dTM/dt [1/us]:8.87e+02 at an offset of 159.938 usec -> 2022-01-15T03:37:19.271.602.663 (XO: 4.271604613)
   Min dTM/dt [1/us]:-1.34e+03 at an offset of 116.150 usec -> 2022-01-15T03:37:19.271.558.875 (XO: 4.271560825)

 - Block number: 2 starting at 2022-01-15T03:37:42.271.874.725 (XO: 27.271877077 - 27.272183078, t=37.2 degC)  Rank: 00054
   TM values: Max =   130  Min =  -179  Ave =    -4.59  Std =    18.21
   Min TM value:-179 at an offset of 111.513 usec -> 2022-01-15T03:37:42.271.986.237 (XO: 27.271988589)
   Max TM value:130 at an offset of 111.200 usec -> 2022-01-15T03:37:42.271.985.925 (XO: 27.271988277)
   Max dTM/dt [1/us]:1.42e+03 at an offset of 113.738 usec -> 2022-01-15T03:37:42.271.988.462 (XO: 27.271990814)
   Min dTM/dt [1/us]:-1.39e+03 at an offset of 113.550 usec -> 2022-01-15T03:37:42.271.988.275 (XO: 27.271990627)

 - Block number: 3 starting at 2022-01-15T03:37:49.071.915.725 (XO: 34.071916784 - 34.072222785, t=37.2 degC)  Rank: 00062
   TM values: Max =   134  Min =  -161  Ave =    -4.66  Std =    15.95
   Min TM value:-161 at an offset of 123.938 usec -> 2022-01-15T03:37:49.072.039.662 (XO: 34.072040722)
   Max TM value:134 at an offset of 111.988 usec -> 2022-01-15T03:37:49.072.027.712 (XO: 34.072028772)
   Max dTM/dt [1/us]:1.40e+03 at an offset of 126.175 usec -> 2022-01-15T03:37:49.072.041.900 (XO: 34.072042959)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 112.088 usec -> 2022-01-15T03:37:49.072.027.812 (XO: 34.072028872)

 - Block number: 4 starting at 2022-01-15T03:38:14.892.355.725 (XO: 59.892359137 - 59.892665139, t=37.2 degC)  Rank: 00055
   TM values: Max =   171  Min =  -177  Ave =    -4.71  Std =    15.11
   Min TM value:-177 at an offset of 99.088 usec -> 2022-01-15T03:38:14.892.454.812 (XO: 59.892458225)
   Max TM value:171 at an offset of 98.838 usec -> 2022-01-15T03:38:14.892.454.562 (XO: 59.892457975)
   Max dTM/dt [1/us]:1.46e+03 at an offset of 98.750 usec -> 2022-01-15T03:38:14.892.454.475 (XO: 59.892457888)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 98.950 usec -> 2022-01-15T03:38:14.892.454.675 (XO: 59.892458088)
