-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  9 05:32:52 2021 UTC
-- File 20210807_170536_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.374555 to 55.565319
-each separately from 14s to 55s and from 268561us to 565319us.
   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, ...
      13.943182 in 1 packets: 18
      1.950246 in 1 packets: 36
      25.296180 in 1 packets: 54
MIU packet time from 2021-08-07T17:05:53.374.555.000 to 2021-08-07T17:06:34.565.319.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, ...
      13.943182 in 1 packets: 18
      1.950246 in 1 packets: 36
      25.296180 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.5789406 to 56.5788022
   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, ...
      13.9999527 in 1 packets: 18
      1.9999933 in 1 packets: 36
      24.9999156 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 72 packets (all packets)
Number of generated alerts: 
      0 in 72 packets (all packets)
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_170536_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.9534967 to 15.9537857
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9431350  -- OK for SL --
   MIU time from 2021-08-07T17:05:53.374.555.000 to 2021-08-07T17:05:53.374.844.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.943182

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.8969207 to 29.8972097
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.9502390  -- OK for SL --
   MIU time from 2021-08-07T17:06:07.318.026.000 to 2021-08-07T17:06:07.318.315.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.950246

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.8474487 to 31.8477377
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.2960950  -- OK for SL --
   MIU time from 2021-08-07T17:06:09.268.561.000 to 2021-08-07T17:06:09.268.850.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.296180

 - 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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.1438327 to 57.1441217
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T17:06:34.565.030.000 to 2021-08-07T17:06:34.565.319.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 = 15.953496700 corrected by 40bit 10MHz counter of 15.578940600 obtained at 1Hz counter of 14. Result: 14.374557373
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-08-07T17:05:53.374.414.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T17:06:34.565.178.725
   Min 1st sample XO time among all SL packets: 14.374417098
   Max 1st sample XO time among all SL packets: 55.565181147
   TM values from -371 to 307 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T17:05:53.374.414.725 (XO: 14.374417098 - 14.374723099, t=37.2 degC)  Rank: 00078
   TM values: Max =   291  Min =  -289  Ave =    -4.48  Std =    39.19
   Min TM value:-289 at an offset of 118.650 usec -> 2021-08-07T17:05:53.374.533.375 (XO: 14.374535748)
   Max TM value:291 at an offset of 121.375 usec -> 2021-08-07T17:05:53.374.536.100 (XO: 14.374538473)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 103.488 usec -> 2021-08-07T17:05:53.374.518.212 (XO: 14.374520586)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 118.600 usec -> 2021-08-07T17:05:53.374.533.325 (XO: 14.374535698)

 - Block number: 2 starting at 2021-08-07T17:06:07.317.885.725 (XO: 28.317888206 - 28.318194207, t=37.2 degC)  Rank: 00080
   TM values: Max =   276  Min =  -310  Ave =    -4.44  Std =    46.58
   Min TM value:-310 at an offset of 120.138 usec -> 2021-08-07T17:06:07.318.005.862 (XO: 28.318008344)
   Max TM value:276 at an offset of 122.825 usec -> 2021-08-07T17:06:07.318.008.550 (XO: 28.318011031)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 117.700 usec -> 2021-08-07T17:06:07.318.003.425 (XO: 28.318005906)
   Min dTM/dt [1/us]:-2.69e+03 at an offset of 120.050 usec -> 2021-08-07T17:06:07.318.005.775 (XO: 28.318008256)

 - Block number: 3 starting at 2021-08-07T17:06:09.268.420.725 (XO: 30.268422738 - 30.268728739, t=37.2 degC)  Rank: 00080
   TM values: Max =   266  Min =  -338  Ave =    -4.41  Std =    48.49
   Min TM value:-338 at an offset of 122.288 usec -> 2021-08-07T17:06:09.268.543.012 (XO: 30.268545026)
   Max TM value:266 at an offset of 122.038 usec -> 2021-08-07T17:06:09.268.542.762 (XO: 30.268544776)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 148.651 usec -> 2021-08-07T17:06:09.268.569.375 (XO: 30.268571388)
   Min dTM/dt [1/us]:-2.75e+03 at an offset of 151.051 usec -> 2021-08-07T17:06:09.268.571.775 (XO: 30.268573788)

 - Block number: 4 starting at 2021-08-07T17:06:34.564.889.725 (XO: 55.564892146 - 55.565198147, t=37.2 degC)  Rank: 00071
   TM values: Max =   307  Min =  -371  Ave =    -4.42  Std =    51.29
   Min TM value:-371 at an offset of 177.201 usec -> 2021-08-07T17:06:34.565.066.925 (XO: 55.565069346)
   Max TM value:307 at an offset of 175.138 usec -> 2021-08-07T17:06:34.565.064.863 (XO: 55.565067284)
   Max dTM/dt [1/us]:2.70e+03 at an offset of 174.976 usec -> 2021-08-07T17:06:34.565.064.700 (XO: 55.565067121)
   Min dTM/dt [1/us]:-2.80e+03 at an offset of 177.101 usec -> 2021-08-07T17:06:34.565.066.825 (XO: 55.565069246)
