-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Mar  5 22:14:26 2022 UTC
-- File 20220202_112242_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 10.150108 to 44.621192
-each separately from 10s to 44s and from 150108us to 621192us.
   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, ...
      17.200045 in 1 packets: 18
      17.270172 in 1 packets: 36
MIU packet time from 2022-02-02T11:22:55.150.108.000 to 2022-02-02T11:23:29.621.192.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, ...
      17.200045 in 1 packets: 18
      17.270172 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 11.7863081 to 45.7861859
   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, ...
      16.9999389 in 2 packets: 18, 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C0 -> 35.6 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 20220202_112242_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.9364176 to 11.9367066
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1999830  -- OK for SL --
   MIU time from 2022-02-02T11:22:55.150.108.000 to 2022-02-02T11:22:55.150.397.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.200045

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.1366896 to 29.1369786
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.2701110  -- OK for SL --
   MIU time from 2022-02-02T11:23:12.350.442.000 to 2022-02-02T11:23:12.350.731.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.270172

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.4070896 to 46.4073786
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T11:23:29.620.903.000 to 2022-02-02T11:23:29.621.192.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 = 10, 32bit 10MHz counter = 11.936417600 corrected by 40bit 10MHz counter of 11.786308100 obtained at 1Hz counter of 10. Result: 10.150110040
--
   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.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-02T11:22:55.149.967.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T11:23:29.621.051.725
   Min 1st sample XO time among all SL packets: 10.149969765
   Max 1st sample XO time among all SL packets: 44.621054661
   TM values from -278 to 242 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T11:22:55.149.967.725 (XO: 10.149969765 - 10.150275766, t=35.6 degC)  Rank: 00081
   TM values: Max =   242  Min =  -268  Ave =    -4.56  Std =    25.26
   Min TM value:-268 at an offset of 117.675 usec -> 2022-02-02T11:22:55.150.085.400 (XO: 10.150087440)
   Max TM value:242 at an offset of 143.901 usec -> 2022-02-02T11:22:55.150.111.625 (XO: 10.150113665)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 146.451 usec -> 2022-02-02T11:22:55.150.114.175 (XO: 10.150116215)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 115.363 usec -> 2022-02-02T11:22:55.150.083.087 (XO: 10.150085128)

 - Block number: 2 starting at 2022-02-02T11:23:12.350.301.725 (XO: 27.350303586 - 27.350609587, t=35.6 degC)  Rank: 00077
   TM values: Max =   201  Min =  -278  Ave =    -4.55  Std =    26.02
   Min TM value:-278 at an offset of 91.500 usec -> 2022-02-02T11:23:12.350.393.225 (XO: 27.350395086)
   Max TM value:201 at an offset of 89.088 usec -> 2022-02-02T11:23:12.350.390.812 (XO: 27.350392674)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 91.600 usec -> 2022-02-02T11:23:12.350.393.325 (XO: 27.350395186)
   Min dTM/dt [1/us]:-2.31e+03 at an offset of 89.150 usec -> 2022-02-02T11:23:12.350.390.875 (XO: 27.350392736)

 - Block number: 3 starting at 2022-02-02T11:23:29.620.762.725 (XO: 44.620765660 - 44.621071661, t=35.6 degC)  Rank: 00086
   TM values: Max =   216  Min =  -271  Ave =    -4.63  Std =    18.67
   Min TM value:-271 at an offset of 118.900 usec -> 2022-02-02T11:23:29.620.881.625 (XO: 44.620884560)
   Max TM value:216 at an offset of 116.463 usec -> 2022-02-02T11:23:29.620.879.187 (XO: 44.620882123)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 114.538 usec -> 2022-02-02T11:23:29.620.877.262 (XO: 44.620880198)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 118.825 usec -> 2022-02-02T11:23:29.620.881.550 (XO: 44.620884485)
