-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jul  1 10:27:47 2023 UTC
-- File 20230611_165945_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 6.401776 to 55.842284
-each separately from 6s to 55s and from 281893us to 842284us.
   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, ...
      20.219829 in 1 packets: 18
      8.659710 in 1 packets: 36
      20.559813 in 1 packets: 54
MIU packet time from 2023-06-11T16:59:54.401.776.000 to 2023-06-11T17:00:43.842.284.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, ...
      20.219829 in 1 packets: 18
      8.659710 in 1 packets: 36
      20.559813 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 7.5761100 to 56.5759383
   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, ...
      19.9999299 in 2 packets: 18, 54
      8.9999685 in 1 packets: 36
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      01 -> 53.7 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
      FF -> 56.3 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Temperature XO: 
      C4 -> 42.0 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 20230611_165945_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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.9778870 to 7.9781760
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.2197590  -- OK for SL --
   MIU time from 2023-06-11T16:59:54.401.776.000 to 2023-06-11T16:59:54.402.065.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.219829

 - 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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.1979350 to 28.1982240
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.6596790  -- OK for SL --
   MIU time from 2023-06-11T17:00:14.621.894.000 to 2023-06-11T17:00:14.622.183.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.659710

 - 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.8579030 to 36.8581920
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.5597430  -- OK for SL --
   MIU time from 2023-06-11T17:00:23.281.893.000 to 2023-06-11T17:00:23.282.182.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.559813

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.4179350 to 57.4182240
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-11T17:00:43.841.995.000 to 2023-06-11T17:00:43.842.284.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 = 6, 32bit 10MHz counter = 7.977887000 corrected by 40bit 10MHz counter of 7.576110000 obtained at 1Hz counter of 6. Result: 6.401778406
--
   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: 2023-06-11T16:59:54.401.635.725
   Max 1st sample MIU time among all SL packets: 2023-06-11T17:00:43.842.143.725
   Min 1st sample XO time among all SL packets: 6.401638131
   Max 1st sample XO time among all SL packets: 55.842148373
   TM values from -310 to 228 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-11T16:59:54.401.635.725 (XO: 6.401638131 - 6.401944132, t=42.0 degC)  Rank: 00075
   TM values: Max =   221  Min =  -288  Ave =    -4.40  Std =    26.75
   Min TM value:-288 at an offset of 84.425 usec -> 2023-06-11T16:59:54.401.720.150 (XO: 6.401722556)
   Max TM value:221 at an offset of 89.275 usec -> 2023-06-11T16:59:54.401.725.000 (XO: 6.401727406)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 86.788 usec -> 2023-06-11T16:59:54.401.722.512 (XO: 6.401724919)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 84.263 usec -> 2023-06-11T16:59:54.401.719.987 (XO: 6.401722394)

 - Block number: 2 starting at 2023-06-11T17:00:14.621.753.725 (XO: 26.621757001 - 26.622063002, t=42.0 degC)  Rank: 00089
   TM values: Max =   228  Min =  -310  Ave =    -4.35  Std =    24.88
   Min TM value:-310 at an offset of 108.550 usec -> 2023-06-11T17:00:14.621.862.275 (XO: 26.621865552)
   Max TM value:228 at an offset of 113.413 usec -> 2023-06-11T17:00:14.621.867.137 (XO: 26.621870414)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 106.425 usec -> 2023-06-11T17:00:14.621.860.150 (XO: 26.621863427)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 96.338 usec -> 2023-06-11T17:00:14.621.850.062 (XO: 26.621853339)

 - Block number: 3 starting at 2023-06-11T17:00:23.281.752.725 (XO: 35.281755311 - 35.282061312, t=42.0 degC)  Rank: 00078
   TM values: Max =   201  Min =  -285  Ave =    -4.42  Std =    23.49
   Min TM value:-285 at an offset of 111.225 usec -> 2023-06-11T17:00:23.281.863.950 (XO: 35.281866537)
   Max TM value:201 at an offset of 113.900 usec -> 2023-06-11T17:00:23.281.866.625 (XO: 35.281869212)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 111.338 usec -> 2023-06-11T17:00:23.281.864.062 (XO: 35.281866649)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 108.838 usec -> 2023-06-11T17:00:23.281.861.562 (XO: 35.281864149)

 - Block number: 4 starting at 2023-06-11T17:00:43.841.854.725 (XO: 55.841859372 - 55.842165373, t=42.0 degC)  Rank: 00080
   TM values: Max =   207  Min =  -260  Ave =    -4.40  Std =    26.81
   Min TM value:-260 at an offset of 108.613 usec -> 2023-06-11T17:00:43.841.963.337 (XO: 55.841967984)
   Max TM value:207 at an offset of 113.675 usec -> 2023-06-11T17:00:43.841.968.400 (XO: 55.841973047)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 157.363 usec -> 2023-06-11T17:00:43.842.012.088 (XO: 55.842016735)
   Min dTM/dt [1/us]:-1.79e+03 at an offset of 126.188 usec -> 2023-06-11T17:00:43.841.980.912 (XO: 55.841985559)
