-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Nov 19 22:55:28 2021 UTC
-- File 20210720_165529_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 5.605017 to 52.496231
-each separately from 5s to 52s and from 175388us to 715599us.
   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.110004 in 1 packets: 18
      8.459789 in 1 packets: 36
      22.320265 in 1 packets: 54
MIU packet time from 2021-07-20T16:55:37.605.017.000 to 2021-07-20T16:56:24.496.231.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.110004 in 1 packets: 18
      8.459789 in 1 packets: 36
      22.320265 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 6.8846147 to 53.8844571
   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.9999463 in 1 packets: 18
      8.9999698 in 1 packets: 36
      21.9999263 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 18 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210720_165529_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.4896320 to 7.4899210
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1099510  -- OK for SL --
   MIU time from 2021-07-20T16:55:37.605.017.000 to 2021-07-20T16:55:37.605.306.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.110004

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.5998720 to 23.6001610
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.4597590  -- OK for SL --
   MIU time from 2021-07-20T16:55:53.715.310.000 to 2021-07-20T16:55:53.715.599.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.459789

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.0599200 to 32.0602090
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.3201910  -- OK for SL --
   MIU time from 2021-07-20T16:56:02.175.388.000 to 2021-07-20T16:56:02.175.677.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.320265

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.3804000 to 54.3806890
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-20T16:56:24.495.942.000 to 2021-07-20T16:56:24.496.231.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 = 5, 32bit 10MHz counter = 7.489632000 corrected by 40bit 10MHz counter of 6.884614700 obtained at 1Hz counter of 5. Result: 5.605019357
--
   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-07-20T16:55:37.604.876.725
   Max 1st sample MIU time among all SL packets: 2021-07-20T16:56:24.496.090.725
   Min 1st sample XO time among all SL packets: 5.604879082
   Max 1st sample XO time among all SL packets: 52.496093262
   TM values from -291 to 256 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-20T16:55:37.604.876.725 (XO: 5.604879082 - 5.605185083, t=37.2 degC)  Rank: 00079
   TM values: Max =   249  Min =  -264  Ave =    -4.41  Std =    25.74
   Min TM value:-264 at an offset of 109.600 usec -> 2021-07-20T16:55:37.604.986.325 (XO: 5.604988682)
   Max TM value:249 at an offset of 107.325 usec -> 2021-07-20T16:55:37.604.984.050 (XO: 5.604986407)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 107.188 usec -> 2021-07-20T16:55:37.604.983.912 (XO: 5.604986269)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 109.413 usec -> 2021-07-20T16:55:37.604.986.137 (XO: 5.604988494)

 - Block number: 2 starting at 2021-07-20T16:55:53.715.169.725 (XO: 21.715173085 - 21.715479086, t=37.2 degC)  Rank: 00078
   TM values: Max =   220  Min =  -242  Ave =    -4.45  Std =    20.63
   Min TM value:-242 at an offset of 97.350 usec -> 2021-07-20T16:55:53.715.267.075 (XO: 21.715270435)
   Max TM value:220 at an offset of 97.663 usec -> 2021-07-20T16:55:53.715.267.387 (XO: 21.715270748)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 97.463 usec -> 2021-07-20T16:55:53.715.267.187 (XO: 21.715270548)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 94.863 usec -> 2021-07-20T16:55:53.715.264.587 (XO: 21.715267948)

 - Block number: 3 starting at 2021-07-20T16:56:02.175.247.725 (XO: 30.175249503 - 30.175555504, t=37.2 degC)  Rank: 00084
   TM values: Max =   234  Min =  -258  Ave =    -4.51  Std =    24.83
   Min TM value:-258 at an offset of 107.000 usec -> 2021-07-20T16:56:02.175.354.725 (XO: 30.175356504)
   Max TM value:234 at an offset of 121.688 usec -> 2021-07-20T16:56:02.175.369.412 (XO: 30.175371191)
   Max dTM/dt [1/us]:1.80e+03 at an offset of 121.525 usec -> 2021-07-20T16:56:02.175.369.250 (XO: 30.175371029)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 118.863 usec -> 2021-07-20T16:56:02.175.366.587 (XO: 30.175368366)

 - Block number: 4 starting at 2021-07-20T16:56:24.495.801.725 (XO: 52.495804261 - 52.496110262, t=37.2 degC)  Rank: 00084
   TM values: Max =   256  Min =  -291  Ave =    -4.47  Std =    30.87
   Min TM value:-291 at an offset of 126.150 usec -> 2021-07-20T16:56:24.495.927.875 (XO: 52.495930412)
   Max TM value:256 at an offset of 123.600 usec -> 2021-07-20T16:56:24.495.925.325 (XO: 52.495927862)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 126.263 usec -> 2021-07-20T16:56:24.495.927.987 (XO: 52.495930524)
   Min dTM/dt [1/us]:-2.88e+03 at an offset of 123.725 usec -> 2021-07-20T16:56:24.495.925.450 (XO: 52.495927987)
