-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jun  5 00:32:24 2023 UTC
-- File 20230604_095801_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 8.798518 to 55.098866
-each separately from 8s to 55s and from 98577us to 798807us.
   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, ...
      9.559620 in 1 packets: 18
      22.299775 in 1 packets: 36
      14.439797 in 1 packets: 54
MIU packet time from 2023-06-04T09:58:12.798.518.000 to 2023-06-04T09:58:59.098.866.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, ...
      9.559620 in 1 packets: 18
      22.299775 in 1 packets: 36
      14.439797 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.8150688 to 56.8148980
   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, ...
      9.9999637 in 1 packets: 18
      21.9999200 in 1 packets: 36
      14.9999455 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 72 packets (all packets)
Temperature XO: 
      C3 -> 40.4 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 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 37
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20230604_095801_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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.6135883 to 10.6138773
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.5595830  -- OK for SL --
   MIU time from 2023-06-04T09:58:12.798.518.000 to 2023-06-04T09:58:12.798.807.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.559620

 - 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 20.1734603 to 20.1737493
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2996950  -- OK for SL --
   MIU time from 2023-06-04T09:58:22.358.427.000 to 2023-06-04T09:58:22.358.716.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.299775

 - 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:
      89 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.4734443 to 42.4737333
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.4397430  -- OK for SL --
   MIU time from 2023-06-04T09:58:44.658.491.000 to 2023-06-04T09:58:44.658.780.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.439797

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.9134763 to 56.9137653
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-06-04T09:58:59.098.577.000 to 2023-06-04T09:58:59.098.866.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 = 8, 32bit 10MHz counter = 10.613588300 corrected by 40bit 10MHz counter of 9.815068800 obtained at 1Hz counter of 8. Result: 8.798522455
--
   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.999996300
   Min 1st sample MIU time among all SL packets: 2023-06-04T09:58:12.798.377.725
   Max 1st sample MIU time among all SL packets: 2023-06-04T09:58:59.098.725.725
   Min 1st sample XO time among all SL packets: 8.798382179
   Max 1st sample XO time among all SL packets: 55.098727390
   TM values from -299 to 229 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-06-04T09:58:12.798.377.725 (XO: 8.798382179 - 8.798688180, t=40.4 degC)  Rank: 00074
   TM values: Max =   228  Min =  -290  Ave =    -4.48  Std =    26.37
   Min TM value:-290 at an offset of 125.450 usec -> 2023-06-04T09:58:12.798.503.175 (XO: 8.798507629)
   Max TM value:228 at an offset of 125.188 usec -> 2023-06-04T09:58:12.798.502.912 (XO: 8.798507367)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 127.850 usec -> 2023-06-04T09:58:12.798.505.575 (XO: 8.798510029)
   Min dTM/dt [1/us]:-2.59e+03 at an offset of 125.313 usec -> 2023-06-04T09:58:12.798.503.037 (XO: 8.798507492)

 - Block number: 2 starting at 2023-06-04T09:58:22.358.286.725 (XO: 18.358288851 - 18.358594852, t=40.4 degC)  Rank: 00077
   TM values: Max =   188  Min =  -216  Ave =    -4.47  Std =    18.69
   Min TM value:-216 at an offset of 111.275 usec -> 2023-06-04T09:58:22.358.398.000 (XO: 18.358400126)
   Max TM value:188 at an offset of 116.325 usec -> 2023-06-04T09:58:22.358.403.050 (XO: 18.358405176)
   Max dTM/dt [1/us]:1.57e+03 at an offset of 113.988 usec -> 2023-06-04T09:58:22.358.400.712 (XO: 18.358402839)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 111.138 usec -> 2023-06-04T09:58:22.358.397.862 (XO: 18.358399989)

 - Block number: 3 starting at 2023-06-04T09:58:44.658.350.725 (XO: 40.658353961 - 40.658659962, t=40.4 degC)  Rank: 00089
   TM values: Max =   212  Min =  -299  Ave =    -4.47  Std =    22.10
   Min TM value:-299 at an offset of 123.125 usec -> 2023-06-04T09:58:44.658.473.850 (XO: 40.658477086)
   Max TM value:212 at an offset of 110.488 usec -> 2023-06-04T09:58:44.658.461.212 (XO: 40.658464449)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 125.563 usec -> 2023-06-04T09:58:44.658.476.287 (XO: 40.658479524)
   Min dTM/dt [1/us]:-2.48e+03 at an offset of 122.988 usec -> 2023-06-04T09:58:44.658.473.712 (XO: 40.658476949)

 - Block number: 4 starting at 2023-06-04T09:58:59.098.436.725 (XO: 55.098438389 - 55.098744390, t=40.4 degC)  Rank: 00079
   TM values: Max =   229  Min =  -254  Ave =    -4.54  Std =    18.83
   Min TM value:-254 at an offset of 118.538 usec -> 2023-06-04T09:58:59.098.555.262 (XO: 55.098556927)
   Max TM value:229 at an offset of 116.013 usec -> 2023-06-04T09:58:59.098.552.737 (XO: 55.098554402)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 118.650 usec -> 2023-06-04T09:58:59.098.555.375 (XO: 55.098557040)
   Min dTM/dt [1/us]:-2.39e+03 at an offset of 116.125 usec -> 2023-06-04T09:58:59.098.552.850 (XO: 55.098554515)
