-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 20:37:16 2021 UTC
-- File 20210818_001756_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 3.072346 to 51.772490
-each separately from 3s to 51s and from 72346us to 772490us.
   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.559534 in 1 packets: 18
      14.629633 in 1 packets: 36
      14.509821 in 1 packets: 54
MIU packet time from 2021-08-18T00:18:02.072.346.000 to 2021-08-18T00:18:50.772.490.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.559534 in 1 packets: 18
      14.629633 in 1 packets: 36
      14.509821 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.8399120 to 52.8397533
   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, ...
      18.9999372 in 1 packets: 18
      14.9999504 in 1 packets: 36
      13.9999537 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210818_001756_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 4.9122592 to 4.9125482
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5594710  -- OK for SL --
   MIU time from 2021-08-18T00:18:02.072.346.000 to 2021-08-18T00:18:02.072.635.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.559534

 - 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 24.4720192 to 24.4723082
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6295830  -- OK for SL --
   MIU time from 2021-08-18T00:18:21.632.169.000 to 2021-08-18T00:18:21.632.458.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.629633

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1018912 to 39.1021802
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.5097750  -- OK for SL --
   MIU time from 2021-08-18T00:18:36.262.091.000 to 2021-08-18T00:18:36.262.380.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.509821

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 53.6119552 to 53.6122442
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-18T00:18:50.772.201.000 to 2021-08-18T00:18:50.772.490.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 = 3, 32bit 10MHz counter = 4.912259200 corrected by 40bit 10MHz counter of 4.839912000 obtained at 1Hz counter of 3. Result: 3.072347439
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-18T00:18:02.072.205.725
   Max 1st sample MIU time among all SL packets: 2021-08-18T00:18:50.772.349.725
   Min 1st sample XO time among all SL packets: 3.072207163
   Max 1st sample XO time among all SL packets: 51.772353174
   TM values from -231 to 191 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-18T00:18:02.072.205.725 (XO: 3.072207163 - 3.072513164, t=37.2 degC)  Rank: 00082
   TM values: Max =   191  Min =  -228  Ave =    -4.59  Std =    23.26
   Min TM value:-228 at an offset of 120.663 usec -> 2021-08-18T00:18:02.072.326.387 (XO: 3.072327826)
   Max TM value:191 at an offset of 120.400 usec -> 2021-08-18T00:18:02.072.326.125 (XO: 3.072327564)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 123.088 usec -> 2021-08-18T00:18:02.072.328.812 (XO: 3.072330251)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 120.525 usec -> 2021-08-18T00:18:02.072.326.250 (XO: 3.072327689)

 - Block number: 2 starting at 2021-08-18T00:18:21.632.028.725 (XO: 22.632031811 - 22.632337812, t=37.2 degC)  Rank: 00077
   TM values: Max =   183  Min =  -231  Ave =    -4.59  Std =    23.35
   Min TM value:-231 at an offset of 191.801 usec -> 2021-08-18T00:18:21.632.220.525 (XO: 22.632223611)
   Max TM value:183 at an offset of 194.338 usec -> 2021-08-18T00:18:21.632.223.063 (XO: 22.632226149)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 194.188 usec -> 2021-08-18T00:18:21.632.222.913 (XO: 22.632225999)
   Min dTM/dt [1/us]:-1.81e+03 at an offset of 191.588 usec -> 2021-08-18T00:18:21.632.220.313 (XO: 22.632223399)

 - Block number: 3 starting at 2021-08-18T00:18:36.261.950.725 (XO: 37.261952189 - 37.262258190, t=37.2 degC)  Rank: 00075
   TM values: Max =   182  Min =  -220  Ave =    -4.53  Std =    19.23
   Min TM value:-220 at an offset of 123.125 usec -> 2021-08-18T00:18:36.262.073.850 (XO: 37.262075315)
   Max TM value:182 at an offset of 125.763 usec -> 2021-08-18T00:18:36.262.076.487 (XO: 37.262077952)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 125.613 usec -> 2021-08-18T00:18:36.262.076.337 (XO: 37.262077802)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 122.950 usec -> 2021-08-18T00:18:36.262.073.675 (XO: 37.262075140)

 - Block number: 4 starting at 2021-08-18T00:18:50.772.060.725 (XO: 51.772064173 - 51.772370174, t=37.2 degC)  Rank: 00080
   TM values: Max =   182  Min =  -223  Ave =    -4.50  Std =    19.80
   Min TM value:-223 at an offset of 109.163 usec -> 2021-08-18T00:18:50.772.169.887 (XO: 51.772173336)
   Max TM value:182 at an offset of 124.225 usec -> 2021-08-18T00:18:50.772.184.950 (XO: 51.772188398)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 124.075 usec -> 2021-08-18T00:18:50.772.184.800 (XO: 51.772188248)
   Min dTM/dt [1/us]:-1.67e+03 at an offset of 121.463 usec -> 2021-08-18T00:18:50.772.182.187 (XO: 51.772185636)
