-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 26 16:23:43 2021 UTC
-- File 20210827_101522_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.682386 to 47.122139
-each separately from 6s to 47s and from 121850us to 682675us.
   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, ...
      22.889259 in 1 packets: 18
      4.689760 in 1 packets: 36
      12.859578 in 1 packets: 54
MIU packet time from 2021-08-27T10:15:31.682.386.000 to 2021-08-27T10:16:12.122.139.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, ...
      22.889259 in 1 packets: 18
      4.689760 in 1 packets: 36
      12.859578 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.9143561 to 48.9142206
   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, ...
      22.9999239 in 1 packets: 18
      4.9999835 in 1 packets: 36
      12.9999571 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20210827_101522_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.5967432 to 8.5970322
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.8891830  -- OK for SL --
   MIU time from 2021-08-27T10:15:31.682.386.000 to 2021-08-27T10:15:31.682.675.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.889259

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.4862152 to 31.4865042
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.6897430  -- OK for SL --
   MIU time from 2021-08-27T10:15:54.571.934.000 to 2021-08-27T10:15:54.572.223.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.689760

 - 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 36.1762472 to 36.1765362
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8595350  -- OK for SL --
   MIU time from 2021-08-27T10:15:59.261.983.000 to 2021-08-27T10:15:59.262.272.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.859578

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.0360712 to 49.0363602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-27T10:16:12.121.850.000 to 2021-08-27T10:16:12.122.139.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.596743200 corrected by 40bit 10MHz counter of 7.914356100 obtained at 1Hz counter of 6. Result: 6.682389420
--
   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-27T10:15:31.682.245.725
   Max 1st sample MIU time among all SL packets: 2021-08-27T10:16:12.121.998.725
   Min 1st sample XO time among all SL packets: 6.682249145
   Max 1st sample XO time among all SL packets: 47.121999728
   TM values from -244 to 222 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-27T10:15:31.682.245.725 (XO: 6.682249145 - 6.682555146, t=37.2 degC)  Rank: 00081
   TM values: Max =   222  Min =  -244  Ave =    -4.52  Std =    25.86
   Min TM value:-244 at an offset of 118.000 usec -> 2021-08-27T10:15:31.682.363.725 (XO: 6.682367145)
   Max TM value:222 at an offset of 117.700 usec -> 2021-08-27T10:15:31.682.363.425 (XO: 6.682366845)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 120.313 usec -> 2021-08-27T10:15:31.682.366.037 (XO: 6.682369458)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 117.825 usec -> 2021-08-27T10:15:31.682.363.550 (XO: 6.682366970)

 - Block number: 2 starting at 2021-08-27T10:15:54.571.793.725 (XO: 29.571796812 - 29.572102813, t=37.2 degC)  Rank: 00087
   TM values: Max =   204  Min =  -226  Ave =    -4.62  Std =    22.34
   Min TM value:-226 at an offset of 127.538 usec -> 2021-08-27T10:15:54.571.921.262 (XO: 29.571924350)
   Max TM value:204 at an offset of 130.238 usec -> 2021-08-27T10:15:54.571.923.962 (XO: 29.571927050)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 130.113 usec -> 2021-08-27T10:15:54.571.923.837 (XO: 29.571926925)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 127.375 usec -> 2021-08-27T10:15:54.571.921.100 (XO: 29.571924187)

 - Block number: 3 starting at 2021-08-27T10:15:59.261.842.725 (XO: 34.261844289 - 34.262150290, t=37.2 degC)  Rank: 00079
   TM values: Max =   190  Min =  -218  Ave =    -4.60  Std =    19.06
   Min TM value:-218 at an offset of 115.513 usec -> 2021-08-27T10:15:59.261.958.237 (XO: 34.261959802)
   Max TM value:190 at an offset of 118.138 usec -> 2021-08-27T10:15:59.261.960.862 (XO: 34.261962427)
   Max dTM/dt [1/us]:1.44e+03 at an offset of 117.963 usec -> 2021-08-27T10:15:59.261.960.687 (XO: 34.261962252)
   Min dTM/dt [1/us]:-1.75e+03 at an offset of 115.300 usec -> 2021-08-27T10:15:59.261.958.025 (XO: 34.261959589)

 - Block number: 4 starting at 2021-08-27T10:16:12.121.709.725 (XO: 47.121710727 - 47.122016728, t=37.2 degC)  Rank: 00080
   TM values: Max =   188  Min =  -231  Ave =    -4.41  Std =    18.51
   Min TM value:-231 at an offset of 116.613 usec -> 2021-08-27T10:16:12.121.826.337 (XO: 47.121827340)
   Max TM value:188 at an offset of 119.250 usec -> 2021-08-27T10:16:12.121.828.975 (XO: 47.121829977)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 119.038 usec -> 2021-08-27T10:16:12.121.828.762 (XO: 47.121829765)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 116.450 usec -> 2021-08-27T10:16:12.121.826.175 (XO: 47.121827177)
