-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jun  9 18:16:37 2021 UTC
-- File 20210609_175302_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.611361 to 59.710530
-each separately from 5s to 59s and from 154552us to 859931us.
   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, ...
      10.542902 in 1 packets: 18
      14.704801 in 1 packets: 36
      28.850310 in 1 packets: 54
MIU packet time from 2021-06-09T17:53:10.611.361.000 to 2021-06-09T17:54:04.710.530.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, ...
      10.542902 in 1 packets: 18
      14.704801 in 1 packets: 36
      28.850310 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.7286154 to 60.7284239
   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, ...
      10.9999610 in 1 packets: 18
      13.9999503 in 1 packets: 36
      28.9998972 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 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 20210609_175302_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.3399771 to 7.3402661
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.5428630  -- OK for SL --
   MIU time from 2021-06-09T17:53:10.611.361.000 to 2021-06-09T17:53:10.611.650.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.542902

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.8831291 to 17.8834181
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7047510  -- OK for SL --
   MIU time from 2021-06-09T17:53:21.154.552.000 to 2021-06-09T17:53:21.154.841.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.704801

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.5881691 to 32.5884581
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 28.8502070  -- OK for SL --
   MIU time from 2021-06-09T17:53:35.859.642.000 to 2021-06-09T17:53:35.859.931.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 28.850310

 - 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:
      55 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.4386651 to 61.4389541
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-06-09T17:54:04.710.241.000 to 2021-06-09T17:54:04.710.530.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.339977100 corrected by 40bit 10MHz counter of 6.728615400 obtained at 1Hz counter of 5. Result: 5.611363840
--
   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-06-09T17:53:10.611.220.725
   Max 1st sample MIU time among all SL packets: 2021-06-09T17:54:04.710.389.725
   Min 1st sample XO time among all SL packets: 5.611223564
   Max 1st sample XO time among all SL packets: 59.710392482
   TM values from -257 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-06-09T17:53:10.611.220.725 (XO: 5.611223564 - 5.611529565, t=35.6 degC)  Rank: 00083
   TM values: Max =   228  Min =  -257  Ave =    -4.56  Std =    95.46
   Min TM value:-257 at an offset of 164.201 usec -> 2021-06-09T17:53:10.611.384.925 (XO: 5.611387765)
   Max TM value:228 at an offset of 164.688 usec -> 2021-06-09T17:53:10.611.385.413 (XO: 5.611388252)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 164.576 usec -> 2021-06-09T17:53:10.611.385.300 (XO: 5.611388140)
   Min dTM/dt [1/us]:-2.00e+03 at an offset of 163.763 usec -> 2021-06-09T17:53:10.611.384.488 (XO: 5.611387327)

 - Block number: 2 starting at 2021-06-09T17:53:21.154.411.725 (XO: 16.154412981 - 16.154718982, t=35.6 degC)  Rank: 00065
   TM values: Max =   171  Min =  -180  Ave =    -4.50  Std =    57.64
   Min TM value:-180 at an offset of 138.150 usec -> 2021-06-09T17:53:21.154.549.875 (XO: 16.154551131)
   Max TM value:171 at an offset of 167.901 usec -> 2021-06-09T17:53:21.154.579.625 (XO: 16.154580881)
   Max dTM/dt [1/us]:1.34e+03 at an offset of 164.013 usec -> 2021-06-09T17:53:21.154.575.738 (XO: 16.154576994)
   Min dTM/dt [1/us]:-1.32e+03 at an offset of 215.738 usec -> 2021-06-09T17:53:21.154.627.463 (XO: 16.154628719)

 - Block number: 3 starting at 2021-06-09T17:53:35.859.501.725 (XO: 30.859505133 - 30.859811134, t=35.6 degC)  Rank: 00072
   TM values: Max =   149  Min =  -157  Ave =    -4.49  Std =    53.76
   Min TM value:-157 at an offset of 158.413 usec -> 2021-06-09T17:53:35.859.660.138 (XO: 30.859663546)
   Max TM value:149 at an offset of 129.175 usec -> 2021-06-09T17:53:35.859.630.900 (XO: 30.859634309)
   Max dTM/dt [1/us]:1.14e+03 at an offset of 172.351 usec -> 2021-06-09T17:53:35.859.674.075 (XO: 30.859677484)
   Min dTM/dt [1/us]:-1.22e+03 at an offset of 134.188 usec -> 2021-06-09T17:53:35.859.635.912 (XO: 30.859639321)

 - Block number: 4 starting at 2021-06-09T17:54:04.710.100.725 (XO: 59.710103481 - 59.710409482, t=35.6 degC)  Rank: 00055
   TM values: Max =   198  Min =  -219  Ave =    -4.46  Std =    70.65
   Min TM value:-219 at an offset of 178.588 usec -> 2021-06-09T17:54:04.710.279.313 (XO: 59.710282070)
   Max TM value:198 at an offset of 234.551 usec -> 2021-06-09T17:54:04.710.335.275 (XO: 59.710338032)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 229.026 usec -> 2021-06-09T17:54:04.710.329.750 (XO: 59.710332507)
   Min dTM/dt [1/us]:-1.59e+03 at an offset of 177.301 usec -> 2021-06-09T17:54:04.710.278.025 (XO: 59.710280782)
