-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Jan  3 04:56:33 2022 UTC
-- File 20210904_164401_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 14.479818 to 36.771525
-each separately from 14s to 36s and from 160158us to 771525us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.680051 in 1 packets: 18
      16.610789 in 1 packets: 36
MIU packet time from 2021-09-04T16:44:18.479.818.000 to 2021-09-04T16:44:40.771.525.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.680051 in 1 packets: 18
      16.610789 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 15.8520095 to 37.8519358
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      5.9999799 in 1 packets: 18
      15.9999464 in 1 packets: 36
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets (all packets)
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Number of generated alerts: 
      0 in 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 17 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210904_164401_1227.dat, 3 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 16.3318282 to 16.3321172
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.6800310  -- OK for SL --
   MIU time from 2021-09-04T16:44:18.479.818.000 to 2021-09-04T16:44:18.480.107.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.680051

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.0121482 to 22.0124372
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.6107350  -- OK for SL --
   MIU time from 2021-09-04T16:44:24.160.158.000 to 2021-09-04T16:44:24.160.447.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.610789

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.6231722 to 38.6234612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-04T16:44:40.771.236.000 to 2021-09-04T16:44:40.771.525.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 14, 32bit 10MHz counter = 16.331828200 corrected by 40bit 10MHz counter of 15.852009500 obtained at 1Hz counter of 14. Result: 14.479820331
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-09-04T16:44:18.479.677.725
   Max 1st sample MIU time among all SL packets: 2021-09-04T16:44:40.771.384.725
   Min 1st sample XO time among all SL packets: 14.479680056
   Max 1st sample XO time among all SL packets: 36.771387748
   TM values from -287 to 266 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-04T16:44:18.479.677.725 (XO: 14.479680056 - 14.479986057, t=37.2 degC)  Rank: 00079
   TM values: Max =   266  Min =  -281  Ave =    -4.61  Std =    29.46
   Min TM value:-281 at an offset of 142.575 usec -> 2021-09-04T16:44:18.479.820.300 (XO: 14.479822631)
   Max TM value:266 at an offset of 112.163 usec -> 2021-09-04T16:44:18.479.789.887 (XO: 14.479792219)
   Max dTM/dt [1/us]:2.36e+03 at an offset of 112.025 usec -> 2021-09-04T16:44:18.479.789.750 (XO: 14.479792081)
   Min dTM/dt [1/us]:-2.51e+03 at an offset of 156.288 usec -> 2021-09-04T16:44:18.479.834.013 (XO: 14.479836344)

 - Block number: 2 starting at 2021-09-04T16:44:24.160.017.725 (XO: 20.160019069 - 20.160325070, t=37.2 degC)  Rank: 00080
   TM values: Max =   244  Min =  -287  Ave =    -4.73  Std =    32.93
   Min TM value:-287 at an offset of 171.413 usec -> 2021-09-04T16:44:24.160.189.138 (XO: 20.160190482)
   Max TM value:244 at an offset of 141.300 usec -> 2021-09-04T16:44:24.160.159.025 (XO: 20.160160370)
   Max dTM/dt [1/us]:2.52e+03 at an offset of 116.975 usec -> 2021-09-04T16:44:24.160.134.700 (XO: 20.160136044)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 114.450 usec -> 2021-09-04T16:44:24.160.132.175 (XO: 20.160133519)

 - Block number: 3 starting at 2021-09-04T16:44:40.771.095.725 (XO: 36.771098747 - 36.771404748, t=37.2 degC)  Rank: 00088
   TM values: Max =   257  Min =  -260  Ave =    -4.46  Std =    22.07
   Min TM value:-260 at an offset of 122.963 usec -> 2021-09-04T16:44:40.771.218.687 (XO: 36.771221710)
   Max TM value:257 at an offset of 125.650 usec -> 2021-09-04T16:44:40.771.221.375 (XO: 36.771224397)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 125.538 usec -> 2021-09-04T16:44:40.771.221.262 (XO: 36.771224285)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 122.838 usec -> 2021-09-04T16:44:40.771.218.562 (XO: 36.771221585)
