-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov  4 12:29:57 2021 UTC
-- File 20210706_054747_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 4.869990 to 43.858225
-each separately from 4s to 43s and from 829976us to 870279us.
   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, ...
      13.959697 in 1 packets: 18
      25.027671 in 1 packets: 36
MIU packet time from 2021-07-06T05:47:50.869.990.000 to 2021-07-06T05:48:29.858.225.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, ...
      13.959697 in 1 packets: 18
      25.027671 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 6.2014078 to 45.2012694
   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, ...
      13.9999502 in 1 packets: 18
      24.9999114 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20210706_054747_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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.0713977 to 7.0716867
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.9596470  -- OK for SL --
   MIU time from 2021-07-06T05:47:50.869.990.000 to 2021-07-06T05:47:50.870.279.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.959697

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.0313337 to 21.0316227
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.0275830  -- OK for SL --
   MIU time from 2021-07-06T05:48:04.829.976.000 to 2021-07-06T05:48:04.830.265.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.027671

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.0592057 to 46.0594947
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T05:48:29.857.936.000 to 2021-07-06T05:48:29.858.225.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 = 4, 32bit 10MHz counter = 7.071397700 corrected by 40bit 10MHz counter of 6.201407800 obtained at 1Hz counter of 4. Result: 4.869993032
--
   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-06T05:47:50.869.849.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T05:48:29.858.084.725
   Min 1st sample XO time among all SL packets: 4.869852756
   Max 1st sample XO time among all SL packets: 43.858088114
   TM values from -277 to 247 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T05:47:50.869.849.725 (XO: 4.869852756 - 4.870158758, t=35.6 degC)  Rank: 00073
   TM values: Max =   235  Min =  -275  Ave =    -4.57  Std =    26.62
   Min TM value:-275 at an offset of 120.675 usec -> 2021-07-06T05:47:50.869.970.400 (XO: 4.869973432)
   Max TM value:235 at an offset of 123.250 usec -> 2021-07-06T05:47:50.869.972.975 (XO: 4.869976007)
   Max dTM/dt [1/us]:2.04e+03 at an offset of 123.038 usec -> 2021-07-06T05:47:50.869.972.762 (XO: 4.869975794)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 120.450 usec -> 2021-07-06T05:47:50.869.970.175 (XO: 4.869973207)

 - Block number: 2 starting at 2021-07-06T05:48:04.829.835.725 (XO: 18.829838329 - 18.830144331, t=35.6 degC)  Rank: 00072
   TM values: Max =   247  Min =  -277  Ave =    -4.60  Std =    33.16
   Min TM value:-277 at an offset of 116.975 usec -> 2021-07-06T05:48:04.829.952.700 (XO: 18.829955305)
   Max TM value:247 at an offset of 116.625 usec -> 2021-07-06T05:48:04.829.952.350 (XO: 18.829954955)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 119.413 usec -> 2021-07-06T05:48:04.829.955.137 (XO: 18.829957742)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 116.750 usec -> 2021-07-06T05:48:04.829.952.475 (XO: 18.829955080)

 - Block number: 3 starting at 2021-07-06T05:48:29.857.795.725 (XO: 43.857799113 - 43.858105114, t=35.6 degC)  Rank: 00088
   TM values: Max =   152  Min =  -160  Ave =    -4.47  Std =    67.26
   Min TM value:-160 at an offset of 126.075 usec -> 2021-07-06T05:48:29.857.921.800 (XO: 43.857925189)
   Max TM value:152 at an offset of 123.700 usec -> 2021-07-06T05:48:29.857.919.425 (XO: 43.857922814)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 126.100 usec -> 2021-07-06T05:48:29.857.921.825 (XO: 43.857925214)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 137.688 usec -> 2021-07-06T05:48:29.857.933.412 (XO: 43.857936801)
