-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 03:07:10 2023 UTC
-- File 20220622_135445_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.108006 to 43.487770
-each separately from 11s to 43s and from 108006us to 488189us.
   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.379605 in 1 packets: 18
      25.999292 in 1 packets: 36
MIU packet time from 2022-06-22T13:54:59.108.006.000 to 2022-06-22T13:55:31.487.770.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.379605 in 1 packets: 18
      25.999292 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 13.1168320 to 45.1167175
   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, ...
      5.9999785 in 1 packets: 18
      25.9999070 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 19
      2 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 20220622_135445_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.2248394 to 13.2251284
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.3795830  -- OK for SL --
   MIU time from 2022-06-22T13:54:59.108.006.000 to 2022-06-22T13:54:59.108.295.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.379605

 - 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:
      99 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.6047114 to 19.6050004
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.9991990  -- OK for SL --
   MIU time from 2022-06-22T13:55:05.487.900.000 to 2022-06-22T13:55:05.488.189.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.999292

 - 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 45.6041994 to 45.6044884
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-22T13:55:31.487.481.000 to 2022-06-22T13:55:31.487.770.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.224839400 corrected by 40bit 10MHz counter of 13.116832000 obtained at 1Hz counter of 11. Result: 11.108007800
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-06-22T13:54:59.107.865.725
   Max 1st sample MIU time among all SL packets: 2022-06-22T13:55:31.487.629.725
   Min 1st sample XO time among all SL packets: 11.107867524
   Max 1st sample XO time among all SL packets: 43.487632380
   TM values from -300 to 229 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-22T13:54:59.107.865.725 (XO: 11.107867524 - 11.108173525, t=37.2 degC)  Rank: 00079
   TM values: Max =   207  Min =  -288  Ave =    -4.44  Std =    21.05
   Min TM value:-288 at an offset of 98.350 usec -> 2022-06-22T13:54:59.107.964.075 (XO: 11.107965874)
   Max TM value:207 at an offset of 95.875 usec -> 2022-06-22T13:54:59.107.961.600 (XO: 11.107963399)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 98.463 usec -> 2022-06-22T13:54:59.107.964.187 (XO: 11.107965987)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 95.975 usec -> 2022-06-22T13:54:59.107.961.700 (XO: 11.107963499)

 - Block number: 2 starting at 2022-06-22T13:55:05.487.759.725 (XO: 17.487762381 - 17.488068382, t=37.2 degC)  Rank: 00099
   TM values: Max =   229  Min =  -300  Ave =    -4.53  Std =    25.64
   Min TM value:-300 at an offset of 125.200 usec -> 2022-06-22T13:55:05.487.884.925 (XO: 17.487887581)
   Max TM value:229 at an offset of 125.463 usec -> 2022-06-22T13:55:05.487.885.187 (XO: 17.487887844)
   Max dTM/dt [1/us]:2.16e+03 at an offset of 125.350 usec -> 2022-06-22T13:55:05.487.885.075 (XO: 17.487887731)
   Min dTM/dt [1/us]:-2.67e+03 at an offset of 122.888 usec -> 2022-06-22T13:55:05.487.882.612 (XO: 17.487885269)

 - Block number: 3 starting at 2022-06-22T13:55:31.487.340.725 (XO: 43.487343379 - 43.487649381, t=37.2 degC)  Rank: 00080
   TM values: Max =   195  Min =  -267  Ave =    -4.53  Std =    24.60
   Min TM value:-267 at an offset of 124.513 usec -> 2022-06-22T13:55:31.487.465.237 (XO: 43.487467892)
   Max TM value:195 at an offset of 164.963 usec -> 2022-06-22T13:55:31.487.505.688 (XO: 43.487508343)
   Max dTM/dt [1/us]:2.43e+03 at an offset of 167.576 usec -> 2022-06-22T13:55:31.487.508.300 (XO: 43.487510955)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 165.063 usec -> 2022-06-22T13:55:31.487.505.788 (XO: 43.487508443)
