-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Mar 22 11:28:54 2023 UTC
-- File 20220109_070839_1227.dat, 36  packets found.
APID:
      1227 (SL) in 36 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 36 packets (all packets)
Total number of packets: 
      18 in 36 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 9.498126 to 17.858652
-each separately from 9s to 17s and from 498126us to 858652us.
   Differences in neigboring packets: 
      0.000017 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.359948 in 1 packets: 18
MIU packet time from 2022-01-09T07:08:51.498.126.000 to 2022-01-09T07:08:59.858.652.000
   Differences in neigboring packets: 
      0.000017 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      8.359948 in 1 packets: 18
MIU orbit number: 
      60000 in 36 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 36 packets (all packets)
MIU orbit information / number of events: 
      0 in 36 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 36 packets (all packets)
Instrument anomalies: 
      0 (OK) in 36 packets (all packets)
FPGA configuration version: 
      211 in 36 packets (all packets)
10 MHz counter at the last 1Hz pulse from 10.9101365 to 18.9101078
   Differences in neigboring packets: 
      0.0000000 in 34 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      7.9999713 in 1 packets: 18
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 36 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 36 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 36 packets (all packets)
Number of external events: 
      0 in 36 packets (all packets)
Number of generated alerts: 
      0 in 36 packets (all packets)
Survey memory error: 
      0 in 36 packets (all packets)
Event memory error: 
      0 in 36 packets (all packets)
Configuration error: 
      0 in 36 packets (all packets)
SDRAM CRC error: 
      0 in 36 packets (all packets)
Radio gain: 
      0 in 36 packets (all packets)
Radio bandwidth: 
      0 in 36 packets (all packets)
Digital gain: 
      0 in 36 packets (all packets)
Analog gain: 
      0 in 36 packets (all packets)
 
SURVEY DATA READER
-- File 20220109_070839_1227.dat, 2 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:
      54 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.4082634 to 11.4085524
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.3599190  -- OK for SL --
   MIU time from 2022-01-09T07:08:51.498.126.000 to 2022-01-09T07:08:51.498.415.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.359948

 - 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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.7684714 to 19.7687604
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-09T07:08:59.858.363.000 to 2022-01-09T07:08:59.858.652.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 36 points based on 29 XO calibration points at 1Hz counter from 0 to 28
   --- First point: 1Hz counter = 9, 32bit 10MHz counter = 11.408263400 corrected by 40bit 10MHz counter of 10.910136500 obtained at 1Hz counter of 9. Result: 9.498128693
--
   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: 2022-01-09T07:08:51.497.985.725
   Max 1st sample MIU time among all SL packets: 2022-01-09T07:08:59.858.511.725
   Min 1st sample XO time among all SL packets: 9.497988418
   Max 1st sample XO time among all SL packets: 17.858515416
   TM values from -154 to 149 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-09T07:08:51.497.985.725 (XO: 9.497988418 - 9.498294419, t=37.2 degC)  Rank: 00054
   TM values: Max =   149  Min =  -154  Ave =    -4.49  Std =    14.78
   Min TM value:-154 at an offset of 124.888 usec -> 2022-01-09T07:08:51.498.110.612 (XO: 9.498113306)
   Max TM value:149 at an offset of 126.988 usec -> 2022-01-09T07:08:51.498.112.712 (XO: 9.498115406)
   Max dTM/dt [1/us]:1.45e+03 at an offset of 126.888 usec -> 2022-01-09T07:08:51.498.112.612 (XO: 9.498115306)
   Min dTM/dt [1/us]:-1.19e+03 at an offset of 124.800 usec -> 2022-01-09T07:08:51.498.110.525 (XO: 9.498113218)

 - Block number: 2 starting at 2022-01-09T07:08:59.858.222.725 (XO: 17.858226415 - 17.858532416, t=37.2 degC)  Rank: 00053
   TM values: Max =   137  Min =  -138  Ave =    -4.54  Std =    18.07
   Min TM value:-138 at an offset of 121.325 usec -> 2022-01-09T07:08:59.858.344.050 (XO: 17.858347740)
   Max TM value:137 at an offset of 94.913 usec -> 2022-01-09T07:08:59.858.317.637 (XO: 17.858321327)
   Max dTM/dt [1/us]:1.22e+03 at an offset of 94.788 usec -> 2022-01-09T07:08:59.858.317.512 (XO: 17.858321202)
   Min dTM/dt [1/us]:-1.09e+03 at an offset of 94.975 usec -> 2022-01-09T07:08:59.858.317.700 (XO: 17.858321390)
