-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  8 20:59:53 2024 UTC
-- File 20230722_063206_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 2.630788 to 51.643175
-each separately from 2s to 51s and from 2267us to 681840us.
   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, ...
      13.050474 in 1 packets: 18
      17.320427 in 1 packets: 36
      18.640330 in 1 packets: 54
MIU packet time from 2023-07-22T06:32:11.630.788.000 to 2023-07-22T06:33:00.643.175.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, ...
      13.050474 in 1 packets: 18
      17.320427 in 1 packets: 36
      18.640330 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 4.1399629 to 53.1398016
   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, ...
      12.9999575 in 1 packets: 18
      17.9999407 in 1 packets: 36
      17.9999405 in 1 packets: 54
Temperature FPGA: 
      FF -> 56.3 degC in 72 packets (all packets)
Temperature XO: 
      C6 -> 45.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      C5 -> 43.6 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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: 
      2 in 1 packets: 1
      3 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: 
      2 in 1 packets: 1
      3 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 20230722_063206_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:
      116 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.7707533 to 4.7710423
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.0504310  -- OK for SL --
   MIU time from 2023-07-22T06:32:11.630.788.000 to 2023-07-22T06:32:11.631.077.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.050474

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.8214733 to 17.8217623
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.3203670  -- OK for SL --
   MIU time from 2023-07-22T06:32:24.681.551.000 to 2023-07-22T06:32:24.681.840.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.320427

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.1421293 to 35.1424183
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6402710  -- OK for SL --
   MIU time from 2023-07-22T06:32:42.002.267.000 to 2023-07-22T06:32:42.002.556.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.640330

 - 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 53.7826893 to 53.7829783
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-07-22T06:33:00.642.886.000 to 2023-07-22T06:33:00.643.175.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 = 2, 32bit 10MHz counter = 4.770753300 corrected by 40bit 10MHz counter of 4.139962900 obtained at 1Hz counter of 2. Result: 2.630792419
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2023-07-22T06:32:11.630.647.725
   Max 1st sample MIU time among all SL packets: 2023-07-22T06:33:00.643.034.725
   Min 1st sample XO time among all SL packets: 2.630652143
   Max 1st sample XO time among all SL packets: 51.643038547
   TM values from -1033 to 889 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-07-22T06:32:11.630.647.725 (XO: 2.630652143 - 2.630958144, t=45.2 degC)  Rank: 00116
   TM values: Max =   889  Min = -1033  Ave =    -4.52  Std =    45.51
   Min TM value:-1033 at an offset of 99.363 usec -> 2023-07-22T06:32:11.630.747.087 (XO: 2.630751506)
   Max TM value:889 at an offset of 99.263 usec -> 2023-07-22T06:32:11.630.746.987 (XO: 2.630751406)
   Max dTM/dt [1/us]:1.24e+04 at an offset of 99.400 usec -> 2023-07-22T06:32:11.630.747.125 (XO: 2.630751543)
   Min dTM/dt [1/us]:-1.29e+04 at an offset of 99.300 usec -> 2023-07-22T06:32:11.630.747.025 (XO: 2.630751443)

 - Block number: 2 starting at 2023-07-22T06:32:24.681.410.725 (XO: 15.681414942 - 15.681720943, t=43.6 degC)  Rank: 00079
   TM values: Max =   210  Min =  -301  Ave =    -4.57  Std =    28.55
   Min TM value:-301 at an offset of 112.888 usec -> 2023-07-22T06:32:24.681.523.612 (XO: 15.681527830)
   Max TM value:210 at an offset of 115.313 usec -> 2023-07-22T06:32:24.681.526.037 (XO: 15.681530255)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 115.188 usec -> 2023-07-22T06:32:24.681.525.912 (XO: 15.681530130)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 112.775 usec -> 2023-07-22T06:32:24.681.523.500 (XO: 15.681527717)

 - Block number: 3 starting at 2023-07-22T06:32:42.002.126.725 (XO: 33.002127932 - 33.002433933, t=43.6 degC)  Rank: 00080
   TM values: Max =   207  Min =  -240  Ave =    -4.55  Std =    30.14
   Min TM value:-240 at an offset of 109.325 usec -> 2023-07-22T06:32:42.002.236.050 (XO: 33.002237257)
   Max TM value:207 at an offset of 114.188 usec -> 2023-07-22T06:32:42.002.240.912 (XO: 33.002242120)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 140.838 usec -> 2023-07-22T06:32:42.002.267.562 (XO: 33.002268770)
   Min dTM/dt [1/us]:-1.95e+03 at an offset of 168.151 usec -> 2023-07-22T06:32:42.002.294.875 (XO: 33.002296083)

 - Block number: 4 starting at 2023-07-22T06:33:00.642.745.725 (XO: 51.642749546 - 51.643055547, t=45.2 degC)  Rank: 00076
   TM values: Max =   197  Min =  -267  Ave =    -4.54  Std =    27.60
   Min TM value:-267 at an offset of 85.738 usec -> 2023-07-22T06:33:00.642.831.462 (XO: 51.642835284)
   Max TM value:197 at an offset of 88.225 usec -> 2023-07-22T06:33:00.642.833.950 (XO: 51.642837771)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 88.100 usec -> 2023-07-22T06:33:00.642.833.825 (XO: 51.642837646)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 85.625 usec -> 2023-07-22T06:33:00.642.831.350 (XO: 51.642835171)
