-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Nov  4 12:07:23 2021 UTC
-- File 20210706_044322_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 0.634168 to 53.134547
-each separately from 0s to 53s and from 134191us to 634457us.
   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, ...
      16.599658 in 1 packets: 18
      25.899787 in 1 packets: 36
      9.999778 in 1 packets: 54
MIU packet time from 2021-07-06T04:43:20.634.168.000 to 2021-07-06T04:44:13.134.547.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, ...
      16.599658 in 1 packets: 18
      25.899787 in 1 packets: 36
      9.999778 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 1.7219980 to 54.7218112
   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, ...
      16.9999402 in 1 packets: 18
      25.9999083 in 1 packets: 36
      9.9999647 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_044322_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 2.3561661 to 2.3564551
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5995990  -- OK for SL --
   MIU time from 2021-07-06T04:43:20.634.168.000 to 2021-07-06T04:43:20.634.457.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.599658

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 18.9560541 to 18.9563431
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.8996950  -- OK for SL --
   MIU time from 2021-07-06T04:43:37.234.115.000 to 2021-07-06T04:43:37.234.404.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.899787

 - 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 44.8560381 to 44.8563271
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9997430  -- OK for SL --
   MIU time from 2021-07-06T04:44:03.134.191.000 to 2021-07-06T04:44:03.134.480.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.999778

 - 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 54.8560701 to 54.8563591
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-06T04:44:13.134.258.000 to 2021-07-06T04:44:13.134.547.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 = 0, 32bit 10MHz counter = 2.356166100 corrected by 40bit 10MHz counter of 1.721998000 obtained at 1Hz counter of 0. Result: 0.634170320
--
   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-06T04:43:20.634.027.725
   Max 1st sample MIU time among all SL packets: 2021-07-06T04:44:13.134.406.725
   Min 1st sample XO time among all SL packets: 0.634030044
   Max 1st sample XO time among all SL packets: 53.134408095
   TM values from -279 to 242 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-06T04:43:20.634.027.725 (XO: 0.634030044 - 0.634336045, t=35.6 degC)  Rank: 00082
   TM values: Max =   214  Min =  -245  Ave =    -4.45  Std =    19.93
   Min TM value:-245 at an offset of 117.025 usec -> 2021-07-06T04:43:20.634.144.750 (XO: 0.634147070)
   Max TM value:214 at an offset of 119.663 usec -> 2021-07-06T04:43:20.634.147.387 (XO: 0.634149707)
   Max dTM/dt [1/us]:1.64e+03 at an offset of 119.488 usec -> 2021-07-06T04:43:20.634.147.212 (XO: 0.634149532)
   Min dTM/dt [1/us]:-2.07e+03 at an offset of 116.838 usec -> 2021-07-06T04:43:20.634.144.562 (XO: 0.634146882)

 - Block number: 2 starting at 2021-07-06T04:43:37.233.974.725 (XO: 17.233976444 - 17.234282445, t=35.6 degC)  Rank: 00077
   TM values: Max =   242  Min =  -279  Ave =    -4.39  Std =    30.47
   Min TM value:-279 at an offset of 169.751 usec -> 2021-07-06T04:43:37.234.144.475 (XO: 17.234146195)
   Max TM value:242 at an offset of 98.888 usec -> 2021-07-06T04:43:37.234.073.612 (XO: 17.234075332)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 96.850 usec -> 2021-07-06T04:43:37.234.071.575 (XO: 17.234073294)
   Min dTM/dt [1/us]:-2.56e+03 at an offset of 98.975 usec -> 2021-07-06T04:43:37.234.073.700 (XO: 17.234075419)

 - Block number: 3 starting at 2021-07-06T04:44:03.134.050.725 (XO: 43.134051808 - 43.134357809, t=35.6 degC)  Rank: 00077
   TM values: Max =   225  Min =  -240  Ave =    -4.39  Std =    22.22
   Min TM value:-240 at an offset of 105.775 usec -> 2021-07-06T04:44:03.134.156.500 (XO: 43.134157583)
   Max TM value:225 at an offset of 108.388 usec -> 2021-07-06T04:44:03.134.159.112 (XO: 43.134160195)
   Max dTM/dt [1/us]:1.88e+03 at an offset of 108.200 usec -> 2021-07-06T04:44:03.134.158.925 (XO: 43.134160008)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 105.575 usec -> 2021-07-06T04:44:03.134.156.300 (XO: 43.134157383)

 - Block number: 4 starting at 2021-07-06T04:44:13.134.117.725 (XO: 53.134119094 - 53.134425095, t=35.6 degC)  Rank: 00079
   TM values: Max =   229  Min =  -250  Ave =    -4.37  Std =    21.97
   Min TM value:-250 at an offset of 93.888 usec -> 2021-07-06T04:44:13.134.211.612 (XO: 53.134212982)
   Max TM value:229 at an offset of 96.538 usec -> 2021-07-06T04:44:13.134.214.262 (XO: 53.134215632)
   Max dTM/dt [1/us]:2.13e+03 at an offset of 96.375 usec -> 2021-07-06T04:44:13.134.214.100 (XO: 53.134215470)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 93.675 usec -> 2021-07-06T04:44:13.134.211.400 (XO: 53.134212770)
