-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Aug  1 22:28:00 2021 UTC
-- File 20210701_040016_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 4.315021 to 56.652295
-each separately from 4s to 56s and from 315021us to 652295us.
   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, ...
      23.138481 in 1 packets: 18
      8.019195 in 1 packets: 36
      21.178442 in 1 packets: 54
MIU packet time from 2021-07-01T04:00:19.315.021.000 to 2021-07-01T04:01:11.652.295.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, ...
      23.138481 in 1 packets: 18
      8.019195 in 1 packets: 36
      21.178442 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 5.9454104 to 57.9452264
   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.9999186 in 1 packets: 18
      7.9999717 in 1 packets: 36
      20.9999257 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      06 -> 47.2 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      2 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 20210701_040016_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2604326 to 6.2607216
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.1383990  -- OK for SL --
   MIU time from 2021-07-01T04:00:19.315.021.000 to 2021-07-01T04:00:19.315.310.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.138481

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.3991206 to 29.3994096
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.0191670  -- OK for SL --
   MIU time from 2021-07-01T04:00:42.453.791.000 to 2021-07-01T04:00:42.454.080.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.019195

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.4185766 to 37.4188656
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.1783670  -- OK for SL --
   MIU time from 2021-07-01T04:00:50.473.275.000 to 2021-07-01T04:00:50.473.564.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.178442

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.5972326 to 58.5975216
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-01T04:01:11.652.006.000 to 2021-07-01T04:01:11.652.295.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 = 4, 32bit 10MHz counter = 6.260432600 corrected by 40bit 10MHz counter of 5.945410400 obtained at 1Hz counter of 4. Result: 4.315023303
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-01T04:00:19.314.880.725
   Max 1st sample MIU time among all SL packets: 2021-07-01T04:01:11.652.154.725
   Min 1st sample XO time among all SL packets: 4.314883027
   Max 1st sample XO time among all SL packets: 56.652157208
   TM values from -272 to 228 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-01T04:00:19.314.880.725 (XO: 4.314883027 - 4.315189028, t=35.6 degC)  Rank: 00079
   TM values: Max =   224  Min =  -254  Ave =    -4.45  Std =    21.60
   Min TM value:-254 at an offset of 111.550 usec -> 2021-07-01T04:00:19.314.992.275 (XO: 4.314994577)
   Max TM value:224 at an offset of 114.150 usec -> 2021-07-01T04:00:19.314.994.875 (XO: 4.314997177)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 113.963 usec -> 2021-07-01T04:00:19.314.994.687 (XO: 4.314996990)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 111.338 usec -> 2021-07-01T04:00:19.314.992.062 (XO: 4.314994365)

 - Block number: 2 starting at 2021-07-01T04:00:42.453.650.725 (XO: 27.453652958 - 27.453958959, t=35.6 degC)  Rank: 00085
   TM values: Max =   228  Min =  -272  Ave =    -4.55  Std =    21.99
   Min TM value:-272 at an offset of 110.825 usec -> 2021-07-01T04:00:42.453.761.550 (XO: 27.453763784)
   Max TM value:228 at an offset of 123.313 usec -> 2021-07-01T04:00:42.453.774.037 (XO: 27.453776271)
   Max dTM/dt [1/us]:1.81e+03 at an offset of 126.038 usec -> 2021-07-01T04:00:42.453.776.762 (XO: 27.453778996)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 123.425 usec -> 2021-07-01T04:00:42.453.774.150 (XO: 27.453776384)

 - Block number: 3 starting at 2021-07-01T04:00:50.473.134.725 (XO: 35.473137328 - 35.473443329, t=35.6 degC)  Rank: 00078
   TM values: Max =   198  Min =  -226  Ave =    -4.38  Std =    19.01
   Min TM value:-226 at an offset of 125.938 usec -> 2021-07-01T04:00:50.473.260.662 (XO: 35.473263266)
   Max TM value:198 at an offset of 128.650 usec -> 2021-07-01T04:00:50.473.263.375 (XO: 35.473265979)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 128.513 usec -> 2021-07-01T04:00:50.473.263.237 (XO: 35.473265841)
   Min dTM/dt [1/us]:-1.60e+03 at an offset of 113.775 usec -> 2021-07-01T04:00:50.473.248.500 (XO: 35.473251104)

 - Block number: 4 starting at 2021-07-01T04:01:11.651.865.725 (XO: 56.651868207 - 56.652174208, t=35.6 degC)  Rank: 00082
   TM values: Max =   214  Min =  -256  Ave =    -4.48  Std =    22.84
   Min TM value:-256 at an offset of 121.900 usec -> 2021-07-01T04:01:11.651.987.625 (XO: 56.651990107)
   Max TM value:214 at an offset of 121.588 usec -> 2021-07-01T04:01:11.651.987.312 (XO: 56.651989794)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 124.388 usec -> 2021-07-01T04:01:11.651.990.112 (XO: 56.651992594)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 121.688 usec -> 2021-07-01T04:01:11.651.987.412 (XO: 56.651989894)
