-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 06:08:22 2023 UTC
-- File 20220628_192150_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 10.485580 to 58.430080
-each separately from 10s to 58s and from 429791us to 672556us.
   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.013063 in 1 packets: 18
      19.173046 in 1 packets: 36
      13.757235 in 1 packets: 54
MIU packet time from 2022-06-28T19:22:03.485.580.000 to 2022-06-28T19:22:51.430.080.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.013063 in 1 packets: 18
      19.173046 in 1 packets: 36
      13.757235 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 11.7548617 to 59.7546828
   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.9999441 in 1 packets: 18
      18.9999292 in 1 packets: 36
      13.9999478 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220628_192150_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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.2404429 to 12.2407319
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0130070  -- OK for SL --
   MIU time from 2022-06-28T19:22:03.485.580.000 to 2022-06-28T19:22:03.485.869.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.013063

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.2537389 to 27.2540279
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.1729750  -- OK for SL --
   MIU time from 2022-06-28T19:22:18.498.932.000 to 2022-06-28T19:22:18.499.221.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.173046

 - 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 46.4270029 to 46.4272919
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7571830  -- OK for SL --
   MIU time from 2022-06-28T19:22:37.672.267.000 to 2022-06-28T19:22:37.672.556.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.757235

 - 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:
      70 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.1844749 to 60.1847639
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T19:22:51.429.791.000 to 2022-06-28T19:22:51.430.080.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 = 10, 32bit 10MHz counter = 12.240442900 corrected by 40bit 10MHz counter of 11.754861700 obtained at 1Hz counter of 10. Result: 10.485582997
--
   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.999996200 - 0.999996300
   Min 1st sample MIU time among all SL packets: 2022-06-28T19:22:03.485.439.725
   Max 1st sample MIU time among all SL packets: 2022-06-28T19:22:51.429.939.725
   Min 1st sample XO time among all SL packets: 10.485442721
   Max 1st sample XO time among all SL packets: 58.429942416
   TM values from -374 to 346 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-28T19:22:03.485.439.725 (XO: 10.485442721 - 10.485748722, t=37.2 degC)  Rank: 00072
   TM values: Max =   179  Min =  -374  Ave =    -4.37  Std =    21.55
   Min TM value:-374 at an offset of 115.000 usec -> 2022-06-28T19:22:03.485.554.725 (XO: 10.485557722)
   Max TM value:179 at an offset of 116.125 usec -> 2022-06-28T19:22:03.485.555.850 (XO: 10.485558847)
   Max dTM/dt [1/us]:2.31e+03 at an offset of 108.100 usec -> 2022-06-28T19:22:03.485.547.825 (XO: 10.485550822)
   Min dTM/dt [1/us]:-2.84e+03 at an offset of 114.950 usec -> 2022-06-28T19:22:03.485.554.675 (XO: 10.485557672)

 - Block number: 2 starting at 2022-06-28T19:22:18.498.791.725 (XO: 25.498794671 - 25.499100672, t=37.2 degC)  Rank: 00088
   TM values: Max =   346  Min =  -264  Ave =    -4.43  Std =    51.90
   Min TM value:-264 at an offset of 107.150 usec -> 2022-06-28T19:22:18.498.898.875 (XO: 25.498901821)
   Max TM value:346 at an offset of 149.363 usec -> 2022-06-28T19:22:18.498.941.088 (XO: 25.498944034)
   Max dTM/dt [1/us]:2.33e+03 at an offset of 174.463 usec -> 2022-06-28T19:22:18.498.966.188 (XO: 25.498969134)
   Min dTM/dt [1/us]:-3.16e+03 at an offset of 152.188 usec -> 2022-06-28T19:22:18.498.943.913 (XO: 25.498946859)

 - Block number: 3 starting at 2022-06-28T19:22:37.672.126.725 (XO: 44.672130179 - 44.672436180, t=37.2 degC)  Rank: 00072
   TM values: Max =   244  Min =  -240  Ave =    -4.40  Std =    46.91
   Min TM value:-240 at an offset of 49.188 usec -> 2022-06-28T19:22:37.672.175.912 (XO: 44.672179367)
   Max TM value:244 at an offset of 120.650 usec -> 2022-06-28T19:22:37.672.247.375 (XO: 44.672250830)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 49.288 usec -> 2022-06-28T19:22:37.672.176.012 (XO: 44.672179467)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 250.363 usec -> 2022-06-28T19:22:37.672.377.088 (XO: 44.672380543)

 - Block number: 4 starting at 2022-06-28T19:22:51.429.650.725 (XO: 58.429653415 - 58.429959416, t=37.2 degC)  Rank: 00070
   TM values: Max =   147  Min =  -178  Ave =    -4.43  Std =    19.61
   Min TM value:-178 at an offset of 108.550 usec -> 2022-06-28T19:22:51.429.759.275 (XO: 58.429761965)
   Max TM value:147 at an offset of 108.138 usec -> 2022-06-28T19:22:51.429.758.862 (XO: 58.429761553)
   Max dTM/dt [1/us]:1.30e+03 at an offset of 110.788 usec -> 2022-06-28T19:22:51.429.761.512 (XO: 58.429764203)
   Min dTM/dt [1/us]:-1.41e+03 at an offset of 108.263 usec -> 2022-06-28T19:22:51.429.758.987 (XO: 58.429761678)
