-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec 13 12:30:37 2021 UTC
-- File 20210812_161651_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 2.718957 to 59.514669
-each separately from 2s to 59s and from 514380us to 921192us.
   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.201657 in 1 packets: 18
      8.980493 in 1 packets: 36
      25.612406 in 1 packets: 54
MIU packet time from 2021-08-12T16:16:56.718.957.000 to 2021-08-12T16:17:53.514.669.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.201657 in 1 packets: 18
      8.980493 in 1 packets: 36
      25.612406 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 3.8959200 to 60.8957290
   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, ...
      21.9999263 in 1 packets: 18
      8.9999698 in 1 packets: 36
      25.9999129 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      05 -> 48.5 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Temperature XO: 
      C0 -> 35.6 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C1 -> 37.2 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210812_161651_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 4.6148775 to 4.6151665
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2015830  -- OK for SL --
   MIU time from 2021-08-12T16:16:56.718.957.000 to 2021-08-12T16:16:56.719.246.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.201657

 - 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 26.8167495 to 26.8170385
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.9804630  -- OK for SL --
   MIU time from 2021-08-12T16:17:18.920.903.000 to 2021-08-12T16:17:18.921.192.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.980493

 - 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 35.7975015 to 35.7977905
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.6123190  -- OK for SL --
   MIU time from 2021-08-12T16:17:27.901.685.000 to 2021-08-12T16:17:27.901.974.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.612406

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.4101095 to 61.4103985
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-12T16:17:53.514.380.000 to 2021-08-12T16:17:53.514.669.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 = 2, 32bit 10MHz counter = 4.614877500 corrected by 40bit 10MHz counter of 3.895920000 obtained at 1Hz counter of 2. Result: 2.718959873
--
   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-08-12T16:16:56.718.816.725
   Max 1st sample MIU time among all SL packets: 2021-08-12T16:17:53.514.528.725
   Min 1st sample XO time among all SL packets: 2.718819597
   Max 1st sample XO time among all SL packets: 59.514530923
   TM values from -291 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-12T16:16:56.718.816.725 (XO: 2.718819597 - 2.719125598, t=35.6 degC)  Rank: 00080
   TM values: Max =   214  Min =  -243  Ave =    -4.38  Std =    21.15
   Min TM value:-243 at an offset of 104.450 usec -> 2021-08-12T16:16:56.718.921.175 (XO: 2.718924047)
   Max TM value:214 at an offset of 107.150 usec -> 2021-08-12T16:16:56.718.923.875 (XO: 2.718926747)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 107.000 usec -> 2021-08-12T16:16:56.718.923.725 (XO: 2.718926597)
   Min dTM/dt [1/us]:-2.15e+03 at an offset of 104.288 usec -> 2021-08-12T16:16:56.718.921.012 (XO: 2.718923885)

 - Block number: 2 starting at 2021-08-12T16:17:18.920.762.725 (XO: 24.920765964 - 24.921071965, t=35.6 degC)  Rank: 00081
   TM values: Max =   217  Min =  -272  Ave =    -4.48  Std =    20.01
   Min TM value:-272 at an offset of 105.850 usec -> 2021-08-12T16:17:18.920.868.575 (XO: 24.920871814)
   Max TM value:217 at an offset of 105.563 usec -> 2021-08-12T16:17:18.920.868.287 (XO: 24.920871526)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 108.288 usec -> 2021-08-12T16:17:18.920.871.012 (XO: 24.920874251)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 105.638 usec -> 2021-08-12T16:17:18.920.868.362 (XO: 24.920871601)

 - Block number: 3 starting at 2021-08-12T16:17:27.901.544.725 (XO: 33.901548100 - 33.901854101, t=35.6 degC)  Rank: 00079
   TM values: Max =   216  Min =  -291  Ave =    -4.56  Std =    25.92
   Min TM value:-291 at an offset of 119.938 usec -> 2021-08-12T16:17:27.901.664.662 (XO: 33.901668038)
   Max TM value:216 at an offset of 122.550 usec -> 2021-08-12T16:17:27.901.667.275 (XO: 33.901670651)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 122.350 usec -> 2021-08-12T16:17:27.901.667.075 (XO: 33.901670451)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 92.463 usec -> 2021-08-12T16:17:27.901.637.187 (XO: 33.901640563)

 - Block number: 4 starting at 2021-08-12T16:17:53.514.239.725 (XO: 59.514241922 - 59.514547923, t=37.2 degC)  Rank: 00077
   TM values: Max =   237  Min =  -247  Ave =    -4.44  Std =    22.80
   Min TM value:-247 at an offset of 108.013 usec -> 2021-08-12T16:17:53.514.347.737 (XO: 59.514349935)
   Max TM value:237 at an offset of 110.725 usec -> 2021-08-12T16:17:53.514.350.450 (XO: 59.514352647)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 110.663 usec -> 2021-08-12T16:17:53.514.350.387 (XO: 59.514352585)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 107.888 usec -> 2021-08-12T16:17:53.514.347.612 (XO: 59.514349810)
