-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec 22 18:50:56 2021 UTC
-- File 20210822_145237_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.145255 to 47.846316
-each separately from 7s to 47s and from 145255us to 956216us.
   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, ...
      21.780068 in 1 packets: 18
      13.030026 in 1 packets: 36
      5.889811 in 1 packets: 54
MIU packet time from 2021-08-22T14:52:47.145.255.000 to 2021-08-22T14:53:27.846.316.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, ...
      21.780068 in 1 packets: 18
      13.030026 in 1 packets: 36
      5.889811 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.9334411 to 48.9333094
   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, ...
      20.9999309 in 1 packets: 18
      12.9999571 in 1 packets: 36
      5.9999803 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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 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 20210822_145237_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 9.0786969 to 9.0789859
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.7799990  -- OK for SL --
   MIU time from 2021-08-22T14:52:47.145.255.000 to 2021-08-22T14:52:47.145.544.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.780068

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.8589849 to 30.8592739
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0299830  -- OK for SL --
   MIU time from 2021-08-22T14:53:08.925.612.000 to 2021-08-22T14:53:08.925.901.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.030026

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.8892569 to 43.8895459
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.8897910  -- OK for SL --
   MIU time from 2021-08-22T14:53:21.955.927.000 to 2021-08-22T14:53:21.956.216.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.889811

 - 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 49.7793369 to 49.7796259
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T14:53:27.846.027.000 to 2021-08-22T14:53:27.846.316.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.078696900 corrected by 40bit 10MHz counter of 8.933441100 obtained at 1Hz counter of 7. Result: 7.145256265
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-22T14:52:47.145.114.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T14:53:27.846.175.725
   Min 1st sample XO time among all SL packets: 7.145115989
   Max 1st sample XO time among all SL packets: 47.846179102
   TM values from -274 to 261 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T14:52:47.145.114.725 (XO: 7.145115989 - 7.145421990, t=37.2 degC)  Rank: 00080
   TM values: Max =   261  Min =  -274  Ave =    -4.40  Std =    26.46
   Min TM value:-274 at an offset of 118.113 usec -> 2021-08-22T14:52:47.145.232.837 (XO: 7.145234102)
   Max TM value:261 at an offset of 117.863 usec -> 2021-08-22T14:52:47.145.232.587 (XO: 7.145233852)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 120.488 usec -> 2021-08-22T14:52:47.145.235.212 (XO: 7.145236477)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 117.975 usec -> 2021-08-22T14:52:47.145.232.700 (XO: 7.145233965)

 - Block number: 2 starting at 2021-08-22T14:53:08.925.471.725 (XO: 28.925475679 - 28.925781680, t=37.2 degC)  Rank: 00079
   TM values: Max =   237  Min =  -235  Ave =    -4.54  Std =    17.81
   Min TM value:-235 at an offset of 117.738 usec -> 2021-08-22T14:53:08.925.589.462 (XO: 28.925593417)
   Max TM value:237 at an offset of 120.450 usec -> 2021-08-22T14:53:08.925.592.175 (XO: 28.925596129)
   Max dTM/dt [1/us]:1.71e+03 at an offset of 120.325 usec -> 2021-08-22T14:53:08.925.592.050 (XO: 28.925596004)
   Min dTM/dt [1/us]:-1.72e+03 at an offset of 117.600 usec -> 2021-08-22T14:53:08.925.589.325 (XO: 28.925593279)

 - Block number: 3 starting at 2021-08-22T14:53:21.955.786.725 (XO: 41.955790679 - 41.956096680, t=37.2 degC)  Rank: 00079
   TM values: Max =   204  Min =  -256  Ave =    -4.53  Std =    20.30
   Min TM value:-256 at an offset of 122.513 usec -> 2021-08-22T14:53:21.955.909.237 (XO: 41.955913192)
   Max TM value:204 at an offset of 119.925 usec -> 2021-08-22T14:53:21.955.906.650 (XO: 41.955910605)
   Max dTM/dt [1/us]:2.42e+03 at an offset of 122.613 usec -> 2021-08-22T14:53:21.955.909.337 (XO: 41.955913292)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 120.050 usec -> 2021-08-22T14:53:21.955.906.775 (XO: 41.955910730)

 - Block number: 4 starting at 2021-08-22T14:53:27.845.886.725 (XO: 47.845890101 - 47.846196102, t=37.2 degC)  Rank: 00083
   TM values: Max =   201  Min =  -259  Ave =    -4.47  Std =    23.26
   Min TM value:-259 at an offset of 120.800 usec -> 2021-08-22T14:53:27.846.007.525 (XO: 47.846010901)
   Max TM value:201 at an offset of 120.513 usec -> 2021-08-22T14:53:27.846.007.237 (XO: 47.846010614)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 123.200 usec -> 2021-08-22T14:53:27.846.009.925 (XO: 47.846013301)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 120.650 usec -> 2021-08-22T14:53:27.846.007.375 (XO: 47.846010751)
