-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar 23 12:34:57 2023 UTC
-- File 20210707_054616_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.010264 to 47.951687
-each separately from 8s to 47s and from 10264us to 981427us.
   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, ...
      17.100301 in 1 packets: 18
      12.869995 in 1 packets: 36
      9.969971 in 1 packets: 54
MIU packet time from 2021-07-07T05:46:27.010.264.000 to 2021-07-07T05:47:06.951.687.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, ...
      17.100301 in 1 packets: 18
      12.869995 in 1 packets: 36
      9.969971 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.8646078 to 48.8644666
   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, ...
      16.9999385 in 1 packets: 18
      11.9999565 in 1 packets: 36
      9.9999638 in 1 packets: 54
Temperature FPGA: 
      03 -> 51.1 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 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 55 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20210707_054616_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:
      71 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.8748730 to 9.8751620
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.1002390  -- OK for SL --
   MIU time from 2021-07-07T05:46:27.010.264.000 to 2021-07-07T05:46:27.010.553.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.100301

 - 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 26.9754010 to 26.9756900
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.8699510  -- OK for SL --
   MIU time from 2021-07-07T05:46:44.110.854.000 to 2021-07-07T05:46:44.111.143.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.869995

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.8456410 to 39.8459300
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.9699350  -- OK for SL --
   MIU time from 2021-07-07T05:46:56.981.138.000 to 2021-07-07T05:46:56.981.427.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.969971

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.8158650 to 49.8161540
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-07T05:47:06.951.398.000 to 2021-07-07T05:47:06.951.687.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 = 9.874873000 corrected by 40bit 10MHz counter of 9.864607800 obtained at 1Hz counter of 8. Result: 8.010265237
--
   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.999996400 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2021-07-07T05:46:27.010.123.725
   Max 1st sample MIU time among all SL packets: 2021-07-07T05:47:06.951.546.725
   Min 1st sample XO time among all SL packets: 8.010124961
   Max 1st sample XO time among all SL packets: 47.951550551
   TM values from -341 to 277 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-07T05:46:27.010.123.725 (XO: 8.010124961 - 8.010430963, t=37.2 degC)  Rank: 00071
   TM values: Max =   265  Min =  -285  Ave =    -4.42  Std =    46.56
   Min TM value:-285 at an offset of 111.163 usec -> 2021-07-07T05:46:27.010.234.887 (XO: 8.010236124)
   Max TM value:265 at an offset of 111.413 usec -> 2021-07-07T05:46:27.010.235.137 (XO: 8.010236374)
   Max dTM/dt [1/us]:2.76e+03 at an offset of 111.288 usec -> 2021-07-07T05:46:27.010.235.012 (XO: 8.010236249)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 108.563 usec -> 2021-07-07T05:46:27.010.232.287 (XO: 8.010233524)

 - Block number: 2 starting at 2021-07-07T05:46:44.110.713.725 (XO: 25.110714824 - 25.111020825, t=37.2 degC)  Rank: 00077
   TM values: Max =   277  Min =  -341  Ave =    -4.49  Std =    38.31
   Min TM value:-341 at an offset of 120.538 usec -> 2021-07-07T05:46:44.110.834.262 (XO: 25.110835362)
   Max TM value:277 at an offset of 123.150 usec -> 2021-07-07T05:46:44.110.836.875 (XO: 25.110837974)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 123.013 usec -> 2021-07-07T05:46:44.110.836.737 (XO: 25.110837837)
   Min dTM/dt [1/us]:-2.53e+03 at an offset of 120.300 usec -> 2021-07-07T05:46:44.110.834.025 (XO: 25.110835124)

 - Block number: 3 starting at 2021-07-07T05:46:56.980.997.725 (XO: 37.981001457 - 37.981307458, t=37.2 degC)  Rank: 00074
   TM values: Max =   251  Min =  -279  Ave =    -4.46  Std =    28.76
   Min TM value:-279 at an offset of 118.775 usec -> 2021-07-07T05:46:56.981.116.500 (XO: 37.981120232)
   Max TM value:251 at an offset of 118.500 usec -> 2021-07-07T05:46:56.981.116.225 (XO: 37.981119957)
   Max dTM/dt [1/us]:2.02e+03 at an offset of 121.213 usec -> 2021-07-07T05:46:56.981.118.937 (XO: 37.981122670)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 118.650 usec -> 2021-07-07T05:46:56.981.116.375 (XO: 37.981120107)

 - Block number: 4 starting at 2021-07-07T05:47:06.951.257.725 (XO: 47.951261550 - 47.951567551, t=37.2 degC)  Rank: 00081
   TM values: Max =   271  Min =  -302  Ave =    -4.41  Std =    34.20
   Min TM value:-302 at an offset of 119.763 usec -> 2021-07-07T05:47:06.951.377.487 (XO: 47.951381312)
   Max TM value:271 at an offset of 120.038 usec -> 2021-07-07T05:47:06.951.377.762 (XO: 47.951381587)
   Max dTM/dt [1/us]:2.50e+03 at an offset of 119.900 usec -> 2021-07-07T05:47:06.951.377.625 (XO: 47.951381450)
   Min dTM/dt [1/us]:-2.76e+03 at an offset of 117.325 usec -> 2021-07-07T05:47:06.951.375.050 (XO: 47.951378875)
