-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Jul  5 00:22:43 2023 UTC
-- File 20230626_193055_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 0.235434 to 45.495842
-each separately from 0s to 45s and from 235434us to 995802us.
   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, ...
      19.759790 in 1 packets: 18
      14.619794 in 1 packets: 36
      10.879668 in 1 packets: 54
MIU packet time from 2023-06-26T19:30:58.235.434.000 to 2023-06-26T19:31:43.495.842.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, ...
      19.759790 in 1 packets: 18
      14.619794 in 1 packets: 36
      10.879668 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 1.7131379 to 46.7129870
   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, ...
      18.9999363 in 1 packets: 18
      14.9999497 in 1 packets: 36
      10.9999631 in 1 packets: 54
Temperature FPGA: 
      FD -> 58.9 degC in 72 packets (all packets)
Temperature XO: 
      C6 -> 45.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 20230626_193055_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 1.9485736 to 1.9488626
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.7597270  -- OK for SL --
   MIU time from 2023-06-26T19:30:58.235.434.000 to 2023-06-26T19:30:58.235.723.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.759790

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7085896 to 21.7088786
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6197430  -- OK for SL --
   MIU time from 2023-06-26T19:31:17.995.513.000 to 2023-06-26T19:31:17.995.802.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.619794

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.3286216 to 36.3289106
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.8796310  -- OK for SL --
   MIU time from 2023-06-26T19:31:32.615.596.000 to 2023-06-26T19:31:32.615.885.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.879668

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 47.2085416 to 47.2088306
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-26T19:31:43.495.553.000 to 2023-06-26T19:31:43.495.842.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 = 0, 32bit 10MHz counter = 1.948573600 corrected by 40bit 10MHz counter of 1.713137900 obtained at 1Hz counter of 0. Result: 0.235436477
--
   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: 2023-06-26T19:30:58.235.293.725
   Max 1st sample MIU time among all SL packets: 2023-06-26T19:31:43.495.701.725
   Min 1st sample XO time among all SL packets: 0.235296201
   Max 1st sample XO time among all SL packets: 45.495705010
   TM values from -340 to 302 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-26T19:30:58.235.293.725 (XO: 0.235296201 - 0.235602202, t=45.2 degC)  Rank: 00079
   TM values: Max =   302  Min =  -319  Ave =    -4.30  Std =    28.50
   Min TM value:-319 at an offset of 107.900 usec -> 2023-06-26T19:30:58.235.401.625 (XO: 0.235404102)
   Max TM value:302 at an offset of 107.613 usec -> 2023-06-26T19:30:58.235.401.337 (XO: 0.235403814)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 105.638 usec -> 2023-06-26T19:30:58.235.399.362 (XO: 0.235401839)
   Min dTM/dt [1/us]:-3.09e+03 at an offset of 107.725 usec -> 2023-06-26T19:30:58.235.401.450 (XO: 0.235403927)

 - Block number: 2 starting at 2023-06-26T19:31:17.995.372.725 (XO: 19.995378410 - 19.995684411, t=45.2 degC)  Rank: 00083
   TM values: Max =   228  Min =  -322  Ave =    -4.44  Std =    37.00
   Min TM value:-322 at an offset of 107.513 usec -> 2023-06-26T19:31:17.995.480.237 (XO: 19.995485923)
   Max TM value:228 at an offset of 107.788 usec -> 2023-06-26T19:31:17.995.480.512 (XO: 19.995486198)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 107.663 usec -> 2023-06-26T19:31:17.995.480.387 (XO: 19.995486073)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 105.200 usec -> 2023-06-26T19:31:17.995.477.925 (XO: 19.995483610)

 - Block number: 3 starting at 2023-06-26T19:31:32.615.455.725 (XO: 34.615459518 - 34.615765519, t=45.2 degC)  Rank: 00075
   TM values: Max =   234  Min =  -313  Ave =    -4.40  Std =    29.41
   Min TM value:-313 at an offset of 108.050 usec -> 2023-06-26T19:31:32.615.563.775 (XO: 34.615567568)
   Max TM value:234 at an offset of 108.288 usec -> 2023-06-26T19:31:32.615.564.012 (XO: 34.615567805)
   Max dTM/dt [1/us]:2.58e+03 at an offset of 108.163 usec -> 2023-06-26T19:31:32.615.563.887 (XO: 34.615567680)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 105.738 usec -> 2023-06-26T19:31:32.615.561.462 (XO: 34.615565255)

 - Block number: 4 starting at 2023-06-26T19:31:43.495.412.725 (XO: 45.495416009 - 45.495722010, t=45.2 degC)  Rank: 00076
   TM values: Max =   259  Min =  -340  Ave =    -4.29  Std =    30.45
   Min TM value:-340 at an offset of 119.725 usec -> 2023-06-26T19:31:43.495.532.450 (XO: 45.495535735)
   Max TM value:259 at an offset of 119.438 usec -> 2023-06-26T19:31:43.495.532.162 (XO: 45.495535447)
   Max dTM/dt [1/us]:2.67e+03 at an offset of 122.050 usec -> 2023-06-26T19:31:43.495.534.775 (XO: 45.495538060)
   Min dTM/dt [1/us]:-2.97e+03 at an offset of 119.563 usec -> 2023-06-26T19:31:43.495.532.287 (XO: 45.495535572)
