-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 04:44:09 2021 UTC
-- File 20210802_162959_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 11.453837 to 48.454473
-each separately from 11s to 48s and from 206777us to 622800us.
   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.168385 in 1 packets: 18
      7.583977 in 1 packets: 36
      14.247118 in 1 packets: 54
MIU packet time from 2021-08-02T16:30:13.453.837.000 to 2021-08-02T16:30:50.454.473.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.168385 in 1 packets: 18
      7.583977 in 1 packets: 36
      14.247118 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 12.8901637 to 49.8900402
   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, ...
      14.9999499 in 1 packets: 18
      7.9999733 in 1 packets: 36
      13.9999533 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 36 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 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 20210802_162959_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 13.3440012 to 13.3442902
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.1683350  -- OK for SL --
   MIU time from 2021-08-02T16:30:13.453.837.000 to 2021-08-02T16:30:13.454.126.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.168385

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.5126252 to 28.5129142
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.5839510  -- OK for SL --
   MIU time from 2021-08-02T16:30:28.622.511.000 to 2021-08-02T16:30:28.622.800.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.583977

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.0968652 to 36.0971542
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2470710  -- OK for SL --
   MIU time from 2021-08-02T16:30:36.206.777.000 to 2021-08-02T16:30:36.207.066.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.247118

 - 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 50.3442252 to 50.3445142
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T16:30:50.454.184.000 to 2021-08-02T16:30:50.454.473.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 = 11, 32bit 10MHz counter = 13.344001200 corrected by 40bit 10MHz counter of 12.890163700 obtained at 1Hz counter of 11. Result: 11.453839043
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-02T16:30:13.453.696.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T16:30:50.454.332.725
   Min 1st sample XO time among all SL packets: 11.453698768
   Max 1st sample XO time among all SL packets: 48.454335224
   TM values from -281 to 245 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T16:30:13.453.696.725 (XO: 11.453698768 - 11.454004769, t=37.2 degC)  Rank: 00082
   TM values: Max =   228  Min =  -269  Ave =    -4.54  Std =    21.05
   Min TM value:-269 at an offset of 123.288 usec -> 2021-08-02T16:30:13.453.820.012 (XO: 11.453822055)
   Max TM value:228 at an offset of 122.988 usec -> 2021-08-02T16:30:13.453.819.712 (XO: 11.453821755)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 125.700 usec -> 2021-08-02T16:30:13.453.822.425 (XO: 11.453824468)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 123.100 usec -> 2021-08-02T16:30:13.453.819.825 (XO: 11.453821868)

 - Block number: 2 starting at 2021-08-02T16:30:28.622.370.725 (XO: 26.622373379 - 26.622679380, t=37.2 degC)  Rank: 00081
   TM values: Max =   220  Min =  -268  Ave =    -4.51  Std =    23.78
   Min TM value:-268 at an offset of 117.363 usec -> 2021-08-02T16:30:28.622.488.087 (XO: 26.622490742)
   Max TM value:220 at an offset of 119.900 usec -> 2021-08-02T16:30:28.622.490.625 (XO: 26.622493279)
   Max dTM/dt [1/us]:2.28e+03 at an offset of 119.725 usec -> 2021-08-02T16:30:28.622.490.450 (XO: 26.622493104)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 117.188 usec -> 2021-08-02T16:30:28.622.487.912 (XO: 26.622490567)

 - Block number: 3 starting at 2021-08-02T16:30:36.206.636.725 (XO: 34.206638707 - 34.206944708, t=37.2 degC)  Rank: 00078
   TM values: Max =   228  Min =  -232  Ave =    -4.60  Std =    20.71
   Min TM value:-232 at an offset of 120.388 usec -> 2021-08-02T16:30:36.206.757.112 (XO: 34.206759095)
   Max TM value:228 at an offset of 123.088 usec -> 2021-08-02T16:30:36.206.759.812 (XO: 34.206761795)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 122.938 usec -> 2021-08-02T16:30:36.206.759.662 (XO: 34.206761645)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 120.225 usec -> 2021-08-02T16:30:36.206.756.950 (XO: 34.206758932)

 - Block number: 4 starting at 2021-08-02T16:30:50.454.043.725 (XO: 48.454046223 - 48.454352224, t=37.2 degC)  Rank: 00079
   TM values: Max =   245  Min =  -281  Ave =    -4.42  Std =    28.49
   Min TM value:-281 at an offset of 138.863 usec -> 2021-08-02T16:30:50.454.182.587 (XO: 48.454185086)
   Max TM value:245 at an offset of 96.938 usec -> 2021-08-02T16:30:50.454.140.662 (XO: 48.454143161)
   Max dTM/dt [1/us]:2.19e+03 at an offset of 99.600 usec -> 2021-08-02T16:30:50.454.143.325 (XO: 48.454145824)
   Min dTM/dt [1/us]:-2.68e+03 at an offset of 97.063 usec -> 2021-08-02T16:30:50.454.140.787 (XO: 48.454143286)
