-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Nov 24 23:57:25 2021 UTC
-- File 20210724_061614_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 10.651374 to 43.212573
-each separately from 10s to 43s and from 191705us to 651663us.
   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, ...
      12.540042 in 1 packets: 18
      20.020290 in 1 packets: 36
MIU packet time from 2021-07-24T06:16:27.651.374.000 to 2021-07-24T06:17:00.212.573.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, ...
      12.540042 in 1 packets: 18
      20.020290 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 11.7163893 to 44.7162786
   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, ...
      12.9999564 in 1 packets: 18
      19.9999329 in 1 packets: 36
Temperature FPGA: 
      03 -> 51.1 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 20210724_061614_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.3677637 to 12.3680527
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.5399990  -- OK for SL --
   MIU time from 2021-07-24T06:16:27.651.374.000 to 2021-07-24T06:16:27.651.663.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.540042

 - 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 24.9080517 to 24.9083407
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.0202230  -- OK for SL --
   MIU time from 2021-07-24T06:16:40.191.705.000 to 2021-07-24T06:16:40.191.994.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.020290

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.9285637 to 44.9288527
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-24T06:17:00.212.284.000 to 2021-07-24T06:17:00.212.573.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 = 10, 32bit 10MHz counter = 12.367763700 corrected by 40bit 10MHz counter of 11.716389300 obtained at 1Hz counter of 10. Result: 10.651376615
--
   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-07-24T06:16:27.651.233.725
   Max 1st sample MIU time among all SL packets: 2021-07-24T06:17:00.212.432.725
   Min 1st sample XO time among all SL packets: 10.651236339
   Max 1st sample XO time among all SL packets: 43.212434547
   TM values from -315 to 290 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-24T06:16:27.651.233.725 (XO: 10.651236339 - 10.651542340, t=37.2 degC)  Rank: 00090
   TM values: Max =   290  Min =  -315  Ave =    -4.37  Std =    36.21
   Min TM value:-315 at an offset of 109.738 usec -> 2021-07-24T06:16:27.651.343.462 (XO: 10.651346077)
   Max TM value:290 at an offset of 112.213 usec -> 2021-07-24T06:16:27.651.345.937 (XO: 10.651348552)
   Max dTM/dt [1/us]:2.66e+03 at an offset of 112.075 usec -> 2021-07-24T06:16:27.651.345.800 (XO: 10.651348415)
   Min dTM/dt [1/us]:-3.10e+03 at an offset of 109.613 usec -> 2021-07-24T06:16:27.651.343.337 (XO: 10.651345952)

 - Block number: 2 starting at 2021-07-24T06:16:40.191.564.725 (XO: 23.191566357 - 23.191872358, t=37.2 degC)  Rank: 00077
   TM values: Max =   237  Min =  -257  Ave =    -4.49  Std =    23.10
   Min TM value:-257 at an offset of 119.738 usec -> 2021-07-24T06:16:40.191.684.462 (XO: 23.191686095)
   Max TM value:237 at an offset of 122.350 usec -> 2021-07-24T06:16:40.191.687.075 (XO: 23.191688708)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 122.288 usec -> 2021-07-24T06:16:40.191.687.012 (XO: 23.191688645)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 119.538 usec -> 2021-07-24T06:16:40.191.684.262 (XO: 23.191685895)

 - Block number: 3 starting at 2021-07-24T06:17:00.212.143.725 (XO: 43.212145546 - 43.212451547, t=37.2 degC)  Rank: 00080
   TM values: Max =   235  Min =  -306  Ave =    -4.29  Std =    26.64
   Min TM value:-306 at an offset of 95.175 usec -> 2021-07-24T06:17:00.212.238.900 (XO: 43.212240722)
   Max TM value:235 at an offset of 97.713 usec -> 2021-07-24T06:17:00.212.241.437 (XO: 43.212243259)
   Max dTM/dt [1/us]:2.22e+03 at an offset of 97.538 usec -> 2021-07-24T06:17:00.212.241.262 (XO: 43.212243084)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 94.988 usec -> 2021-07-24T06:17:00.212.238.712 (XO: 43.212240534)
