-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 14:55:22 2021 UTC
-- File 20210802_044859_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 8.501692 to 46.949484
-each separately from 8s to 46s and from 90184us to 949484us.
   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, ...
      17.628491 in 1 packets: 18
      4.959423 in 1 packets: 36
      15.858722 in 1 packets: 54
MIU packet time from 2021-08-02T04:49:10.501.692.000 to 2021-08-02T04:49:48.949.484.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, ...
      17.628491 in 1 packets: 18
      4.959423 in 1 packets: 36
      15.858722 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 9.8763756 to 47.8762492
   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, ...
      17.9999401 in 1 packets: 18
      4.9999834 in 1 packets: 36
      14.9999501 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210802_044859_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.3780684 to 10.3783574
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6284310  -- OK for SL --
   MIU time from 2021-08-02T04:49:10.501.692.000 to 2021-08-02T04:49:10.501.981.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.628491

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.0067884 to 28.0070774
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.9594070  -- OK for SL --
   MIU time from 2021-08-02T04:49:28.130.472.000 to 2021-08-02T04:49:28.130.761.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.959423

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.9664844 to 32.9667734
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8586710  -- OK for SL --
   MIU time from 2021-08-02T04:49:33.090.184.000 to 2021-08-02T04:49:33.090.473.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.858722

 - 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 48.8254444 to 48.8257334
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T04:49:48.949.195.000 to 2021-08-02T04:49:48.949.484.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 = 8, 32bit 10MHz counter = 10.378068400 corrected by 40bit 10MHz counter of 9.876375600 obtained at 1Hz counter of 8. Result: 8.501694456
--
   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: 2021-08-02T04:49:10.501.551.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T04:49:48.949.343.725
   Min 1st sample XO time among all SL packets: 8.501554180
   Max 1st sample XO time among all SL packets: 46.949347058
   TM values from -270 to 271 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T04:49:10.501.551.725 (XO: 8.501554180 - 8.501860181, t=37.2 degC)  Rank: 00080
   TM values: Max =   271  Min =  -270  Ave =    -4.48  Std =    27.79
   Min TM value:-270 at an offset of 112.000 usec -> 2021-08-02T04:49:10.501.663.725 (XO: 8.501666180)
   Max TM value:271 at an offset of 114.500 usec -> 2021-08-02T04:49:10.501.666.225 (XO: 8.501668681)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 114.350 usec -> 2021-08-02T04:49:10.501.666.075 (XO: 8.501668531)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 111.838 usec -> 2021-08-02T04:49:10.501.663.562 (XO: 8.501666018)

 - Block number: 2 starting at 2021-08-02T04:49:28.130.331.725 (XO: 26.130332855 - 26.130638856, t=37.2 degC)  Rank: 00081
   TM values: Max =   239  Min =  -260  Ave =    -4.46  Std =    22.73
   Min TM value:-260 at an offset of 118.725 usec -> 2021-08-02T04:49:28.130.450.450 (XO: 26.130451580)
   Max TM value:239 at an offset of 118.475 usec -> 2021-08-02T04:49:28.130.450.200 (XO: 26.130451330)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 121.100 usec -> 2021-08-02T04:49:28.130.452.825 (XO: 26.130453955)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 118.588 usec -> 2021-08-02T04:49:28.130.450.312 (XO: 26.130451443)

 - Block number: 3 starting at 2021-08-02T04:49:33.090.043.725 (XO: 31.090045331 - 31.090351332, t=37.2 degC)  Rank: 00078
   TM values: Max =   234  Min =  -258  Ave =    -4.51  Std =    22.78
   Min TM value:-258 at an offset of 100.425 usec -> 2021-08-02T04:49:33.090.144.150 (XO: 31.090145756)
   Max TM value:234 at an offset of 97.875 usec -> 2021-08-02T04:49:33.090.141.600 (XO: 31.090143206)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 100.550 usec -> 2021-08-02T04:49:33.090.144.275 (XO: 31.090145881)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 97.963 usec -> 2021-08-02T04:49:33.090.141.687 (XO: 31.090143294)

 - Block number: 4 starting at 2021-08-02T04:49:48.949.054.725 (XO: 46.949058057 - 46.949364058, t=37.2 degC)  Rank: 00079
   TM values: Max =   199  Min =  -232  Ave =    -4.56  Std =    25.31
   Min TM value:-232 at an offset of 78.875 usec -> 2021-08-02T04:49:48.949.133.600 (XO: 46.949136932)
   Max TM value:199 at an offset of 110.375 usec -> 2021-08-02T04:49:48.949.165.100 (XO: 46.949168432)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 110.213 usec -> 2021-08-02T04:49:48.949.164.937 (XO: 46.949168270)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 107.513 usec -> 2021-08-02T04:49:48.949.162.237 (XO: 46.949165570)
