-- OK --
-----------------> BLESK ver.2021-02-27 run on Tue Mar  7 03:42:54 2023 UTC
-- File 20220522_042134_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 10.254805 to 54.349395
-each separately from 10s to 54s and from 112826us to 871570us.
   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.857732 in 1 packets: 18
      11.758166 in 1 packets: 36
      17.477536 in 1 packets: 54
MIU packet time from 2022-05-22T04:21:47.254.805.000 to 2022-05-22T04:22:31.349.395.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.857732 in 1 packets: 18
      11.758166 in 1 packets: 36
      17.477536 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 11.8174228 to 55.8172656
   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.9999464 in 1 packets: 18
      10.9999607 in 1 packets: 36
      17.9999357 in 1 packets: 54
Temperature FPGA: 
      02 -> 52.4 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      03 -> 51.1 degC in 18 packets: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Number of generated alerts: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220522_042134_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.0722285 to 12.0725175
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.8576790  -- OK for SL --
   MIU time from 2022-05-22T04:21:47.254.805.000 to 2022-05-22T04:21:47.255.094.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.857732

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.9301965 to 26.9304855
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.7581270  -- OK for SL --
   MIU time from 2022-05-22T04:22:02.112.826.000 to 2022-05-22T04:22:02.113.115.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.758166

 - 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 38.6886125 to 38.6889015
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.4774710  -- OK for SL --
   MIU time from 2022-05-22T04:22:13.871.281.000 to 2022-05-22T04:22:13.871.570.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.477536

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.1663725 to 56.1666615
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-22T04:22:31.349.106.000 to 2022-05-22T04:22:31.349.395.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 = 10, 32bit 10MHz counter = 12.072228500 corrected by 40bit 10MHz counter of 11.817422800 obtained at 1Hz counter of 10. Result: 10.254806617
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-05-22T04:21:47.254.664.725
   Max 1st sample MIU time among all SL packets: 2022-05-22T04:22:31.349.254.725
   Min 1st sample XO time among all SL packets: 10.254666342
   Max 1st sample XO time among all SL packets: 54.349256847
   TM values from -279 to 230 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-22T04:21:47.254.664.725 (XO: 10.254666342 - 10.254972343, t=40.4 degC)  Rank: 00078
   TM values: Max =   176  Min =  -248  Ave =    -4.43  Std =    23.43
   Min TM value:-248 at an offset of 120.838 usec -> 2022-05-22T04:21:47.254.785.562 (XO: 10.254787180)
   Max TM value:176 at an offset of 121.075 usec -> 2022-05-22T04:21:47.254.785.800 (XO: 10.254787417)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 120.963 usec -> 2022-05-22T04:21:47.254.785.687 (XO: 10.254787305)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 118.488 usec -> 2022-05-22T04:21:47.254.783.212 (XO: 10.254784830)

 - Block number: 2 starting at 2022-05-22T04:22:02.112.685.725 (XO: 25.112687431 - 25.112993432, t=40.4 degC)  Rank: 00083
   TM values: Max =   230  Min =  -278  Ave =    -4.61  Std =    32.29
   Min TM value:-278 at an offset of 108.450 usec -> 2022-05-22T04:22:02.112.794.175 (XO: 25.112795881)
   Max TM value:230 at an offset of 106.050 usec -> 2022-05-22T04:22:02.112.791.775 (XO: 25.112793481)
   Max dTM/dt [1/us]:2.32e+03 at an offset of 108.538 usec -> 2022-05-22T04:22:02.112.794.262 (XO: 25.112795969)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 106.150 usec -> 2022-05-22T04:22:02.112.791.875 (XO: 25.112793581)

 - Block number: 3 starting at 2022-05-22T04:22:13.871.140.725 (XO: 36.871145461 - 36.871451462, t=40.4 degC)  Rank: 00076
   TM values: Max =   227  Min =  -279  Ave =    -4.52  Std =    27.00
   Min TM value:-279 at an offset of 111.338 usec -> 2022-05-22T04:22:13.871.252.062 (XO: 36.871256799)
   Max TM value:227 at an offset of 152.713 usec -> 2022-05-22T04:22:13.871.293.438 (XO: 36.871298174)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 152.588 usec -> 2022-05-22T04:22:13.871.293.313 (XO: 36.871298049)
   Min dTM/dt [1/us]:-2.38e+03 at an offset of 109.013 usec -> 2022-05-22T04:22:13.871.249.737 (XO: 36.871254474)

 - Block number: 4 starting at 2022-05-22T04:22:31.348.965.725 (XO: 54.348967846 - 54.349273847, t=40.4 degC)  Rank: 00078
   TM values: Max =   212  Min =  -246  Ave =    -4.52  Std =    18.16
   Min TM value:-246 at an offset of 122.075 usec -> 2022-05-22T04:22:31.349.087.800 (XO: 54.349089922)
   Max TM value:212 at an offset of 122.325 usec -> 2022-05-22T04:22:31.349.088.050 (XO: 54.349090172)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 122.200 usec -> 2022-05-22T04:22:31.349.087.925 (XO: 54.349090047)
   Min dTM/dt [1/us]:-2.13e+03 at an offset of 121.988 usec -> 2022-05-22T04:22:31.349.087.712 (XO: 54.349089834)
