-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Dec 25 01:18:25 2021 UTC
-- File 20210825_165224_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 5.683218 to 48.203058
-each separately from 5s to 48s and from 202769us to 933458us.
   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.249662 in 1 packets: 18
      21.299399 in 1 packets: 36
      6.969623 in 1 packets: 54
MIU packet time from 2021-08-25T16:52:32.683.218.000 to 2021-08-25T16:53:15.203.058.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.249662 in 1 packets: 18
      21.299399 in 1 packets: 36
      6.969623 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 6.8341512 to 49.8340083
   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, ...
      13.9999535 in 1 packets: 18
      21.9999269 in 1 packets: 36
      6.9999767 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 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: 
      0 in 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 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 20210825_165224_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 7.5173699 to 7.5176589
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2496150  -- OK for SL --
   MIU time from 2021-08-25T16:52:32.683.218.000 to 2021-08-25T16:52:32.683.507.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.249662

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7672739 to 21.7675629
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2993270  -- OK for SL --
   MIU time from 2021-08-25T16:52:46.933.169.000 to 2021-08-25T16:52:46.933.458.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.299399

 - 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 43.0668899 to 43.0671789
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.9695990  -- OK for SL --
   MIU time from 2021-08-25T16:53:08.232.857.000 to 2021-08-25T16:53:08.233.146.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.969623

 - 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 50.0367779 to 50.0370669
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-25T16:53:15.202.769.000 to 2021-08-25T16:53:15.203.058.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 = 5, 32bit 10MHz counter = 7.517369900 corrected by 40bit 10MHz counter of 6.834151200 obtained at 1Hz counter of 5. Result: 5.683220955
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-08-25T16:52:32.683.077.725
   Max 1st sample MIU time among all SL packets: 2021-08-25T16:53:15.202.917.725
   Min 1st sample XO time among all SL packets: 5.683080679
   Max 1st sample XO time among all SL packets: 48.202918995
   TM values from -284 to 260 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-25T16:52:32.683.077.725 (XO: 5.683080679 - 5.683386680, t=37.2 degC)  Rank: 00086
   TM values: Max =   239  Min =  -246  Ave =    -4.54  Std =    19.83
   Min TM value:-246 at an offset of 125.113 usec -> 2021-08-25T16:52:32.683.202.837 (XO: 5.683205792)
   Max TM value:239 at an offset of 127.825 usec -> 2021-08-25T16:52:32.683.205.550 (XO: 5.683208505)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 127.688 usec -> 2021-08-25T16:52:32.683.205.412 (XO: 5.683208367)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 124.988 usec -> 2021-08-25T16:52:32.683.202.712 (XO: 5.683205667)

 - Block number: 2 starting at 2021-08-25T16:52:46.933.028.725 (XO: 19.933032004 - 19.933338005, t=37.2 degC)  Rank: 00081
   TM values: Max =   218  Min =  -282  Ave =    -4.50  Std =    22.83
   Min TM value:-282 at an offset of 89.638 usec -> 2021-08-25T16:52:46.933.118.362 (XO: 19.933121642)
   Max TM value:218 at an offset of 89.388 usec -> 2021-08-25T16:52:46.933.118.112 (XO: 19.933121392)
   Max dTM/dt [1/us]:2.41e+03 at an offset of 92.025 usec -> 2021-08-25T16:52:46.933.120.750 (XO: 19.933124029)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 89.500 usec -> 2021-08-25T16:52:46.933.118.225 (XO: 19.933121504)

 - Block number: 3 starting at 2021-08-25T16:53:08.232.716.725 (XO: 41.232718793 - 41.233024794, t=37.2 degC)  Rank: 00080
   TM values: Max =   260  Min =  -284  Ave =    -4.41  Std =    28.56
   Min TM value:-284 at an offset of 92.275 usec -> 2021-08-25T16:53:08.232.809.000 (XO: 41.232811068)
   Max TM value:260 at an offset of 92.050 usec -> 2021-08-25T16:53:08.232.808.775 (XO: 41.232810843)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 94.688 usec -> 2021-08-25T16:53:08.232.811.412 (XO: 41.232813481)
   Min dTM/dt [1/us]:-2.93e+03 at an offset of 92.150 usec -> 2021-08-25T16:53:08.232.808.875 (XO: 41.232810943)

 - Block number: 4 starting at 2021-08-25T16:53:15.202.628.725 (XO: 48.202629994 - 48.202935995, t=37.2 degC)  Rank: 00080
   TM values: Max =   227  Min =  -262  Ave =    -4.50  Std =    21.37
   Min TM value:-262 at an offset of 125.900 usec -> 2021-08-25T16:53:15.202.754.625 (XO: 48.202755894)
   Max TM value:227 at an offset of 128.450 usec -> 2021-08-25T16:53:15.202.757.175 (XO: 48.202758444)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 128.263 usec -> 2021-08-25T16:53:15.202.756.987 (XO: 48.202758257)
   Min dTM/dt [1/us]:-2.10e+03 at an offset of 125.738 usec -> 2021-08-25T16:53:15.202.754.462 (XO: 48.202755732)
