-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 15:24:44 2021 UTC
-- File 20210807_001835_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 14.778954 to 47.819001
-each separately from 14s to 47s and from 138797us to 819001us.
   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, ...
      14.729616 in 1 packets: 18
      9.629649 in 1 packets: 36
      8.679626 in 1 packets: 54
MIU packet time from 2021-08-07T00:18:52.778.954.000 to 2021-08-07T00:19:25.819.001.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, ...
      14.729616 in 1 packets: 18
      9.629649 in 1 packets: 36
      8.679626 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 15.8416904 to 48.8415804
   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, ...
      14.9999500 in 1 packets: 18
      9.9999666 in 1 packets: 36
      7.9999734 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20210807_001835_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.6206446 to 16.6209336
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7295670  -- OK for SL --
   MIU time from 2021-08-07T00:18:52.778.954.000 to 2021-08-07T00:18:52.779.243.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.729616

 - 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 31.3505006 to 31.3507896
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.6296150  -- OK for SL --
   MIU time from 2021-08-07T00:19:07.508.859.000 to 2021-08-07T00:19:07.509.148.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.629649

 - 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 40.9804046 to 40.9806936
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6795990  -- OK for SL --
   MIU time from 2021-08-07T00:19:17.138.797.000 to 2021-08-07T00:19:17.139.086.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.679626

 - 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.6602926 to 49.6605816
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T00:19:25.818.712.000 to 2021-08-07T00:19:25.819.001.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 = 14, 32bit 10MHz counter = 16.620644600 corrected by 40bit 10MHz counter of 15.841690400 obtained at 1Hz counter of 14. Result: 14.778956771
--
   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-07T00:18:52.778.813.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T00:19:25.818.860.725
   Min 1st sample XO time among all SL packets: 14.778816495
   Max 1st sample XO time among all SL packets: 47.818863627
   TM values from -260 to 258 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T00:18:52.778.813.725 (XO: 14.778816495 - 14.779122496, t=37.2 degC)  Rank: 00087
   TM values: Max =   190  Min =  -257  Ave =    -4.50  Std =    25.45
   Min TM value:-257 at an offset of 109.963 usec -> 2021-08-07T00:18:52.778.923.687 (XO: 14.778926458)
   Max TM value:190 at an offset of 109.688 usec -> 2021-08-07T00:18:52.778.923.412 (XO: 14.778926183)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 112.400 usec -> 2021-08-07T00:18:52.778.926.125 (XO: 14.778928895)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 109.750 usec -> 2021-08-07T00:18:52.778.923.475 (XO: 14.778926245)

 - Block number: 2 starting at 2021-08-07T00:19:07.508.718.725 (XO: 29.508721604 - 29.509027605, t=37.2 degC)  Rank: 00079
   TM values: Max =   258  Min =  -260  Ave =    -4.57  Std =    22.71
   Min TM value:-260 at an offset of 112.563 usec -> 2021-08-07T00:19:07.508.831.287 (XO: 29.508834167)
   Max TM value:258 at an offset of 110.488 usec -> 2021-08-07T00:19:07.508.829.212 (XO: 29.508832092)
   Max dTM/dt [1/us]:2.34e+03 at an offset of 110.375 usec -> 2021-08-07T00:19:07.508.829.100 (XO: 29.508831979)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 124.863 usec -> 2021-08-07T00:19:07.508.843.587 (XO: 29.508846467)

 - Block number: 3 starting at 2021-08-07T00:19:17.138.656.725 (XO: 39.138657783 - 39.138963784, t=37.2 degC)  Rank: 00083
   TM values: Max =   200  Min =  -247  Ave =    -4.50  Std =    19.03
   Min TM value:-247 at an offset of 111.038 usec -> 2021-08-07T00:19:17.138.767.762 (XO: 39.138768820)
   Max TM value:200 at an offset of 110.700 usec -> 2021-08-07T00:19:17.138.767.425 (XO: 39.138768483)
   Max dTM/dt [1/us]:1.74e+03 at an offset of 113.438 usec -> 2021-08-07T00:19:17.138.770.162 (XO: 39.138771220)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 110.813 usec -> 2021-08-07T00:19:17.138.767.537 (XO: 39.138768595)

 - Block number: 4 starting at 2021-08-07T00:19:25.818.571.725 (XO: 47.818574626 - 47.818880627, t=37.2 degC)  Rank: 00080
   TM values: Max =   189  Min =  -221  Ave =    -4.56  Std =    17.73
   Min TM value:-221 at an offset of 123.088 usec -> 2021-08-07T00:19:25.818.694.812 (XO: 47.818697714)
   Max TM value:189 at an offset of 125.813 usec -> 2021-08-07T00:19:25.818.697.537 (XO: 47.818700439)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 125.625 usec -> 2021-08-07T00:19:25.818.697.350 (XO: 47.818700252)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 122.863 usec -> 2021-08-07T00:19:25.818.694.587 (XO: 47.818697489)
