-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 15:08:53 2023 UTC
-- File 20220704_204146_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 12.245418 to 55.161078
-each separately from 12s to 55s and from 160789us to 535025us.
   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, ...
      6.289029 in 1 packets: 18
      12.648430 in 1 packets: 36
      23.977045 in 1 packets: 54
MIU packet time from 2022-07-04T20:42:01.245.418.000 to 2022-07-04T20:42:44.161.078.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, ...
      6.289029 in 1 packets: 18
      12.648430 in 1 packets: 36
      23.977045 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 13.6152977 to 56.6151424
   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, ...
      5.9999783 in 1 packets: 18
      12.9999530 in 1 packets: 36
      23.9999134 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 72 packets (all packets)
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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20220704_204146_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.8607169 to 13.8610059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.2890070  -- OK for SL --
   MIU time from 2022-07-04T20:42:01.245.418.000 to 2022-07-04T20:42:01.245.707.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.289029

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 20.1500129 to 20.1503019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6483830  -- OK for SL --
   MIU time from 2022-07-04T20:42:07.534.736.000 to 2022-07-04T20:42:07.535.025.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.648430

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.7986849 to 32.7989739
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 23.9769590  -- OK for SL --
   MIU time from 2022-07-04T20:42:20.183.455.000 to 2022-07-04T20:42:20.183.744.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 23.977045

 - 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 56.7759329 to 56.7762219
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-07-04T20:42:44.160.789.000 to 2022-07-04T20:42:44.161.078.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 = 12, 32bit 10MHz counter = 13.860716900 corrected by 40bit 10MHz counter of 13.615297700 obtained at 1Hz counter of 12. Result: 12.245420084
--
   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-04T20:42:01.245.277.725
   Max 1st sample MIU time among all SL packets: 2022-07-04T20:42:44.160.937.725
   Min 1st sample XO time among all SL packets: 12.245279808
   Max 1st sample XO time among all SL packets: 55.160939820
   TM values from -348 to 265 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-07-04T20:42:01.245.277.725 (XO: 12.245279808 - 12.245585809, t=38.8 degC)  Rank: 00079
   TM values: Max =   264  Min =  -338  Ave =    -4.53  Std =    35.57
   Min TM value:-338 at an offset of 122.913 usec -> 2022-07-04T20:42:01.245.400.637 (XO: 12.245402721)
   Max TM value:264 at an offset of 122.663 usec -> 2022-07-04T20:42:01.245.400.387 (XO: 12.245402471)
   Max dTM/dt [1/us]:2.84e+03 at an offset of 125.225 usec -> 2022-07-04T20:42:01.245.402.950 (XO: 12.245405033)
   Min dTM/dt [1/us]:-3.04e+03 at an offset of 122.700 usec -> 2022-07-04T20:42:01.245.400.425 (XO: 12.245402508)

 - Block number: 2 starting at 2022-07-04T20:42:07.534.595.725 (XO: 18.534598550 - 18.534904551, t=38.8 degC)  Rank: 00075
   TM values: Max =   265  Min =  -348  Ave =    -4.45  Std =    39.23
   Min TM value:-348 at an offset of 111.775 usec -> 2022-07-04T20:42:07.534.707.500 (XO: 18.534710325)
   Max TM value:265 at an offset of 109.350 usec -> 2022-07-04T20:42:07.534.705.075 (XO: 18.534707900)
   Max dTM/dt [1/us]:3.26e+03 at an offset of 111.913 usec -> 2022-07-04T20:42:07.534.707.637 (XO: 18.534710462)
   Min dTM/dt [1/us]:-2.46e+03 at an offset of 109.413 usec -> 2022-07-04T20:42:07.534.705.137 (XO: 18.534707962)

 - Block number: 3 starting at 2022-07-04T20:42:20.183.314.725 (XO: 31.183316285 - 31.183622286, t=38.8 degC)  Rank: 00078
   TM values: Max =   233  Min =  -321  Ave =    -4.50  Std =    35.61
   Min TM value:-321 at an offset of 125.588 usec -> 2022-07-04T20:42:20.183.440.312 (XO: 31.183441873)
   Max TM value:233 at an offset of 125.838 usec -> 2022-07-04T20:42:20.183.440.562 (XO: 31.183442123)
   Max dTM/dt [1/us]:2.65e+03 at an offset of 125.675 usec -> 2022-07-04T20:42:20.183.440.400 (XO: 31.183441960)
   Min dTM/dt [1/us]:-3.07e+03 at an offset of 123.188 usec -> 2022-07-04T20:42:20.183.437.912 (XO: 31.183439473)

 - Block number: 4 starting at 2022-07-04T20:42:44.160.648.725 (XO: 55.160650819 - 55.160956821, t=38.8 degC)  Rank: 00081
   TM values: Max =   255  Min =  -316  Ave =    -4.46  Std =    34.27
   Min TM value:-316 at an offset of 125.575 usec -> 2022-07-04T20:42:44.160.774.300 (XO: 55.160776395)
   Max TM value:255 at an offset of 123.138 usec -> 2022-07-04T20:42:44.160.771.862 (XO: 55.160773957)
   Max dTM/dt [1/us]:2.88e+03 at an offset of 125.663 usec -> 2022-07-04T20:42:44.160.774.387 (XO: 55.160776482)
   Min dTM/dt [1/us]:-2.83e+03 at an offset of 123.213 usec -> 2022-07-04T20:42:44.160.771.937 (XO: 55.160774032)
