-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Dec 18 15:39:18 2021 UTC
-- File 20210816_221140_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 12.002630 to 55.532054
-each separately from 12s to 55s and from 2630us to 532054us.
   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.169032 in 1 packets: 18
      2.889752 in 1 packets: 36
      23.469484 in 1 packets: 54
MIU packet time from 2021-08-16T22:11:55.002.630.000 to 2021-08-16T22:12:38.532.054.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.169032 in 1 packets: 18
      2.889752 in 1 packets: 36
      23.469484 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 13.8982225 to 56.8980802
   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.9999438 in 1 packets: 18
      2.9999900 in 1 packets: 36
      22.9999239 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210816_221140_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.9008539 to 13.9011429
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1689750  -- OK for SL --
   MIU time from 2021-08-16T22:11:55.002.630.000 to 2021-08-16T22:11:55.002.919.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.169032

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.0701179 to 31.0704069
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.8897430  -- OK for SL --
   MIU time from 2021-08-16T22:12:12.171.951.000 to 2021-08-16T22:12:12.172.240.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.889752

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.9601499 to 33.9604389
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.4694070  -- OK for SL --
   MIU time from 2021-08-16T22:12:15.061.992.000 to 2021-08-16T22:12:15.062.281.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.469484

 - 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 57.4298459 to 57.4301349
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-16T22:12:38.531.765.000 to 2021-08-16T22:12:38.532.054.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 = 12, 32bit 10MHz counter = 13.900853900 corrected by 40bit 10MHz counter of 13.898222500 obtained at 1Hz counter of 12. Result: 12.002631409
--
   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-16T22:11:55.002.489.725
   Max 1st sample MIU time among all SL packets: 2021-08-16T22:12:38.531.913.725
   Min 1st sample XO time among all SL packets: 12.002491133
   Max 1st sample XO time among all SL packets: 55.531916180
   TM values from -258 to 232 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-16T22:11:55.002.489.725 (XO: 12.002491133 - 12.002797134, t=37.2 degC)  Rank: 00077
   TM values: Max =   227  Min =  -258  Ave =    -4.45  Std =    25.54
   Min TM value:-258 at an offset of 127.425 usec -> 2021-08-16T22:11:55.002.617.150 (XO: 12.002618559)
   Max TM value:227 at an offset of 127.138 usec -> 2021-08-16T22:11:55.002.616.862 (XO: 12.002618271)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 129.788 usec -> 2021-08-16T22:11:55.002.619.512 (XO: 12.002620921)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 127.238 usec -> 2021-08-16T22:11:55.002.616.962 (XO: 12.002618371)

 - Block number: 2 starting at 2021-08-16T22:12:12.171.810.725 (XO: 29.171811909 - 29.172117910, t=37.2 degC)  Rank: 00078
   TM values: Max =   230  Min =  -241  Ave =    -4.49  Std =    20.72
   Min TM value:-241 at an offset of 127.263 usec -> 2021-08-16T22:12:12.171.937.987 (XO: 29.171939172)
   Max TM value:230 at an offset of 129.938 usec -> 2021-08-16T22:12:12.171.940.662 (XO: 29.171941847)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 129.813 usec -> 2021-08-16T22:12:12.171.940.537 (XO: 29.171941722)
   Min dTM/dt [1/us]:-1.84e+03 at an offset of 127.125 usec -> 2021-08-16T22:12:12.171.937.850 (XO: 29.171939035)

 - Block number: 3 starting at 2021-08-16T22:12:15.061.851.725 (XO: 32.061853529 - 32.062159530, t=37.2 degC)  Rank: 00083
   TM values: Max =   207  Min =  -255  Ave =    -4.54  Std =    21.05
   Min TM value:-255 at an offset of 113.700 usec -> 2021-08-16T22:12:15.061.965.425 (XO: 32.061967229)
   Max TM value:207 at an offset of 116.388 usec -> 2021-08-16T22:12:15.061.968.112 (XO: 32.061969917)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 116.225 usec -> 2021-08-16T22:12:15.061.967.950 (XO: 32.061969755)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 113.563 usec -> 2021-08-16T22:12:15.061.965.287 (XO: 32.061967092)

 - Block number: 4 starting at 2021-08-16T22:12:38.531.624.725 (XO: 55.531627179 - 55.531933180, t=37.2 degC)  Rank: 00079
   TM values: Max =   232  Min =  -249  Ave =    -4.62  Std =    29.60
   Min TM value:-249 at an offset of 105.288 usec -> 2021-08-16T22:12:38.531.730.012 (XO: 55.531732467)
   Max TM value:232 at an offset of 105.000 usec -> 2021-08-16T22:12:38.531.729.725 (XO: 55.531732180)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 103.025 usec -> 2021-08-16T22:12:38.531.727.750 (XO: 55.531730205)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 105.175 usec -> 2021-08-16T22:12:38.531.729.900 (XO: 55.531732355)
