-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 21:55:22 2023 UTC
-- File 20220118_202521_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 9.574582 to 32.012553
-each separately from 9s to 32s and from 12264us to 793325us.
   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, ...
      15.218165 in 1 packets: 18
      7.218939 in 1 packets: 36
MIU packet time from 2022-01-18T20:25:33.574.582.000 to 2022-01-18T20:25:56.012.553.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, ...
      15.218165 in 1 packets: 18
      7.218939 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.3757587 to 33.3756763
   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, ...
      14.9999463 in 1 packets: 18
      7.9999713 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 54 packets (all packets)
Number of generated alerts: 
      0 in 54 packets (all packets)
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 20220118_202521_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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.9503417 to 10.9506307
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2181110  -- OK for SL --
   MIU time from 2022-01-18T20:25:33.574.582.000 to 2022-01-18T20:25:33.574.871.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.218165

 - 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:
      52 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.1687417 to 26.1690307
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.2189110  -- OK for SL --
   MIU time from 2022-01-18T20:25:48.793.036.000 to 2022-01-18T20:25:48.793.325.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.218939

 - 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:
      51 in 18 packets (all packets)  -- OK --
   10 MHz counter from 33.3879417 to 33.3882307
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-18T20:25:56.012.264.000 to 2022-01-18T20:25:56.012.553.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 = 9, 32bit 10MHz counter = 10.950341700 corrected by 40bit 10MHz counter of 10.375758700 obtained at 1Hz counter of 9. Result: 9.574585011
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-18T20:25:33.574.441.725
   Max 1st sample MIU time among all SL packets: 2022-01-18T20:25:56.012.412.725
   Min 1st sample XO time among all SL packets: 9.574444736
   Max 1st sample XO time among all SL packets: 32.012414170
   TM values from -197 to 167 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-18T20:25:33.574.441.725 (XO: 9.574444736 - 9.574750737, t=37.2 degC)  Rank: 00052
   TM values: Max =   154  Min =  -168  Ave =    -4.54  Std =    20.82
   Min TM value:-168 at an offset of 130.025 usec -> 2022-01-18T20:25:33.574.571.750 (XO: 9.574574761)
   Max TM value:154 at an offset of 127.538 usec -> 2022-01-18T20:25:33.574.569.262 (XO: 9.574572274)
   Max dTM/dt [1/us]:1.49e+03 at an offset of 130.163 usec -> 2022-01-18T20:25:33.574.571.887 (XO: 9.574574899)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 127.688 usec -> 2022-01-18T20:25:33.574.569.412 (XO: 9.574572424)

 - Block number: 2 starting at 2022-01-18T20:25:48.792.895.725 (XO: 24.792899279 - 24.793205281, t=37.2 degC)  Rank: 00052
   TM values: Max =   148  Min =  -187  Ave =    -4.53  Std =    23.78
   Min TM value:-187 at an offset of 169.288 usec -> 2022-01-18T20:25:48.793.065.013 (XO: 24.793068568)
   Max TM value:148 at an offset of 156.126 usec -> 2022-01-18T20:25:48.793.051.850 (XO: 24.793055405)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 158.688 usec -> 2022-01-18T20:25:48.793.054.413 (XO: 24.793057968)
   Min dTM/dt [1/us]:-1.54e+03 at an offset of 169.113 usec -> 2022-01-18T20:25:48.793.064.838 (XO: 24.793068393)

 - Block number: 3 starting at 2022-01-18T20:25:56.012.123.725 (XO: 32.012125169 - 32.012431170, t=37.2 degC)  Rank: 00051
   TM values: Max =   167  Min =  -197  Ave =    -4.49  Std =    27.49
   Min TM value:-197 at an offset of 145.888 usec -> 2022-01-18T20:25:56.012.269.613 (XO: 32.012271057)
   Max TM value:167 at an offset of 117.200 usec -> 2022-01-18T20:25:56.012.240.925 (XO: 32.012242369)
   Max dTM/dt [1/us]:1.63e+03 at an offset of 115.313 usec -> 2022-01-18T20:25:56.012.239.037 (XO: 32.012240482)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 145.688 usec -> 2022-01-18T20:25:56.012.269.413 (XO: 32.012270857)
