-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar 21 06:05:48 2023 UTC
-- File 20220628_191940_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 14.433740 to 55.448598
-each separately from 14s to 55s and from 27731us to 688482us.
   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, ...
      1.593702 in 1 packets: 18
      25.660173 in 1 packets: 36
      13.759827 in 1 packets: 54
MIU packet time from 2022-06-28T19:19:57.433.740.000 to 2022-06-28T19:20:38.448.598.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, ...
      1.593702 in 1 packets: 18
      25.660173 in 1 packets: 36
      13.759827 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 15.7628910 to 56.7627381
   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, ...
      1.9999926 in 1 packets: 18
      24.9999067 in 1 packets: 36
      13.9999478 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, ...
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 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 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20220628_191940_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.1966320 to 16.1969210
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 1.5936950  -- OK for SL --
   MIU time from 2022-06-28T19:19:57.433.740.000 to 2022-06-28T19:19:57.434.029.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 1.593702

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.7906160 to 17.7909050
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 25.6600790  -- OK for SL --
   MIU time from 2022-06-28T19:19:59.027.731.000 to 2022-06-28T19:19:59.028.020.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 25.660173

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 43.4509840 to 43.4512730
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.7597750  -- OK for SL --
   MIU time from 2022-06-28T19:20:24.688.193.000 to 2022-06-28T19:20:24.688.482.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.759827

 - 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:
      65 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.2110480 to 57.2113370
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-06-28T19:20:38.448.309.000 to 2022-06-28T19:20:38.448.598.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 = 14, 32bit 10MHz counter = 16.196632000 corrected by 40bit 10MHz counter of 15.762891000 obtained at 1Hz counter of 14. Result: 14.433742561
--
   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-28T19:19:57.433.599.725
   Max 1st sample MIU time among all SL packets: 2022-06-28T19:20:38.448.457.725
   Min 1st sample XO time among all SL packets: 14.433602286
   Max 1st sample XO time among all SL packets: 55.448460284
   TM values from -426 to 390 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-06-28T19:19:57.433.599.725 (XO: 14.433602286 - 14.433908287, t=37.2 degC)  Rank: 00090
   TM values: Max =   390  Min =  -426  Ave =    -4.50  Std =    33.30
   Min TM value:-426 at an offset of 143.813 usec -> 2022-06-28T19:19:57.433.743.538 (XO: 14.433746099)
   Max TM value:390 at an offset of 108.888 usec -> 2022-06-28T19:19:57.433.708.612 (XO: 14.433711174)
   Max dTM/dt [1/us]:4.02e+03 at an offset of 101.888 usec -> 2022-06-28T19:19:57.433.701.612 (XO: 14.433704174)
   Min dTM/dt [1/us]:-4.09e+03 at an offset of 108.425 usec -> 2022-06-28T19:19:57.433.708.150 (XO: 14.433710711)

 - Block number: 2 starting at 2022-06-28T19:19:59.027.590.725 (XO: 16.027592227 - 16.027898228, t=37.2 degC)  Rank: 00063
   TM values: Max =   154  Min =  -168  Ave =    -4.49  Std =    21.34
   Min TM value:-168 at an offset of 128.000 usec -> 2022-06-28T19:19:59.027.718.725 (XO: 16.027720228)
   Max TM value:154 at an offset of 115.250 usec -> 2022-06-28T19:19:59.027.705.975 (XO: 16.027707478)
   Max dTM/dt [1/us]:1.25e+03 at an offset of 130.075 usec -> 2022-06-28T19:19:59.027.720.800 (XO: 16.027722303)
   Min dTM/dt [1/us]:-1.24e+03 at an offset of 127.488 usec -> 2022-06-28T19:19:59.027.718.212 (XO: 16.027719715)

 - Block number: 3 starting at 2022-06-28T19:20:24.688.052.725 (XO: 41.688055971 - 41.688361972, t=37.2 degC)  Rank: 00063
   TM values: Max =   269  Min =  -196  Ave =    -4.51  Std =    26.75
   Min TM value:-196 at an offset of 123.000 usec -> 2022-06-28T19:20:24.688.175.725 (XO: 41.688178971)
   Max TM value:269 at an offset of 123.188 usec -> 2022-06-28T19:20:24.688.175.912 (XO: 41.688179159)
   Max dTM/dt [1/us]:2.54e+03 at an offset of 123.125 usec -> 2022-06-28T19:20:24.688.175.850 (XO: 41.688179096)
   Min dTM/dt [1/us]:-1.44e+03 at an offset of 156.788 usec -> 2022-06-28T19:20:24.688.209.513 (XO: 41.688212759)

 - Block number: 4 starting at 2022-06-28T19:20:38.448.168.725 (XO: 55.448171283 - 55.448477284, t=37.2 degC)  Rank: 00065
   TM values: Max =   171  Min =  -192  Ave =    -4.40  Std =    21.39
   Min TM value:-192 at an offset of 115.700 usec -> 2022-06-28T19:20:38.448.284.425 (XO: 55.448286984)
   Max TM value:171 at an offset of 116.263 usec -> 2022-06-28T19:20:38.448.284.987 (XO: 55.448287546)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 117.663 usec -> 2022-06-28T19:20:38.448.286.387 (XO: 55.448288946)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 120.050 usec -> 2022-06-28T19:20:38.448.288.775 (XO: 55.448291334)
