-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar 24 09:23:06 2023 UTC
-- File 20220124_011536_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 2.866798 to 24.407309
-each separately from 2s to 24s and from 407020us to 867087us.
   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, ...
      21.539933 in 1 packets: 18
MIU packet time from 2022-01-24T01:15:41.866.798.000 to 2022-01-24T01:16:03.407.309.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, ...
      21.539933 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 4.0559014 to 26.0558229
   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, ...
      21.9999215 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 20220124_011536_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:
      53 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.9226998 to 4.9229888
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5398550  -- OK for SL --
   MIU time from 2022-01-24T01:15:41.866.798.000 to 2022-01-24T01:15:41.867.087.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.539933

 - 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:
      59 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.4628438 to 26.4631328
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-24T01:16:03.407.020.000 to 2022-01-24T01:16:03.407.309.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 = 2, 32bit 10MHz counter = 4.922699800 corrected by 40bit 10MHz counter of 4.055901400 obtained at 1Hz counter of 2. Result: 2.866801434
--
   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.999996500 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-24T01:15:41.866.657.725
   Max 1st sample MIU time among all SL packets: 2022-01-24T01:16:03.407.168.725
   Min 1st sample XO time among all SL packets: 2.866661158
   Max 1st sample XO time among all SL packets: 24.407171050
   TM values from -177 to 148 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-24T01:15:41.866.657.725 (XO: 2.866661158 - 2.866967159, t=37.2 degC)  Rank: 00053
   TM values: Max =   148  Min =  -164  Ave =    -4.63  Std =    15.19
   Min TM value:-164 at an offset of 35.325 usec -> 2022-01-24T01:15:41.866.693.050 (XO: 2.866696483)
   Max TM value:148 at an offset of 37.700 usec -> 2022-01-24T01:15:41.866.695.425 (XO: 2.866698858)
   Max dTM/dt [1/us]:1.43e+03 at an offset of 37.563 usec -> 2022-01-24T01:15:41.866.695.287 (XO: 2.866698721)
   Min dTM/dt [1/us]:-1.40e+03 at an offset of 35.125 usec -> 2022-01-24T01:15:41.866.692.850 (XO: 2.866696283)

 - Block number: 2 starting at 2022-01-24T01:16:03.406.879.725 (XO: 24.406882049 - 24.407188050, t=37.2 degC)  Rank: 00059
   TM values: Max =   134  Min =  -177  Ave =    -4.59  Std =    17.28
   Min TM value:-177 at an offset of 118.963 usec -> 2022-01-24T01:16:03.406.998.687 (XO: 24.407001012)
   Max TM value:134 at an offset of 121.363 usec -> 2022-01-24T01:16:03.407.001.087 (XO: 24.407003412)
   Max dTM/dt [1/us]:1.31e+03 at an offset of 121.250 usec -> 2022-01-24T01:16:03.407.000.975 (XO: 24.407003300)
   Min dTM/dt [1/us]:-1.36e+03 at an offset of 118.738 usec -> 2022-01-24T01:16:03.406.998.462 (XO: 24.407000787)
