-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 17:06:10 2023 UTC
-- File 20220705_190926_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.793299 to 56.134614
-each separately from 7s to 56s and from 134325us to 994267us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.740121 in 1 packets: 18
      8.459980 in 1 packets: 36
      24.140058 in 1 packets: 54
MIU packet time from 2022-07-05T19:09:36.793.299.000 to 2022-07-05T19:10:25.134.614.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.740121 in 1 packets: 18
      8.459980 in 1 packets: 36
      24.140058 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 9.2520273 to 58.2518483
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      15.9999416 in 1 packets: 18
      7.9999707 in 1 packets: 36
      24.9999087 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 36 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, ...
Temperature XO: 
      C2 -> 38.8 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 packets (all packets)
Number of external events: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 54 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20220705_190926_1227.dat, 4 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 10.0453268 to 10.0456158
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7400630  -- OK for SL --
   MIU time from 2022-07-05T19:09:36.793.299.000 to 2022-07-05T19:09:36.793.588.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.740121

 - 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 25.7856788 to 25.7859678
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.4599510  -- OK for SL --
   MIU time from 2022-07-05T19:09:52.533.709.000 to 2022-07-05T19:09:52.533.998.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.459980

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.2459188 to 34.2462078
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.1399670  -- OK for SL --
   MIU time from 2022-07-05T19:10:00.993.978.000 to 2022-07-05T19:10:00.994.267.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.140058

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 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 58.3861748 to 58.3864638
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-05T19:10:25.134.325.000 to 2022-07-05T19:10:25.134.614.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 10.045326800 corrected by 40bit 10MHz counter of 9.252027300 obtained at 1Hz counter of 7. Result: 7.793302435
--
   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-07-05T19:09:36.793.158.725
   Max 1st sample MIU time among all SL packets: 2022-07-05T19:10:25.134.473.725
   Min 1st sample XO time among all SL packets: 7.793162160
   Max 1st sample XO time among all SL packets: 56.134475709
   TM values from -326 to 254 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-05T19:09:36.793.158.725 (XO: 7.793162160 - 7.793468161, t=38.8 degC)  Rank: 00081
   TM values: Max =   254  Min =  -286  Ave =    -4.41  Std =    33.93
   Min TM value:-286 at an offset of 100.638 usec -> 2022-07-05T19:09:36.793.259.362 (XO: 7.793262798)
   Max TM value:254 at an offset of 105.425 usec -> 2022-07-05T19:09:36.793.264.150 (XO: 7.793267585)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 98.513 usec -> 2022-07-05T19:09:36.793.257.237 (XO: 7.793260673)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 88.213 usec -> 2022-07-05T19:09:36.793.246.937 (XO: 7.793250373)

 - Block number: 2 starting at 2022-07-05T19:09:52.533.568.725 (XO: 23.533571599 - 23.533877600, t=38.8 degC)  Rank: 00077
   TM values: Max =   229  Min =  -316  Ave =    -4.47  Std =    35.27
   Min TM value:-316 at an offset of 128.938 usec -> 2022-07-05T19:09:52.533.697.662 (XO: 23.533700537)
   Max TM value:229 at an offset of 127.700 usec -> 2022-07-05T19:09:52.533.696.425 (XO: 23.533699300)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 129.100 usec -> 2022-07-05T19:09:52.533.697.825 (XO: 23.533700700)
   Min dTM/dt [1/us]:-2.64e+03 at an offset of 126.625 usec -> 2022-07-05T19:09:52.533.695.350 (XO: 23.533698225)

 - Block number: 3 starting at 2022-07-05T19:10:00.993.837.725 (XO: 31.993842503 - 31.994148504, t=38.8 degC)  Rank: 00077
   TM values: Max =   239  Min =  -301  Ave =    -4.38  Std =    29.93
   Min TM value:-301 at an offset of 125.538 usec -> 2022-07-05T19:10:00.993.963.262 (XO: 31.993968041)
   Max TM value:239 at an offset of 125.325 usec -> 2022-07-05T19:10:00.993.963.050 (XO: 31.993967828)
   Max dTM/dt [1/us]:2.47e+03 at an offset of 127.888 usec -> 2022-07-05T19:10:00.993.965.612 (XO: 31.993970391)
   Min dTM/dt [1/us]:-3.08e+03 at an offset of 125.413 usec -> 2022-07-05T19:10:00.993.963.137 (XO: 31.993967916)

 - Block number: 4 starting at 2022-07-05T19:10:25.134.184.725 (XO: 56.134186708 - 56.134492709, t=38.8 degC)  Rank: 00081
   TM values: Max =   208  Min =  -326  Ave =    -4.40  Std =    33.84
   Min TM value:-326 at an offset of 126.563 usec -> 2022-07-05T19:10:25.134.311.287 (XO: 56.134313271)
   Max TM value:208 at an offset of 129.113 usec -> 2022-07-05T19:10:25.134.313.837 (XO: 56.134315821)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 126.663 usec -> 2022-07-05T19:10:25.134.311.387 (XO: 56.134313371)
   Min dTM/dt [1/us]:-1.99e+03 at an offset of 124.163 usec -> 2022-07-05T19:10:25.134.308.887 (XO: 56.134310871)
