-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 23:15:32 2022 UTC
-- File 20210903_012342_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 2.773732 to 55.231956
-each separately from 2s to 55s and from 231667us to 774021us.
   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, ...
      19.475105 in 1 packets: 18
      22.154808 in 1 packets: 36
      10.827155 in 1 packets: 54
MIU packet time from 2021-09-03T01:23:47.773.732.000 to 2021-09-03T01:24:40.231.956.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, ...
      19.475105 in 1 packets: 18
      22.154808 in 1 packets: 36
      10.827155 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 4.2546209 to 57.2544455
   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, ...
      19.9999338 in 1 packets: 18
      21.9999272 in 1 packets: 36
      10.9999636 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 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 53 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 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210903_012342_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.0283538 to 5.0286428
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4750390  -- OK for SL --
   MIU time from 2021-09-03T01:23:47.773.732.000 to 2021-09-03T01:23:47.774.021.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.475105

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.5036818 to 24.5039708
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.1547350  -- OK for SL --
   MIU time from 2021-09-03T01:24:07.249.126.000 to 2021-09-03T01:24:07.249.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.154808

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.6587058 to 46.6589948
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8271190  -- OK for SL --
   MIU time from 2021-09-03T01:24:29.404.223.000 to 2021-09-03T01:24:29.404.512.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.827155

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.4861138 to 57.4864028
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-03T01:24:40.231.667.000 to 2021-09-03T01:24:40.231.956.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 = 2, 32bit 10MHz counter = 5.028353800 corrected by 40bit 10MHz counter of 4.254620900 obtained at 1Hz counter of 2. Result: 2.773735376
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-03T01:23:47.773.591.725
   Max 1st sample MIU time among all SL packets: 2021-09-03T01:24:40.231.815.725
   Min 1st sample XO time among all SL packets: 2.773595101
   Max 1st sample XO time among all SL packets: 55.231817813
   TM values from -236 to 205 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-03T01:23:47.773.591.725 (XO: 2.773595101 - 2.773901101, t=37.2 degC)  Rank: 00075
   TM values: Max =   203  Min =  -223  Ave =    -4.39  Std =    18.21
   Min TM value:-223 at an offset of 125.825 usec -> 2021-09-03T01:23:47.773.717.550 (XO: 2.773720926)
   Max TM value:203 at an offset of 128.425 usec -> 2021-09-03T01:23:47.773.720.150 (XO: 2.773723526)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 128.213 usec -> 2021-09-03T01:23:47.773.719.937 (XO: 2.773723313)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 125.663 usec -> 2021-09-03T01:23:47.773.717.387 (XO: 2.773720763)

 - Block number: 2 starting at 2021-09-03T01:24:07.248.985.725 (XO: 22.248987647 - 22.249293648, t=37.2 degC)  Rank: 00082
   TM values: Max =   177  Min =  -201  Ave =    -4.28  Std =    24.40
   Min TM value:-201 at an offset of 125.825 usec -> 2021-09-03T01:24:07.249.111.550 (XO: 22.249113472)
   Max TM value:177 at an offset of 183.963 usec -> 2021-09-03T01:24:07.249.169.688 (XO: 22.249171610)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 183.801 usec -> 2021-09-03T01:24:07.249.169.525 (XO: 22.249171447)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 186.251 usec -> 2021-09-03T01:24:07.249.171.975 (XO: 22.249173897)

 - Block number: 3 starting at 2021-09-03T01:24:29.404.082.725 (XO: 44.404084999 - 44.404391000, t=37.2 degC)  Rank: 00077
   TM values: Max =   183  Min =  -230  Ave =    -4.33  Std =    19.21
   Min TM value:-230 at an offset of 127.625 usec -> 2021-09-03T01:24:29.404.210.350 (XO: 44.404212624)
   Max TM value:183 at an offset of 130.188 usec -> 2021-09-03T01:24:29.404.212.912 (XO: 44.404215187)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 130.000 usec -> 2021-09-03T01:24:29.404.212.725 (XO: 44.404214999)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 127.438 usec -> 2021-09-03T01:24:29.404.210.162 (XO: 44.404212437)

 - Block number: 4 starting at 2021-09-03T01:24:40.231.526.725 (XO: 55.231528812 - 55.231834813, t=37.2 degC)  Rank: 00079
   TM values: Max =   205  Min =  -236  Ave =    -4.35  Std =    20.55
   Min TM value:-236 at an offset of 116.175 usec -> 2021-09-03T01:24:40.231.642.900 (XO: 55.231644988)
   Max TM value:205 at an offset of 118.700 usec -> 2021-09-03T01:24:40.231.645.425 (XO: 55.231647513)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 118.538 usec -> 2021-09-03T01:24:40.231.645.262 (XO: 55.231647350)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 115.988 usec -> 2021-09-03T01:24:40.231.642.712 (XO: 55.231644800)
