-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Dec 25 18:29:13 2021 UTC
-- File 20210826_165114_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 8.207975 to 46.570950
-each separately from 8s to 46s and from 207975us to 950636us.
   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, ...
      12.120663 in 1 packets: 18
      18.621131 in 1 packets: 36
      7.620025 in 1 packets: 54
MIU packet time from 2021-08-26T16:51:25.207.975.000 to 2021-08-26T16:52:03.570.950.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, ...
      12.120663 in 1 packets: 18
      18.621131 in 1 packets: 36
      7.620025 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 9.9194585 to 47.9193320
   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, ...
      11.9999601 in 1 packets: 18
      17.9999401 in 1 packets: 36
      7.9999733 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 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 20210826_165114_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.1274341 to 10.1277231
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.1206230  -- OK for SL --
   MIU time from 2021-08-26T16:51:25.207.975.000 to 2021-08-26T16:51:25.208.264.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.120663

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.2483461 to 22.2486351
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6210710  -- OK for SL --
   MIU time from 2021-08-26T16:51:37.328.927.000 to 2021-08-26T16:51:37.329.216.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.621131

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.8697061 to 40.8699951
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6199990  -- OK for SL --
   MIU time from 2021-08-26T16:51:55.950.347.000 to 2021-08-26T16:51:55.950.636.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.620025

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.4899941 to 48.4902831
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-26T16:52:03.570.661.000 to 2021-08-26T16:52:03.570.950.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 = 8, 32bit 10MHz counter = 10.127434100 corrected by 40bit 10MHz counter of 9.919458500 obtained at 1Hz counter of 8. Result: 8.207976286
--
   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-08-26T16:51:25.207.834.725
   Max 1st sample MIU time among all SL packets: 2021-08-26T16:52:03.570.809.725
   Min 1st sample XO time among all SL packets: 8.207836011
   Max 1st sample XO time among all SL packets: 46.570812709
   TM values from -279 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-26T16:51:25.207.834.725 (XO: 8.207836011 - 8.208142012, t=37.2 degC)  Rank: 00085
   TM values: Max =   231  Min =  -274  Ave =    -4.59  Std =    18.21
   Min TM value:-274 at an offset of 111.975 usec -> 2021-08-26T16:51:25.207.946.700 (XO: 8.207947986)
   Max TM value:231 at an offset of 111.738 usec -> 2021-08-26T16:51:25.207.946.462 (XO: 8.207947749)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 114.388 usec -> 2021-08-26T16:51:25.207.949.112 (XO: 8.207950399)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 111.863 usec -> 2021-08-26T16:51:25.207.946.587 (XO: 8.207947874)

 - Block number: 2 starting at 2021-08-26T16:51:37.328.786.725 (XO: 20.328788343 - 20.329094344, t=37.2 degC)  Rank: 00085
   TM values: Max =   202  Min =  -279  Ave =    -4.59  Std =    30.34
   Min TM value:-279 at an offset of 166.363 usec -> 2021-08-26T16:51:37.328.953.088 (XO: 20.328954706)
   Max TM value:202 at an offset of 111.488 usec -> 2021-08-26T16:51:37.328.898.212 (XO: 20.328899831)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 168.763 usec -> 2021-08-26T16:51:37.328.955.488 (XO: 20.328957106)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 179.963 usec -> 2021-08-26T16:51:37.328.966.688 (XO: 20.328968306)

 - Block number: 3 starting at 2021-08-26T16:51:55.950.206.725 (XO: 38.950210261 - 38.950516262, t=37.2 degC)  Rank: 00079
   TM values: Max =   227  Min =  -252  Ave =    -4.75  Std =    22.98
   Min TM value:-252 at an offset of 96.738 usec -> 2021-08-26T16:51:55.950.303.462 (XO: 38.950306999)
   Max TM value:227 at an offset of 99.300 usec -> 2021-08-26T16:51:55.950.306.025 (XO: 38.950309561)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 99.113 usec -> 2021-08-26T16:51:55.950.305.837 (XO: 38.950309374)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 96.550 usec -> 2021-08-26T16:51:55.950.303.275 (XO: 38.950306811)

 - Block number: 4 starting at 2021-08-26T16:52:03.570.520.725 (XO: 46.570523708 - 46.570829709, t=37.2 degC)  Rank: 00076
   TM values: Max =   218  Min =  -279  Ave =    -4.54  Std =    26.45
   Min TM value:-279 at an offset of 120.825 usec -> 2021-08-26T16:52:03.570.641.550 (XO: 46.570644533)
   Max TM value:218 at an offset of 123.350 usec -> 2021-08-26T16:52:03.570.644.075 (XO: 46.570647058)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 123.188 usec -> 2021-08-26T16:52:03.570.643.912 (XO: 46.570646896)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 120.650 usec -> 2021-08-26T16:52:03.570.641.375 (XO: 46.570644358)
