-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 16 15:37:48 2021 UTC
-- File 20210815_015038_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.794172 to 47.115268
-each separately from 6s to 47s and from 114979us to 794461us.
   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, ...
      15.900052 in 1 packets: 18
      20.660084 in 1 packets: 36
      3.759804 in 1 packets: 54
MIU packet time from 2021-08-15T01:50:47.794.172.000 to 2021-08-15T01:51:28.115.268.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, ...
      15.900052 in 1 packets: 18
      20.660084 in 1 packets: 36
      3.759804 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.8777341 to 48.8775985
   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, ...
      15.9999470 in 1 packets: 18
      20.9999306 in 1 packets: 36
      3.9999868 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 20210815_015038_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.6719069 to 8.6721959
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.8999990  -- OK for SL --
   MIU time from 2021-08-15T01:50:47.794.172.000 to 2021-08-15T01:50:47.794.461.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.900052

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 24.5721949 to 24.5724839
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.6600150  -- OK for SL --
   MIU time from 2021-08-15T01:51:03.694.513.000 to 2021-08-15T01:51:03.694.802.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.660084

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.2324989 to 45.2327879
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 3.7597910  -- OK for SL --
   MIU time from 2021-08-15T01:51:24.354.886.000 to 2021-08-15T01:51:24.355.175.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 3.759804

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 48.9925789 to 48.9928679
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-15T01:51:28.114.979.000 to 2021-08-15T01:51:28.115.268.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.671906900 corrected by 40bit 10MHz counter of 7.877734100 obtained at 1Hz counter of 6. Result: 6.794175421
--
   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-15T01:50:47.794.031.725
   Max 1st sample MIU time among all SL packets: 2021-08-15T01:51:28.115.127.725
   Min 1st sample XO time among all SL packets: 6.794035145
   Max 1st sample XO time among all SL packets: 47.115129516
   TM values from -275 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-15T01:50:47.794.031.725 (XO: 6.794035145 - 6.794341146, t=37.2 degC)  Rank: 00087
   TM values: Max =   208  Min =  -275  Ave =    -4.51  Std =    27.44
   Min TM value:-275 at an offset of 192.213 usec -> 2021-08-15T01:50:47.794.223.938 (XO: 6.794227358)
   Max TM value:208 at an offset of 123.125 usec -> 2021-08-15T01:50:47.794.154.850 (XO: 6.794158271)
   Max dTM/dt [1/us]:1.68e+03 at an offset of 122.988 usec -> 2021-08-15T01:50:47.794.154.712 (XO: 6.794158133)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 192.101 usec -> 2021-08-15T01:50:47.794.223.825 (XO: 6.794227246)

 - Block number: 2 starting at 2021-08-15T01:51:03.694.372.725 (XO: 22.694375816 - 22.694681817, t=37.2 degC)  Rank: 00083
   TM values: Max =   231  Min =  -247  Ave =    -4.49  Std =    22.46
   Min TM value:-247 at an offset of 110.850 usec -> 2021-08-15T01:51:03.694.483.575 (XO: 22.694486667)
   Max TM value:231 at an offset of 110.600 usec -> 2021-08-15T01:51:03.694.483.325 (XO: 22.694486417)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 113.263 usec -> 2021-08-15T01:51:03.694.485.987 (XO: 22.694489079)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 110.713 usec -> 2021-08-15T01:51:03.694.483.437 (XO: 22.694486529)

 - Block number: 3 starting at 2021-08-15T01:51:24.354.745.725 (XO: 43.354748096 - 43.355054097, t=37.2 degC)  Rank: 00077
   TM values: Max =   193  Min =  -269  Ave =    -4.51  Std =    23.27
   Min TM value:-269 at an offset of 123.325 usec -> 2021-08-15T01:51:24.354.869.050 (XO: 43.354871421)
   Max TM value:193 at an offset of 123.025 usec -> 2021-08-15T01:51:24.354.868.750 (XO: 43.354871121)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 120.863 usec -> 2021-08-15T01:51:24.354.866.587 (XO: 43.354868959)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 123.138 usec -> 2021-08-15T01:51:24.354.868.862 (XO: 43.354871234)

 - Block number: 4 starting at 2021-08-15T01:51:28.114.838.725 (XO: 47.114840515 - 47.115146516, t=37.2 degC)  Rank: 00077
   TM values: Max =   214  Min =  -258  Ave =    -4.52  Std =    22.97
   Min TM value:-258 at an offset of 96.250 usec -> 2021-08-15T01:51:28.114.934.975 (XO: 47.114936766)
   Max TM value:214 at an offset of 95.963 usec -> 2021-08-15T01:51:28.114.934.687 (XO: 47.114936478)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 98.663 usec -> 2021-08-15T01:51:28.114.937.387 (XO: 47.114939178)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 96.075 usec -> 2021-08-15T01:51:28.114.934.800 (XO: 47.114936591)
