-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan 31 15:42:29 2022 UTC
-- File 20211007_030020_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 12.539267 to 51.022294
-each separately from 12s to 51s and from 22005us to 827200us.
   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, ...
      13.287355 in 1 packets: 18
      9.417728 in 1 packets: 36
      15.776788 in 1 packets: 54
MIU packet time from 2021-10-07T03:00:35.539.267.000 to 2021-10-07T03:01:14.022.294.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, ...
      13.287355 in 1 packets: 18
      9.417728 in 1 packets: 36
      15.776788 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 13.9093613 to 52.9092308
   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, ...
      12.9999565 in 1 packets: 18
      9.9999665 in 1 packets: 36
      15.9999465 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20211007_030020_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.4486294 to 14.4489184
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.2873110  -- OK for SL --
   MIU time from 2021-10-07T03:00:35.539.267.000 to 2021-10-07T03:00:35.539.556.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.287355

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.7362294 to 27.7365184
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.4176950  -- OK for SL --
   MIU time from 2021-10-07T03:00:48.826.911.000 to 2021-10-07T03:00:48.827.200.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.417728

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 37.1542134 to 37.1545024
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7767350  -- OK for SL --
   MIU time from 2021-10-07T03:00:58.244.928.000 to 2021-10-07T03:00:58.245.217.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.776788

 - 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 52.9312374 to 52.9315264
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-10-07T03:01:14.022.005.000 to 2021-10-07T03:01:14.022.294.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 = 12, 32bit 10MHz counter = 14.448629400 corrected by 40bit 10MHz counter of 13.909361300 obtained at 1Hz counter of 12. Result: 12.539269934
--
   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-10-07T03:00:35.539.126.725
   Max 1st sample MIU time among all SL packets: 2021-10-07T03:01:14.022.153.725
   Min 1st sample XO time among all SL packets: 12.539129658
   Max 1st sample XO time among all SL packets: 51.022155400
   TM values from -256 to 244 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-10-07T03:00:35.539.126.725 (XO: 12.539129658 - 12.539435659, t=37.2 degC)  Rank: 00083
   TM values: Max =   230  Min =  -245  Ave =    -4.43  Std =    20.51
   Min TM value:-245 at an offset of 126.625 usec -> 2021-10-07T03:00:35.539.253.350 (XO: 12.539256283)
   Max TM value:230 at an offset of 129.313 usec -> 2021-10-07T03:00:35.539.256.037 (XO: 12.539258971)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 129.150 usec -> 2021-10-07T03:00:35.539.255.875 (XO: 12.539258808)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 126.475 usec -> 2021-10-07T03:00:35.539.253.200 (XO: 12.539256133)

 - Block number: 2 starting at 2021-10-07T03:00:48.826.770.725 (XO: 25.826774053 - 25.827080054, t=37.2 degC)  Rank: 00079
   TM values: Max =   212  Min =  -256  Ave =    -4.48  Std =    21.01
   Min TM value:-256 at an offset of 101.163 usec -> 2021-10-07T03:00:48.826.871.887 (XO: 25.826875216)
   Max TM value:212 at an offset of 103.838 usec -> 2021-10-07T03:00:48.826.874.562 (XO: 25.826877891)
   Max dTM/dt [1/us]:2.01e+03 at an offset of 103.688 usec -> 2021-10-07T03:00:48.826.874.412 (XO: 25.826877741)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 100.988 usec -> 2021-10-07T03:00:48.826.871.712 (XO: 25.826875041)

 - Block number: 3 starting at 2021-10-07T03:00:58.244.787.725 (XO: 35.244789657 - 35.245095658, t=37.2 degC)  Rank: 00082
   TM values: Max =   236  Min =  -256  Ave =    -4.44  Std =    20.20
   Min TM value:-256 at an offset of 116.125 usec -> 2021-10-07T03:00:58.244.903.850 (XO: 35.244905783)
   Max TM value:236 at an offset of 118.675 usec -> 2021-10-07T03:00:58.244.906.400 (XO: 35.244908333)
   Max dTM/dt [1/us]:2.21e+03 at an offset of 118.513 usec -> 2021-10-07T03:00:58.244.906.237 (XO: 35.244908170)
   Min dTM/dt [1/us]:-2.36e+03 at an offset of 115.950 usec -> 2021-10-07T03:00:58.244.903.675 (XO: 35.244905608)

 - Block number: 4 starting at 2021-10-07T03:01:14.021.864.725 (XO: 51.021866399 - 51.022172400, t=37.2 degC)  Rank: 00076
   TM values: Max =   244  Min =  -249  Ave =    -4.47  Std =    21.90
   Min TM value:-249 at an offset of 90.863 usec -> 2021-10-07T03:01:14.021.955.587 (XO: 51.021957262)
   Max TM value:244 at an offset of 90.613 usec -> 2021-10-07T03:01:14.021.955.337 (XO: 51.021957012)
   Max dTM/dt [1/us]:2.40e+03 at an offset of 93.225 usec -> 2021-10-07T03:01:14.021.957.950 (XO: 51.021959625)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 90.688 usec -> 2021-10-07T03:01:14.021.955.412 (XO: 51.021957087)
