-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 18:39:35 2022 UTC
-- File 20220207_203814_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 12.048039 to 59.769279
-each separately from 12s to 59s and from 28285us to 769279us.
   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, ...
      5.979957 in 1 packets: 18
      14.300064 in 1 packets: 36
      27.440063 in 1 packets: 54
MIU packet time from 2022-02-07T20:38:29.048.039.000 to 2022-02-07T20:39:16.769.279.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, ...
      5.979957 in 1 packets: 18
      14.300064 in 1 packets: 36
      27.440063 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 13.7004146 to 60.7002485
   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, ...
      5.9999788 in 1 packets: 18
      13.9999505 in 1 packets: 36
      26.9999046 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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: 
      1 in 1 packets: 1
      2 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      3 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: 
      1 in 1 packets: 1
      2 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      3 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 20220207_203814_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.7484552 to 13.7487442
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.9799350  -- OK for SL --
   MIU time from 2022-02-07T20:38:29.048.039.000 to 2022-02-07T20:38:29.048.328.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.979957

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.7286792 to 19.7289682
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.3000150  -- OK for SL --
   MIU time from 2022-02-07T20:38:35.028.285.000 to 2022-02-07T20:38:35.028.574.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.300064

 - 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 34.0289832 to 34.0292722
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 27.4399670  -- OK for SL --
   MIU time from 2022-02-07T20:38:49.328.638.000 to 2022-02-07T20:38:49.328.927.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 27.440063

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.4692392 to 61.4695282
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-07T20:39:16.768.990.000 to 2022-02-07T20:39:16.769.279.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 = 12, 32bit 10MHz counter = 13.748455200 corrected by 40bit 10MHz counter of 13.700414600 obtained at 1Hz counter of 12. Result: 12.048040768
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-07T20:38:29.047.898.725
   Max 1st sample MIU time among all SL packets: 2022-02-07T20:39:16.769.138.725
   Min 1st sample XO time among all SL packets: 12.047900493
   Max 1st sample XO time among all SL packets: 59.769142117
   TM values from -287 to 262 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-07T20:38:29.047.898.725 (XO: 12.047900493 - 12.048206494, t=37.2 degC)  Rank: 00082
   TM values: Max =   262  Min =  -287  Ave =    -4.62  Std =    32.08
   Min TM value:-287 at an offset of 106.413 usec -> 2022-02-07T20:38:29.048.005.137 (XO: 12.048006906)
   Max TM value:262 at an offset of 146.438 usec -> 2022-02-07T20:38:29.048.045.163 (XO: 12.048046931)
   Max dTM/dt [1/us]:2.51e+03 at an offset of 149.001 usec -> 2022-02-07T20:38:29.048.047.725 (XO: 12.048049493)
   Min dTM/dt [1/us]:-2.73e+03 at an offset of 104.125 usec -> 2022-02-07T20:38:29.048.002.850 (XO: 12.048004618)

 - Block number: 2 starting at 2022-02-07T20:38:35.028.144.725 (XO: 18.028145624 - 18.028451625, t=37.2 degC)  Rank: 00086
   TM values: Max =   243  Min =  -278  Ave =    -4.66  Std =    21.14
   Min TM value:-278 at an offset of 90.800 usec -> 2022-02-07T20:38:35.028.235.525 (XO: 18.028236424)
   Max TM value:243 at an offset of 88.400 usec -> 2022-02-07T20:38:35.028.233.125 (XO: 18.028234024)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 90.888 usec -> 2022-02-07T20:38:35.028.235.612 (XO: 18.028236511)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 88.500 usec -> 2022-02-07T20:38:35.028.233.225 (XO: 18.028234124)

 - Block number: 3 starting at 2022-02-07T20:38:49.328.497.725 (XO: 32.328500175 - 32.328806176, t=37.2 degC)  Rank: 00072
   TM values: Max =   219  Min =  -271  Ave =    -4.61  Std =    24.35
   Min TM value:-271 at an offset of 116.163 usec -> 2022-02-07T20:38:49.328.613.887 (XO: 32.328616338)
   Max TM value:219 at an offset of 113.700 usec -> 2022-02-07T20:38:49.328.611.425 (XO: 32.328613875)
   Max dTM/dt [1/us]:2.46e+03 at an offset of 116.313 usec -> 2022-02-07T20:38:49.328.614.037 (XO: 32.328616488)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 116.088 usec -> 2022-02-07T20:38:49.328.613.812 (XO: 32.328616263)

 - Block number: 4 starting at 2022-02-07T20:39:16.768.849.725 (XO: 59.768853116 - 59.769159117, t=37.2 degC)  Rank: 00074
   TM values: Max =   208  Min =  -274  Ave =    -4.57  Std =    20.54
   Min TM value:-274 at an offset of 125.225 usec -> 2022-02-07T20:39:16.768.974.950 (XO: 59.768978341)
   Max TM value:208 at an offset of 94.025 usec -> 2022-02-07T20:39:16.768.943.750 (XO: 59.768947141)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 125.350 usec -> 2022-02-07T20:39:16.768.975.075 (XO: 59.768978466)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 122.900 usec -> 2022-02-07T20:39:16.768.972.625 (XO: 59.768976016)
