-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 24 14:05:19 2021 UTC
-- File 20210723_203945_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.108536 to 33.020416
-each separately from 7s to 33s and from 20127us to 522885us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.413771 in 1 packets: 18
      7.497242 in 1 packets: 36
MIU packet time from 2021-07-23T20:39:55.108.536.000 to 2021-07-23T20:40:21.020.416.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      18.413771 in 1 packets: 18
      7.497242 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.8400994 to 34.8400124
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.9999398 in 1 packets: 18
      7.9999732 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210723_203945_1227.dat, 3 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 8.9486365 to 8.9489255
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.4137110  -- OK for SL --
   MIU time from 2021-07-23T20:39:55.108.536.000 to 2021-07-23T20:39:55.108.825.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.413771

 - 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 27.3626365 to 27.3629255
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.4972150  -- OK for SL --
   MIU time from 2021-07-23T20:40:13.522.596.000 to 2021-07-23T20:40:13.522.885.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.497242

 - 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 34.8601405 to 34.8604295
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-23T20:40:21.020.127.000 to 2021-07-23T20:40:21.020.416.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 8.948636500 corrected by 40bit 10MHz counter of 8.840099400 obtained at 1Hz counter of 7. Result: 7.108537469
--
   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-07-23T20:39:55.108.395.725
   Max 1st sample MIU time among all SL packets: 2021-07-23T20:40:21.020.275.725
   Min 1st sample XO time among all SL packets: 7.108397194
   Max 1st sample XO time among all SL packets: 33.020276892
   TM values from -285 to 241 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-23T20:39:55.108.395.725 (XO: 7.108397194 - 7.108703195, t=37.2 degC)  Rank: 00080
   TM values: Max =   237  Min =  -263  Ave =    -4.44  Std =    25.54
   Min TM value:-263 at an offset of 125.300 usec -> 2021-07-23T20:39:55.108.521.025 (XO: 7.108522494)
   Max TM value:237 at an offset of 125.625 usec -> 2021-07-23T20:39:55.108.521.350 (XO: 7.108522819)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 125.400 usec -> 2021-07-23T20:39:55.108.521.125 (XO: 7.108522594)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 122.813 usec -> 2021-07-23T20:39:55.108.518.537 (XO: 7.108520006)

 - Block number: 2 starting at 2021-07-23T20:40:13.522.455.725 (XO: 25.522458749 - 25.522764750, t=37.2 degC)  Rank: 00085
   TM values: Max =   241  Min =  -285  Ave =    -4.53  Std =    23.39
   Min TM value:-285 at an offset of 125.600 usec -> 2021-07-23T20:40:13.522.581.325 (XO: 25.522584350)
   Max TM value:241 at an offset of 125.363 usec -> 2021-07-23T20:40:13.522.581.087 (XO: 25.522584112)
   Max dTM/dt [1/us]:2.49e+03 at an offset of 128.038 usec -> 2021-07-23T20:40:13.522.583.762 (XO: 25.522586787)
   Min dTM/dt [1/us]:-3.12e+03 at an offset of 125.475 usec -> 2021-07-23T20:40:13.522.581.200 (XO: 25.522584225)

 - Block number: 3 starting at 2021-07-23T20:40:21.019.986.725 (XO: 33.019987891 - 33.020293892, t=37.2 degC)  Rank: 00080
   TM values: Max =   236  Min =  -276  Ave =    -4.53  Std =    23.74
   Min TM value:-276 at an offset of 123.563 usec -> 2021-07-23T20:40:21.020.110.287 (XO: 33.020111454)
   Max TM value:236 at an offset of 123.238 usec -> 2021-07-23T20:40:21.020.109.962 (XO: 33.020111129)
   Max dTM/dt [1/us]:2.56e+03 at an offset of 125.938 usec -> 2021-07-23T20:40:21.020.112.662 (XO: 33.020113829)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 123.375 usec -> 2021-07-23T20:40:21.020.110.100 (XO: 33.020111266)
