-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun May 21 23:18:44 2023 UTC
-- File 20230521_162921_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 6.431157 to 53.242275
-each separately from 6s to 53s and from 189577us to 431446us.
   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, ...
      22.758131 in 1 packets: 18
      14.237715 in 1 packets: 36
      9.814116 in 1 packets: 54
MIU packet time from 2023-05-21T16:29:30.431.157.000 to 2023-05-21T16:30:17.242.275.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, ...
      22.758131 in 1 packets: 18
      14.237715 in 1 packets: 36
      9.814116 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 7.7561604 to 54.7559866
   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, ...
      22.9999149 in 1 packets: 18
      13.9999483 in 1 packets: 36
      9.9999630 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 20230521_162921_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:
      90 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.1873178 to 8.1876068
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.7580470  -- OK for SL --
   MIU time from 2023-05-21T16:29:30.431.157.000 to 2023-05-21T16:29:30.431.446.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.758131

 - 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:
      93 in 18 packets (all packets)  -- OK --
   10 MHz counter from 30.9456538 to 30.9459428
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2376630  -- OK for SL --
   MIU time from 2023-05-21T16:29:53.189.577.000 to 2023-05-21T16:29:53.189.866.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.237715

 - 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:
      49 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.1836058 to 45.1838948
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.8140790  -- OK for SL --
   MIU time from 2023-05-21T16:30:07.427.581.000 to 2023-05-21T16:30:07.427.870.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.814116

 - 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:
      63 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.9979738 to 54.9982628
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2023-05-21T16:30:17.241.986.000 to 2023-05-21T16:30:17.242.275.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 = 6, 32bit 10MHz counter = 8.187317800 corrected by 40bit 10MHz counter of 7.756160400 obtained at 1Hz counter of 6. Result: 6.431158952
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2023-05-21T16:29:30.431.016.725
   Max 1st sample MIU time among all SL packets: 2023-05-21T16:30:17.242.134.725
   Min 1st sample XO time among all SL packets: 6.431018677
   Max 1st sample XO time among all SL packets: 53.242136821
   TM values from -381 to 295 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2023-05-21T16:29:30.431.016.725 (XO: 6.431018677 - 6.431324678, t=37.2 degC)  Rank: 00090
   TM values: Max =   295  Min =  -381  Ave =    -4.21  Std =    48.94
   Min TM value:-381 at an offset of 11.950 usec -> 2023-05-21T16:29:30.431.028.675 (XO: 6.431030627)
   Max TM value:295 at an offset of 188.063 usec -> 2023-05-21T16:29:30.431.204.788 (XO: 6.431206740)
   Max dTM/dt [1/us]:2.59e+03 at an offset of 12.050 usec -> 2023-05-21T16:29:30.431.028.775 (XO: 6.431030727)
   Min dTM/dt [1/us]:-2.82e+03 at an offset of 181.426 usec -> 2023-05-21T16:29:30.431.198.150 (XO: 6.431200102)

 - Block number: 2 starting at 2023-05-21T16:29:53.189.436.725 (XO: 29.189438907 - 29.189744908, t=37.2 degC)  Rank: 00093
   TM values: Max =   267  Min =  -353  Ave =    -4.31  Std =    33.06
   Min TM value:-353 at an offset of 125.825 usec -> 2023-05-21T16:29:53.189.562.550 (XO: 29.189564732)
   Max TM value:267 at an offset of 126.988 usec -> 2023-05-21T16:29:53.189.563.712 (XO: 29.189565895)
   Max dTM/dt [1/us]:2.15e+03 at an offset of 36.563 usec -> 2023-05-21T16:29:53.189.473.287 (XO: 29.189475470)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 133.775 usec -> 2023-05-21T16:29:53.189.570.500 (XO: 29.189572682)

 - Block number: 3 starting at 2023-05-21T16:30:07.427.440.725 (XO: 43.427443507 - 43.427749508, t=37.2 degC)  Rank: 00049
   TM values: Max =   178  Min =  -153  Ave =    -4.34  Std =    15.99
   Min TM value:-153 at an offset of 130.525 usec -> 2023-05-21T16:30:07.427.571.250 (XO: 43.427574032)
   Max TM value:178 at an offset of 127.913 usec -> 2023-05-21T16:30:07.427.568.637 (XO: 43.427571420)
   Max dTM/dt [1/us]:1.39e+03 at an offset of 127.850 usec -> 2023-05-21T16:30:07.427.568.575 (XO: 43.427571357)
   Min dTM/dt [1/us]:-1.57e+03 at an offset of 128.050 usec -> 2023-05-21T16:30:07.427.568.775 (XO: 43.427571557)

 - Block number: 4 starting at 2023-05-21T16:30:17.241.845.725 (XO: 53.241847820 - 53.242153821, t=37.2 degC)  Rank: 00063
   TM values: Max =   183  Min =  -346  Ave =    -4.36  Std =    22.73
   Min TM value:-346 at an offset of 131.975 usec -> 2023-05-21T16:30:17.241.977.700 (XO: 53.241979795)
   Max TM value:183 at an offset of 133.013 usec -> 2023-05-21T16:30:17.241.978.737 (XO: 53.241980833)
   Max dTM/dt [1/us]:1.16e+03 at an offset of 46.150 usec -> 2023-05-21T16:30:17.241.891.875 (XO: 53.241893970)
   Min dTM/dt [1/us]:-1.80e+03 at an offset of 131.788 usec -> 2023-05-21T16:30:17.241.977.512 (XO: 53.241979608)
