-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 17:49:04 2023 UTC
-- File 20220628_024032_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 8.967772 to 34.748958
-each separately from 8s to 34s and from 748669us to 968061us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.959940 in 1 packets: 18
      15.820379 in 1 packets: 36
MIU packet time from 2022-06-28T02:40:43.967.772.000 to 2022-06-28T02:41:09.748.958.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.959940 in 1 packets: 18
      15.820379 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.2134560 to 36.2133590
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      9.9999627 in 1 packets: 18
      15.9999403 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 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 35 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 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20220628_024032_1227.dat, 3 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.1812284 to 11.1815174
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9599030  -- OK for SL --
   MIU time from 2022-06-28T02:40:43.967.772.000 to 2022-06-28T02:40:43.968.061.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.959940

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.1414204 to 21.1417094
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8203190  -- OK for SL --
   MIU time from 2022-06-28T02:40:53.928.001.000 to 2022-06-28T02:40:53.928.290.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.820379

 - 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 36.9620284 to 36.9623174
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T02:41:09.748.669.000 to 2022-06-28T02:41:09.748.958.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 8, 32bit 10MHz counter = 11.181228400 corrected by 40bit 10MHz counter of 10.213456000 obtained at 1Hz counter of 8. Result: 8.967776078
--
   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-28T02:40:43.967.631.725
   Max 1st sample MIU time among all SL packets: 2022-06-28T02:41:09.748.817.725
   Min 1st sample XO time among all SL packets: 8.967635802
   Max 1st sample XO time among all SL packets: 34.748820896
   TM values from -271 to 216 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-28T02:40:43.967.631.725 (XO: 8.967635802 - 8.967941803, t=37.2 degC)  Rank: 00078
   TM values: Max =   184  Min =  -252  Ave =    -4.49  Std =    19.87
   Min TM value:-252 at an offset of 109.338 usec -> 2022-06-28T02:40:43.967.741.062 (XO: 8.967745140)
   Max TM value:184 at an offset of 105.050 usec -> 2022-06-28T02:40:43.967.736.775 (XO: 8.967740852)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 109.438 usec -> 2022-06-28T02:40:43.967.741.162 (XO: 8.967745240)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 106.925 usec -> 2022-06-28T02:40:43.967.738.650 (XO: 8.967742727)

 - Block number: 2 starting at 2022-06-28T02:40:53.927.860.725 (XO: 18.927864858 - 18.928170859, t=37.2 degC)  Rank: 00084
   TM values: Max =   216  Min =  -253  Ave =    -4.62  Std =    19.01
   Min TM value:-253 at an offset of 121.050 usec -> 2022-06-28T02:40:53.927.981.775 (XO: 18.927985909)
   Max TM value:216 at an offset of 118.563 usec -> 2022-06-28T02:40:53.927.979.287 (XO: 18.927983421)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 121.188 usec -> 2022-06-28T02:40:53.927.981.912 (XO: 18.927986046)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 118.688 usec -> 2022-06-28T02:40:53.927.979.412 (XO: 18.927983546)

 - Block number: 3 starting at 2022-06-28T02:41:09.748.528.725 (XO: 34.748531895 - 34.748837896, t=37.2 degC)  Rank: 00080
   TM values: Max =   179  Min =  -271  Ave =    -4.49  Std =    23.96
   Min TM value:-271 at an offset of 111.438 usec -> 2022-06-28T02:41:09.748.640.162 (XO: 34.748643332)
   Max TM value:179 at an offset of 108.913 usec -> 2022-06-28T02:41:09.748.637.637 (XO: 34.748640807)
   Max dTM/dt [1/us]:2.20e+03 at an offset of 111.525 usec -> 2022-06-28T02:41:09.748.640.250 (XO: 34.748643420)
   Min dTM/dt [1/us]:-2.24e+03 at an offset of 109.038 usec -> 2022-06-28T02:41:09.748.637.762 (XO: 34.748640932)
