-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  3 22:53:11 2022 UTC
-- File 20210906_072719_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 9.584043 to 50.166644
-each separately from 9s to 50s and from 166355us to 584332us.
   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, ...
      14.846929 in 1 packets: 18
      19.875954 in 1 packets: 36
      5.858562 in 1 packets: 54
MIU packet time from 2021-09-06T07:27:31.584.043.000 to 2021-09-06T07:28:12.166.644.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, ...
      14.846929 in 1 packets: 18
      19.875954 in 1 packets: 36
      5.858562 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 10.9060974 to 51.9059608
   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, ...
      14.9999500 in 1 packets: 18
      19.9999333 in 1 packets: 36
      5.9999801 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210906_072719_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.4901413 to 11.4904303
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8468790  -- OK for SL --
   MIU time from 2021-09-06T07:27:31.584.043.000 to 2021-09-06T07:27:31.584.332.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.846929

 - 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 26.3373093 to 26.3375983
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.8758870  -- OK for SL --
   MIU time from 2021-09-06T07:27:46.431.261.000 to 2021-09-06T07:27:46.431.550.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.875954

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.2134853 to 46.2137743
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8585430  -- OK for SL --
   MIU time from 2021-09-06T07:28:06.307.504.000 to 2021-09-06T07:28:06.307.793.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.858562

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.0723173 to 52.0726063
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-06T07:28:12.166.355.000 to 2021-09-06T07:28:12.166.644.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 = 9, 32bit 10MHz counter = 11.490141300 corrected by 40bit 10MHz counter of 10.906097400 obtained at 1Hz counter of 9. Result: 9.584045827
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-06T07:27:31.583.902.725
   Max 1st sample MIU time among all SL packets: 2021-09-06T07:28:12.166.503.725
   Min 1st sample XO time among all SL packets: 9.583905552
   Max 1st sample XO time among all SL packets: 50.166505774
   TM values from -302 to 282 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-06T07:27:31.583.902.725 (XO: 9.583905552 - 9.584211553, t=37.2 degC)  Rank: 00090
   TM values: Max =   282  Min =  -274  Ave =    -4.57  Std =    23.55
   Min TM value:-274 at an offset of 124.838 usec -> 2021-09-06T07:27:31.584.027.562 (XO: 9.584030390)
   Max TM value:282 at an offset of 122.725 usec -> 2021-09-06T07:27:31.584.025.450 (XO: 9.584028277)
   Max dTM/dt [1/us]:2.49e+03 at an offset of 127.125 usec -> 2021-09-06T07:27:31.584.029.850 (XO: 9.584032677)
   Min dTM/dt [1/us]:-2.63e+03 at an offset of 124.688 usec -> 2021-09-06T07:27:31.584.027.412 (XO: 9.584030240)

 - Block number: 2 starting at 2021-09-06T07:27:46.431.120.725 (XO: 24.431123048 - 24.431429049, t=37.2 degC)  Rank: 00080
   TM values: Max =   225  Min =  -302  Ave =    -4.54  Std =    24.12
   Min TM value:-302 at an offset of 124.063 usec -> 2021-09-06T07:27:46.431.244.787 (XO: 24.431247111)
   Max TM value:225 at an offset of 121.800 usec -> 2021-09-06T07:27:46.431.242.525 (XO: 24.431244848)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 126.413 usec -> 2021-09-06T07:27:46.431.247.137 (XO: 24.431249461)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 123.863 usec -> 2021-09-06T07:27:46.431.244.587 (XO: 24.431246911)

 - Block number: 3 starting at 2021-09-06T07:28:06.307.363.725 (XO: 44.307365339 - 44.307671340, t=37.2 degC)  Rank: 00077
   TM values: Max =   249  Min =  -277  Ave =    -4.63  Std =    27.57
   Min TM value:-277 at an offset of 84.600 usec -> 2021-09-06T07:28:06.307.448.325 (XO: 44.307449940)
   Max TM value:249 at an offset of 99.763 usec -> 2021-09-06T07:28:06.307.463.487 (XO: 44.307465102)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 99.588 usec -> 2021-09-06T07:28:06.307.463.312 (XO: 44.307464927)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 97.050 usec -> 2021-09-06T07:28:06.307.460.775 (XO: 44.307462390)

 - Block number: 4 starting at 2021-09-06T07:28:12.166.214.725 (XO: 50.166216774 - 50.166522775, t=37.2 degC)  Rank: 00079
   TM values: Max =   236  Min =  -252  Ave =    -4.50  Std =    21.49
   Min TM value:-252 at an offset of 109.075 usec -> 2021-09-06T07:28:12.166.323.800 (XO: 50.166325849)
   Max TM value:236 at an offset of 111.663 usec -> 2021-09-06T07:28:12.166.326.387 (XO: 50.166328436)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 111.425 usec -> 2021-09-06T07:28:12.166.326.150 (XO: 50.166328199)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 108.838 usec -> 2021-09-06T07:28:12.166.323.562 (XO: 50.166325611)
