-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jul  2 09:10:19 2023 UTC
-- File 20230624_212204_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 7.688231 to 54.451622
-each separately from 7s to 54s and from 239363us to 688520us.
   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, ...
      12.550843 in 1 packets: 18
      21.221205 in 1 packets: 36
      12.990187 in 1 packets: 54
MIU packet time from 2023-06-24T21:22:14.688.231.000 to 2023-06-24T21:23:01.451.622.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, ...
      12.550843 in 1 packets: 18
      21.221205 in 1 packets: 36
      12.990187 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 8.7035447 to 55.7033871
   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, ...
      12.9999564 in 2 packets: 18, 54
      20.9999296 in 1 packets: 36
Temperature FPGA: 
      FF -> 56.3 degC in 72 packets (all packets)
Temperature XO: 
      C6 -> 45.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 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 20230624_212204_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.3917773 to 9.3920663
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5507990  -- OK for SL --
   MIU time from 2023-06-24T21:22:14.688.231.000 to 2023-06-24T21:22:14.688.520.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.550843

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.9428653 to 21.9431543
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2211350  -- OK for SL --
   MIU time from 2023-06-24T21:22:27.239.363.000 to 2023-06-24T21:22:27.239.652.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.221205

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.1642893 to 43.1645783
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.9901430  -- OK for SL --
   MIU time from 2023-06-24T21:22:48.460.857.000 to 2023-06-24T21:22:48.461.146.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.990187

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.1547213 to 56.1550103
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-24T21:23:01.451.333.000 to 2023-06-24T21:23:01.451.622.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 = 7, 32bit 10MHz counter = 9.391777300 corrected by 40bit 10MHz counter of 8.703544700 obtained at 1Hz counter of 7. Result: 7.688234940
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2023-06-24T21:22:14.688.090.725
   Max 1st sample MIU time among all SL packets: 2023-06-24T21:23:01.451.481.725
   Min 1st sample XO time among all SL packets: 7.688094665
   Max 1st sample XO time among all SL packets: 54.451484460
   TM values from -282 to 226 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-24T21:22:14.688.090.725 (XO: 7.688094665 - 7.688400666, t=45.2 degC)  Rank: 00086
   TM values: Max =   205  Min =  -282  Ave =    -4.30  Std =    31.63
   Min TM value:-282 at an offset of 123.075 usec -> 2023-06-24T21:22:14.688.213.800 (XO: 7.688217740)
   Max TM value:205 at an offset of 120.563 usec -> 2023-06-24T21:22:14.688.211.287 (XO: 7.688215227)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 181.601 usec -> 2023-06-24T21:22:14.688.272.325 (XO: 7.688276265)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 179.151 usec -> 2023-06-24T21:22:14.688.269.875 (XO: 7.688273815)

 - Block number: 2 starting at 2023-06-24T21:22:27.239.222.725 (XO: 20.239224714 - 20.239530715, t=45.2 degC)  Rank: 00078
   TM values: Max =   203  Min =  -258  Ave =    -4.35  Std =    26.58
   Min TM value:-258 at an offset of 120.638 usec -> 2023-06-24T21:22:27.239.343.362 (XO: 20.239345352)
   Max TM value:203 at an offset of 151.526 usec -> 2023-06-24T21:22:27.239.374.250 (XO: 20.239376240)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 120.738 usec -> 2023-06-24T21:22:27.239.343.462 (XO: 20.239345452)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 118.263 usec -> 2023-06-24T21:22:27.239.340.987 (XO: 20.239342977)

 - Block number: 3 starting at 2023-06-24T21:22:48.460.716.725 (XO: 41.460719891 - 41.461025892, t=45.2 degC)  Rank: 00080
   TM values: Max =   226  Min =  -236  Ave =    -4.34  Std =    22.10
   Min TM value:-236 at an offset of 105.838 usec -> 2023-06-24T21:22:48.460.822.562 (XO: 41.460825729)
   Max TM value:226 at an offset of 105.588 usec -> 2023-06-24T21:22:48.460.822.312 (XO: 41.460825479)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 120.850 usec -> 2023-06-24T21:22:48.460.837.575 (XO: 41.460840742)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 105.713 usec -> 2023-06-24T21:22:48.460.822.437 (XO: 41.460825604)

 - Block number: 4 starting at 2023-06-24T21:23:01.451.192.725 (XO: 54.451195459 - 54.451501460, t=45.2 degC)  Rank: 00083
   TM values: Max =   205  Min =  -278  Ave =    -4.45  Std =    22.91
   Min TM value:-278 at an offset of 105.413 usec -> 2023-06-24T21:23:01.451.298.137 (XO: 54.451300872)
   Max TM value:205 at an offset of 110.400 usec -> 2023-06-24T21:23:01.451.303.125 (XO: 54.451305859)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 107.900 usec -> 2023-06-24T21:23:01.451.300.625 (XO: 54.451303359)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 110.538 usec -> 2023-06-24T21:23:01.451.303.262 (XO: 54.451305997)
