-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri May 12 01:32:12 2023 UTC
-- File 20230511_235948_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 6.679163 to 59.252893
-each separately from 6s to 59s and from 103610us to 679452us.
   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, ...
      16.740253 in 1 packets: 18
      8.683616 in 1 packets: 36
      27.148705 in 1 packets: 54
MIU packet time from 2023-05-11T23:59:57.679.163.000 to 2023-05-12T00:00:50.252.893.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, ...
      16.740253 in 1 packets: 18
      8.683616 in 1 packets: 36
      27.148705 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 7.4125736 to 60.4123808
   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, ...
      16.9999381 in 1 packets: 18
      8.9999672 in 1 packets: 36
      26.9999019 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20230511_235948_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:
      66 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.0917378 to 8.0920268
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.7401910  -- OK for SL --
   MIU time from 2023-05-11T23:59:57.679.163.000 to 2023-05-11T23:59:57.679.452.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.740253

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.8322178 to 24.8325068
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6835830  -- OK for SL --
   MIU time from 2023-05-12T00:00:14.419.705.000 to 2023-05-12T00:00:14.419.994.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.683616

 - 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:
      57 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.5160898 to 33.5163788
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.1486070  -- OK for SL --
   MIU time from 2023-05-12T00:00:23.103.610.000 to 2023-05-12T00:00:23.103.899.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.148705

 - 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:
      99 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.6649858 to 60.6652748
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-12T00:00:50.252.604.000 to 2023-05-12T00:00:50.252.893.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 = 6, 32bit 10MHz counter = 8.091737800 corrected by 40bit 10MHz counter of 7.412573600 obtained at 1Hz counter of 6. Result: 6.679166645
--
   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: 2023-05-11T23:59:57.679.022.725
   Max 1st sample MIU time among all SL packets: 2023-05-12T00:00:50.252.752.725
   Min 1st sample XO time among all SL packets: 6.679026369
   Max 1st sample XO time among all SL packets: 59.252754635
   TM values from -248 to 397 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-11T23:59:57.679.022.725 (XO: 6.679026369 - 6.679332371, t=38.8 degC)  Rank: 00066
   TM values: Max =   195  Min =  -248  Ave =    -4.48  Std =    24.18
   Min TM value:-248 at an offset of 110.400 usec -> 2023-05-11T23:59:57.679.133.125 (XO: 6.679136770)
   Max TM value:195 at an offset of 111.900 usec -> 2023-05-11T23:59:57.679.134.625 (XO: 6.679138270)
   Max dTM/dt [1/us]:9.86e+02 at an offset of 170.438 usec -> 2023-05-11T23:59:57.679.193.163 (XO: 6.679196808)
   Min dTM/dt [1/us]:-9.89e+02 at an offset of 194.426 usec -> 2023-05-11T23:59:57.679.217.150 (XO: 6.679220795)

 - Block number: 2 starting at 2023-05-12T00:00:14.419.564.725 (XO: 23.419567335 - 23.419873337, t=38.8 degC)  Rank: 00070
   TM values: Max =   397  Min =  -198  Ave =    -4.45  Std =    24.96
   Min TM value:-198 at an offset of 97.075 usec -> 2023-05-12T00:00:14.419.661.800 (XO: 23.419664411)
   Max TM value:397 at an offset of 102.625 usec -> 2023-05-12T00:00:14.419.667.350 (XO: 23.419669961)
   Max dTM/dt [1/us]:3.02e+03 at an offset of 129.288 usec -> 2023-05-12T00:00:14.419.694.012 (XO: 23.419696623)
   Min dTM/dt [1/us]:-3.64e+03 at an offset of 102.700 usec -> 2023-05-12T00:00:14.419.667.425 (XO: 23.419670036)

 - Block number: 3 starting at 2023-05-12T00:00:23.103.469.725 (XO: 32.103470997 - 32.103776999, t=38.8 degC)  Rank: 00057
   TM values: Max =   151  Min =  -166  Ave =    -4.47  Std =    15.45
   Min TM value:-166 at an offset of 125.088 usec -> 2023-05-12T00:00:23.103.594.812 (XO: 32.103596085)
   Max TM value:151 at an offset of 124.813 usec -> 2023-05-12T00:00:23.103.594.537 (XO: 32.103595810)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 97.363 usec -> 2023-05-12T00:00:23.103.567.087 (XO: 32.103568360)
   Min dTM/dt [1/us]:-1.49e+03 at an offset of 124.938 usec -> 2023-05-12T00:00:23.103.594.662 (XO: 32.103595935)

 - Block number: 4 starting at 2023-05-12T00:00:50.252.463.725 (XO: 59.252465634 - 59.252771635, t=38.8 degC)  Rank: 00099
   TM values: Max =   386  Min =  -120  Ave =    -4.49  Std =    22.51
   Min TM value:-120 at an offset of 88.375 usec -> 2023-05-12T00:00:50.252.552.100 (XO: 59.252554009)
   Max TM value:386 at an offset of 87.125 usec -> 2023-05-12T00:00:50.252.550.850 (XO: 59.252552759)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 87.013 usec -> 2023-05-12T00:00:50.252.550.737 (XO: 59.252552647)
   Min dTM/dt [1/us]:-8.03e+02 at an offset of 87.275 usec -> 2023-05-12T00:00:50.252.551.000 (XO: 59.252552909)
