-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 16 12:36:35 2023 UTC
-- File 20220610_122556_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 5.586061 to 59.035594
-each separately from 5s to 59s and from 35305us to 806148us.
   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, ...
      11.219509 in 1 packets: 18
      27.319633 in 1 packets: 36
      14.909235 in 1 packets: 54
MIU packet time from 2022-06-10T12:26:04.586.061.000 to 2022-06-10T12:26:58.035.594.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, ...
      11.219509 in 1 packets: 18
      27.319633 in 1 packets: 36
      14.909235 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.6141510 to 60.6139634
   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, ...
      10.9999618 in 1 packets: 18
      27.9999026 in 1 packets: 36
      14.9999480 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 72 packets (all packets)
Temperature XO: 
      C4 -> 42.0 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 20220610_122556_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.2002135 to 7.2005025
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.2194710  -- OK for SL --
   MIU time from 2022-06-10T12:26:04.586.061.000 to 2022-06-10T12:26:04.586.350.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.219509

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.4199735 to 18.4202625
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.3195350  -- OK for SL --
   MIU time from 2022-06-10T12:26:15.805.859.000 to 2022-06-10T12:26:15.806.148.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.319633

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.7397975 to 45.7400865
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.9091830  -- OK for SL --
   MIU time from 2022-06-10T12:26:43.125.781.000 to 2022-06-10T12:26:43.126.070.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.909235

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.6492695 to 60.6495585
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-10T12:26:58.035.305.000 to 2022-06-10T12:26:58.035.594.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 = 5, 32bit 10MHz counter = 7.200213500 corrected by 40bit 10MHz counter of 6.614151000 obtained at 1Hz counter of 5. Result: 5.586064551
--
   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-06-10T12:26:04.585.920.725
   Max 1st sample MIU time among all SL packets: 2022-06-10T12:26:58.035.453.725
   Min 1st sample XO time among all SL packets: 5.585924276
   Max 1st sample XO time among all SL packets: 59.035454949
   TM values from -285 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-10T12:26:04.585.920.725 (XO: 5.585924276 - 5.586230277, t=42.0 degC)  Rank: 00081
   TM values: Max =   214  Min =  -264  Ave =    -4.51  Std =    29.05
   Min TM value:-264 at an offset of 121.825 usec -> 2022-06-10T12:26:04.586.042.550 (XO: 5.586046101)
   Max TM value:214 at an offset of 181.288 usec -> 2022-06-10T12:26:04.586.102.013 (XO: 5.586105564)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 181.138 usec -> 2022-06-10T12:26:04.586.101.863 (XO: 5.586105414)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 121.688 usec -> 2022-06-10T12:26:04.586.042.412 (XO: 5.586045964)

 - Block number: 2 starting at 2022-06-10T12:26:15.805.718.725 (XO: 16.805723245 - 16.806029246, t=42.0 degC)  Rank: 00076
   TM values: Max =   203  Min =  -244  Ave =    -4.54  Std =    27.82
   Min TM value:-244 at an offset of 126.763 usec -> 2022-06-10T12:26:15.805.845.487 (XO: 16.805850008)
   Max TM value:203 at an offset of 126.475 usec -> 2022-06-10T12:26:15.805.845.200 (XO: 16.805849720)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 99.863 usec -> 2022-06-10T12:26:15.805.818.587 (XO: 16.805823108)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 102.350 usec -> 2022-06-10T12:26:15.805.821.075 (XO: 16.805825595)

 - Block number: 3 starting at 2022-06-10T12:26:43.125.640.725 (XO: 44.125642252 - 44.125948253, t=42.0 degC)  Rank: 00081
   TM values: Max =   218  Min =  -285  Ave =    -4.50  Std =    28.93
   Min TM value:-285 at an offset of 122.788 usec -> 2022-06-10T12:26:43.125.763.512 (XO: 44.125765040)
   Max TM value:218 at an offset of 125.113 usec -> 2022-06-10T12:26:43.125.765.837 (XO: 44.125767365)
   Max dTM/dt [1/us]:1.91e+03 at an offset of 124.975 usec -> 2022-06-10T12:26:43.125.765.700 (XO: 44.125767228)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 156.663 usec -> 2022-06-10T12:26:43.125.797.388 (XO: 44.125798915)

 - Block number: 4 starting at 2022-06-10T12:26:58.035.164.725 (XO: 59.035165948 - 59.035471949, t=42.0 degC)  Rank: 00076
   TM values: Max =   228  Min =  -258  Ave =    -4.49  Std =    28.77
   Min TM value:-258 at an offset of 113.150 usec -> 2022-06-10T12:26:58.035.277.875 (XO: 59.035279098)
   Max TM value:228 at an offset of 115.488 usec -> 2022-06-10T12:26:58.035.280.212 (XO: 59.035281436)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 145.526 usec -> 2022-06-10T12:26:58.035.310.250 (XO: 59.035311474)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 113.038 usec -> 2022-06-10T12:26:58.035.277.762 (XO: 59.035278986)
