-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan 16 13:39:47 2022 UTC
-- File 20210920_113238_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.500686 to 31.430159
-each separately from 7s to 31s and from 240240us to 500975us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.739265 in 1 packets: 18
      9.189341 in 1 packets: 36
MIU packet time from 2021-09-20T11:32:48.500.686.000 to 2021-09-20T11:33:12.430.159.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.739265 in 1 packets: 18
      9.189341 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.9114583 to 32.9113791
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      14.9999506 in 1 packets: 18
      8.9999702 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      1 in 1 packets: 1
      2 in 53 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 53 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210920_113238_1227.dat, 3 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.4121455 to 9.4124345
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.7392150  -- OK for SL --
   MIU time from 2021-09-20T11:32:48.500.686.000 to 2021-09-20T11:32:48.500.975.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.739265

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.1516495 to 24.1519385
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.1893110  -- OK for SL --
   MIU time from 2021-09-20T11:33:03.240.240.000 to 2021-09-20T11:33:03.240.529.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.189341

 - 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 33.3412495 to 33.3415385
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-20T11:33:12.429.870.000 to 2021-09-20T11:33:12.430.159.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 9.412145500 corrected by 40bit 10MHz counter of 8.911458300 obtained at 1Hz counter of 7. Result: 7.500688852
--
   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.999996600 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-20T11:32:48.500.545.725
   Max 1st sample MIU time among all SL packets: 2021-09-20T11:33:12.430.018.725
   Min 1st sample XO time among all SL packets: 7.500548577
   Max 1st sample XO time among all SL packets: 31.430020544
   TM values from -260 to 223 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-20T11:32:48.500.545.725 (XO: 7.500548577 - 7.500854578, t=37.2 degC)  Rank: 00083
   TM values: Max =   204  Min =  -260  Ave =    -4.70  Std =    18.96
   Min TM value:-260 at an offset of 113.625 usec -> 2021-09-20T11:32:48.500.659.350 (XO: 7.500662202)
   Max TM value:204 at an offset of 116.225 usec -> 2021-09-20T11:32:48.500.661.950 (XO: 7.500664802)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 116.063 usec -> 2021-09-20T11:32:48.500.661.787 (XO: 7.500664640)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 113.425 usec -> 2021-09-20T11:32:48.500.659.150 (XO: 7.500662002)

 - Block number: 2 starting at 2021-09-20T11:33:03.240.099.725 (XO: 22.240101141 - 22.240407142, t=37.2 degC)  Rank: 00076
   TM values: Max =   217  Min =  -241  Ave =    -4.52  Std =    20.62
   Min TM value:-241 at an offset of 158.626 usec -> 2021-09-20T11:33:03.240.258.350 (XO: 22.240259767)
   Max TM value:217 at an offset of 116.550 usec -> 2021-09-20T11:33:03.240.216.275 (XO: 22.240217692)
   Max dTM/dt [1/us]:1.79e+03 at an offset of 116.400 usec -> 2021-09-20T11:33:03.240.216.125 (XO: 22.240217542)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 158.513 usec -> 2021-09-20T11:33:03.240.258.238 (XO: 22.240259654)

 - Block number: 3 starting at 2021-09-20T11:33:12.429.729.725 (XO: 31.429731543 - 31.430037544, t=37.2 degC)  Rank: 00077
   TM values: Max =   223  Min =  -230  Ave =    -4.56  Std =    22.22
   Min TM value:-230 at an offset of 113.438 usec -> 2021-09-20T11:33:12.429.843.162 (XO: 31.429844981)
   Max TM value:223 at an offset of 116.113 usec -> 2021-09-20T11:33:12.429.845.837 (XO: 31.429847656)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 115.988 usec -> 2021-09-20T11:33:12.429.845.712 (XO: 31.429847531)
   Min dTM/dt [1/us]:-1.78e+03 at an offset of 113.263 usec -> 2021-09-20T11:33:12.429.842.987 (XO: 31.429844806)
