-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Mar 20 20:09:35 2023 UTC
-- File 20221015_113853_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 13.171335 to 59.654271
-each separately from 13s to 59s and from 39246us to 679014us.
   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, ...
      14.867622 in 1 packets: 18
      2.639190 in 1 packets: 36
      28.974968 in 1 packets: 54
MIU packet time from 2022-10-15T11:39:09.171.335.000 to 2022-10-15T11:39:55.654.271.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, ...
      14.867622 in 1 packets: 18
      2.639190 in 1 packets: 36
      28.974968 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 14.5191350 to 60.5189682
   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, ...
      14.9999456 in 1 packets: 18
      1.9999928 in 1 packets: 36
      28.9998948 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 degC in 72 packets (all packets)
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: 
      1 in 1 packets: 1
      2 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: 
      1 in 1 packets: 1
      2 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 20221015_113853_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.6904714 to 14.6907604
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8675670  -- OK for SL --
   MIU time from 2022-10-15T11:39:09.171.335.000 to 2022-10-15T11:39:09.171.624.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.867622

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.5583274 to 29.5586164
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 2.6391830  -- OK for SL --
   MIU time from 2022-10-15T11:39:24.039.246.000 to 2022-10-15T11:39:24.039.535.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 2.639190

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.1977994 to 32.1980884
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 28.9748630  -- OK for SL --
   MIU time from 2022-10-15T11:39:26.678.725.000 to 2022-10-15T11:39:26.679.014.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 28.974968

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 61.1729514 to 61.1732404
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-10-15T11:39:55.653.982.000 to 2022-10-15T11:39:55.654.271.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 = 13, 32bit 10MHz counter = 14.690471400 corrected by 40bit 10MHz counter of 14.519135000 obtained at 1Hz counter of 13. Result: 13.171337017
--
   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-10-15T11:39:09.171.194.725
   Max 1st sample MIU time among all SL packets: 2022-10-15T11:39:55.654.130.725
   Min 1st sample XO time among all SL packets: 13.171196741
   Max 1st sample XO time among all SL packets: 59.654134345
   TM values from -209 to 171 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-10-15T11:39:09.171.194.725 (XO: 13.171196741 - 13.171502742, t=37.2 degC)  Rank: 00084
   TM values: Max =   163  Min =  -209  Ave =    -4.51  Std =    18.47
   Min TM value:-209 at an offset of 119.850 usec -> 2022-10-15T11:39:09.171.314.575 (XO: 13.171316592)
   Max TM value:163 at an offset of 107.025 usec -> 2022-10-15T11:39:09.171.301.750 (XO: 13.171303767)
   Max dTM/dt [1/us]:1.53e+03 at an offset of 122.325 usec -> 2022-10-15T11:39:09.171.317.050 (XO: 13.171319067)
   Min dTM/dt [1/us]:-1.92e+03 at an offset of 119.650 usec -> 2022-10-15T11:39:09.171.314.375 (XO: 13.171316392)

 - Block number: 2 starting at 2022-10-15T11:39:24.039.105.725 (XO: 28.039106666 - 28.039412667, t=37.2 degC)  Rank: 00079
   TM values: Max =   171  Min =  -192  Ave =    -4.50  Std =    17.89
   Min TM value:-192 at an offset of 47.513 usec -> 2022-10-15T11:39:24.039.153.237 (XO: 28.039154178)
   Max TM value:171 at an offset of 52.800 usec -> 2022-10-15T11:39:24.039.158.525 (XO: 28.039159466)
   Max dTM/dt [1/us]:1.19e+03 at an offset of 50.188 usec -> 2022-10-15T11:39:24.039.155.912 (XO: 28.039156853)
   Min dTM/dt [1/us]:-1.55e+03 at an offset of 34.775 usec -> 2022-10-15T11:39:24.039.140.500 (XO: 28.039141441)

 - Block number: 3 starting at 2022-10-15T11:39:26.678.584.725 (XO: 30.678588168 - 30.678894169, t=37.2 degC)  Rank: 00076
   TM values: Max =   150  Min =  -209  Ave =    -4.57  Std =    18.22
   Min TM value:-209 at an offset of 125.425 usec -> 2022-10-15T11:39:26.678.710.150 (XO: 30.678713593)
   Max TM value:150 at an offset of 128.238 usec -> 2022-10-15T11:39:26.678.712.962 (XO: 30.678716406)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 125.538 usec -> 2022-10-15T11:39:26.678.710.262 (XO: 30.678713706)
   Min dTM/dt [1/us]:-1.34e+03 at an offset of 122.775 usec -> 2022-10-15T11:39:26.678.707.500 (XO: 30.678710943)

 - Block number: 4 starting at 2022-10-15T11:39:55.653.841.725 (XO: 59.653845344 - 59.654151345, t=37.2 degC)  Rank: 00080
   TM values: Max =   167  Min =  -193  Ave =    -4.50  Std =    22.71
   Min TM value:-193 at an offset of 124.875 usec -> 2022-10-15T11:39:55.653.966.600 (XO: 59.653970220)
   Max TM value:167 at an offset of 154.726 usec -> 2022-10-15T11:39:55.653.996.450 (XO: 59.654000070)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 125.025 usec -> 2022-10-15T11:39:55.653.966.750 (XO: 59.653970370)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 154.826 usec -> 2022-10-15T11:39:55.653.996.550 (XO: 59.654000170)
