-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Jan 18 04:13:34 2022 UTC
-- File 20210921_124153_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 11.585936 to 36.004004
-each separately from 11s to 36s and from 3715us to 586225us.
   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, ...
      6.859078 in 1 packets: 18
      17.558123 in 1 packets: 36
MIU packet time from 2021-09-21T12:42:07.585.936.000 to 2021-09-21T12:42:32.004.004.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, ...
      6.859078 in 1 packets: 18
      17.558123 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 12.8796238 to 37.8795407
   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, ...
      6.9999767 in 1 packets: 18
      17.9999402 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 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 20210921_124153_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.4655604 to 13.4658494
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.8590550  -- OK for SL --
   MIU time from 2021-09-21T12:42:07.585.936.000 to 2021-09-21T12:42:07.586.225.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.859078

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.3249044 to 20.3251934
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.5580630  -- OK for SL --
   MIU time from 2021-09-21T12:42:14.445.303.000 to 2021-09-21T12:42:14.445.592.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.558123

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.8832564 to 37.8835454
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-21T12:42:32.003.715.000 to 2021-09-21T12:42:32.004.004.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 = 11, 32bit 10MHz counter = 13.465560400 corrected by 40bit 10MHz counter of 12.879623800 obtained at 1Hz counter of 11. Result: 11.585938534
--
   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.999996700 - 0.999996800
   Min 1st sample MIU time among all SL packets: 2021-09-21T12:42:07.585.795.725
   Max 1st sample MIU time among all SL packets: 2021-09-21T12:42:32.003.863.725
   Min 1st sample XO time among all SL packets: 11.585798258
   Max 1st sample XO time among all SL packets: 36.003864438
   TM values from -263 to 217 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-21T12:42:07.585.795.725 (XO: 11.585798258 - 11.586104259, t=37.2 degC)  Rank: 00080
   TM values: Max =   197  Min =  -263  Ave =    -4.55  Std =    17.55
   Min TM value:-263 at an offset of 122.000 usec -> 2021-09-21T12:42:07.585.917.725 (XO: 11.585920259)
   Max TM value:197 at an offset of 124.638 usec -> 2021-09-21T12:42:07.585.920.362 (XO: 11.585922896)
   Max dTM/dt [1/us]:1.59e+03 at an offset of 124.463 usec -> 2021-09-21T12:42:07.585.920.187 (XO: 11.585922721)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 121.850 usec -> 2021-09-21T12:42:07.585.917.575 (XO: 11.585920109)

 - Block number: 2 starting at 2021-09-21T12:42:14.445.162.725 (XO: 18.445165050 - 18.445471051, t=37.2 degC)  Rank: 00078
   TM values: Max =   207  Min =  -260  Ave =    -4.48  Std =    17.17
   Min TM value:-260 at an offset of 111.625 usec -> 2021-09-21T12:42:14.445.274.350 (XO: 18.445276675)
   Max TM value:207 at an offset of 111.325 usec -> 2021-09-21T12:42:14.445.274.050 (XO: 18.445276375)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 109.113 usec -> 2021-09-21T12:42:14.445.271.837 (XO: 18.445274162)
   Min dTM/dt [1/us]:-2.23e+03 at an offset of 111.425 usec -> 2021-09-21T12:42:14.445.274.150 (XO: 18.445276475)

 - Block number: 3 starting at 2021-09-21T12:42:32.003.574.725 (XO: 36.003575437 - 36.003881438, t=37.2 degC)  Rank: 00079
   TM values: Max =   217  Min =  -224  Ave =    -4.45  Std =    20.56
   Min TM value:-224 at an offset of 118.100 usec -> 2021-09-21T12:42:32.003.692.825 (XO: 36.003693537)
   Max TM value:217 at an offset of 120.850 usec -> 2021-09-21T12:42:32.003.695.575 (XO: 36.003696287)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 120.725 usec -> 2021-09-21T12:42:32.003.695.450 (XO: 36.003696162)
   Min dTM/dt [1/us]:-1.82e+03 at an offset of 60.838 usec -> 2021-09-21T12:42:32.003.635.562 (XO: 36.003636274)
