-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov  4 09:06:03 2021 UTC
-- File 20210706_001655_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 1.819056 to 47.289762
-each separately from 1s to 47s and from 289473us to 899681us.
   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, ...
      15.789846 in 1 packets: 18
      16.289912 in 1 packets: 36
      13.389792 in 1 packets: 54
MIU packet time from 2021-07-06T00:16:54.819.056.000 to 2021-07-06T00:17:40.289.762.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, ...
      15.789846 in 1 packets: 18
      16.289912 in 1 packets: 36
      13.389792 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 2.7671130 to 48.7669513
   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, ...
      15.9999438 in 2 packets: 18, 36
      13.9999507 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 17 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      2 in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210706_001655_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.5861687 to 3.5864577
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7897910  -- OK for SL --
   MIU time from 2021-07-06T00:16:54.819.056.000 to 2021-07-06T00:16:54.819.345.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.789846

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.3762487 to 19.3765377
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2898550  -- OK for SL --
   MIU time from 2021-07-06T00:17:10.609.191.000 to 2021-07-06T00:17:10.609.480.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.289912

 - 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 35.6663927 to 35.6666817
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3897430  -- OK for SL --
   MIU time from 2021-07-06T00:17:26.899.392.000 to 2021-07-06T00:17:26.899.681.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.389792

 - 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 49.0564247 to 49.0567137
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T00:17:40.289.473.000 to 2021-07-06T00:17:40.289.762.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 = 1, 32bit 10MHz counter = 3.586168700 corrected by 40bit 10MHz counter of 2.767113000 obtained at 1Hz counter of 1. Result: 1.819058567
--
   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-06T00:16:54.818.915.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T00:17:40.289.621.725
   Min 1st sample XO time among all SL packets: 1.818918291
   Max 1st sample XO time among all SL packets: 47.289623139
   TM values from -287 to 249 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T00:16:54.818.915.725 (XO: 1.818918291 - 1.819224292, t=35.6 degC)  Rank: 00082
   TM values: Max =   249  Min =  -287  Ave =    -4.27  Std =    28.04
   Min TM value:-287 at an offset of 128.000 usec -> 2021-07-06T00:16:54.819.043.725 (XO: 1.819046292)
   Max TM value:249 at an offset of 127.725 usec -> 2021-07-06T00:16:54.819.043.450 (XO: 1.819046017)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 125.763 usec -> 2021-07-06T00:16:54.819.041.487 (XO: 1.819044054)
   Min dTM/dt [1/us]:-2.77e+03 at an offset of 127.838 usec -> 2021-07-06T00:16:54.819.043.562 (XO: 1.819046129)

 - Block number: 2 starting at 2021-07-06T00:17:10.609.050.725 (XO: 17.609053757 - 17.609359758, t=35.6 degC)  Rank: 00079
   TM values: Max =   218  Min =  -220  Ave =    -4.34  Std =    19.51
   Min TM value:-220 at an offset of 126.588 usec -> 2021-07-06T00:17:10.609.177.312 (XO: 17.609180345)
   Max TM value:218 at an offset of 129.350 usec -> 2021-07-06T00:17:10.609.180.075 (XO: 17.609183107)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 129.213 usec -> 2021-07-06T00:17:10.609.179.937 (XO: 17.609182970)
   Min dTM/dt [1/us]:-1.66e+03 at an offset of 114.513 usec -> 2021-07-06T00:17:10.609.165.237 (XO: 17.609168270)

 - Block number: 3 starting at 2021-07-06T00:17:26.899.251.725 (XO: 33.899255062 - 33.899561063, t=35.6 degC)  Rank: 00080
   TM values: Max =   217  Min =  -266  Ave =    -4.49  Std =    20.31
   Min TM value:-266 at an offset of 117.363 usec -> 2021-07-06T00:17:26.899.369.087 (XO: 33.899372425)
   Max TM value:217 at an offset of 117.075 usec -> 2021-07-06T00:17:26.899.368.800 (XO: 33.899372138)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 119.738 usec -> 2021-07-06T00:17:26.899.371.462 (XO: 33.899374800)
   Min dTM/dt [1/us]:-2.02e+03 at an offset of 117.175 usec -> 2021-07-06T00:17:26.899.368.900 (XO: 33.899372238)

 - Block number: 4 starting at 2021-07-06T00:17:40.289.332.725 (XO: 47.289334138 - 47.289640139, t=35.6 degC)  Rank: 00079
   TM values: Max =   235  Min =  -218  Ave =    -4.37  Std =    20.27
   Min TM value:-218 at an offset of 129.375 usec -> 2021-07-06T00:17:40.289.462.100 (XO: 47.289463513)
   Max TM value:235 at an offset of 132.175 usec -> 2021-07-06T00:17:40.289.464.900 (XO: 47.289466313)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 132.038 usec -> 2021-07-06T00:17:40.289.464.762 (XO: 47.289466176)
   Min dTM/dt [1/us]:-1.68e+03 at an offset of 129.250 usec -> 2021-07-06T00:17:40.289.461.975 (XO: 47.289463388)
