-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 14:22:26 2022 UTC
-- File 20220201_011139_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 12.458195 to 39.899366
-each separately from 12s to 39s and from 458195us to 899366us.
   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, ...
      6.059829 in 1 packets: 18
      21.380475 in 1 packets: 36
MIU packet time from 2022-02-01T01:11:54.458.195.000 to 2022-02-01T01:12:21.899.366.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, ...
      6.059829 in 1 packets: 18
      21.380475 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 13.6947795 to 40.6946819
   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.9999783 in 1 packets: 18
      20.9999241 in 1 packets: 36
Temperature FPGA: 
      06 -> 47.2 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 18 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36
Temperature XO: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20220201_011139_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 14.1529752 to 14.1532642
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.0598070  -- OK for SL --
   MIU time from 2022-02-01T01:11:54.458.195.000 to 2022-02-01T01:11:54.458.484.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.059829

 - 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 20.2130712 to 20.2133602
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.3803990  -- OK for SL --
   MIU time from 2022-02-01T01:12:00.518.313.000 to 2022-02-01T01:12:00.518.602.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.380475

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 41.5937592 to 41.5940482
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-01T01:12:21.899.077.000 to 2022-02-01T01:12:21.899.366.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 = 12, 32bit 10MHz counter = 14.152975200 corrected by 40bit 10MHz counter of 13.694779500 obtained at 1Hz counter of 12. Result: 12.458197350
--
   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.999996300 - 0.999996400
   Min 1st sample MIU time among all SL packets: 2022-02-01T01:11:54.458.054.725
   Max 1st sample MIU time among all SL packets: 2022-02-01T01:12:21.899.225.725
   Min 1st sample XO time among all SL packets: 12.458057074
   Max 1st sample XO time among all SL packets: 39.899229352
   TM values from -278 to 206 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-01T01:11:54.458.054.725 (XO: 12.458057074 - 12.458363075, t=35.6 degC)  Rank: 00078
   TM values: Max =   203  Min =  -228  Ave =    -4.38  Std =    21.39
   Min TM value:-228 at an offset of 114.825 usec -> 2022-02-01T01:11:54.458.169.550 (XO: 12.458171899)
   Max TM value:203 at an offset of 112.375 usec -> 2022-02-01T01:11:54.458.167.100 (XO: 12.458169449)
   Max dTM/dt [1/us]:1.87e+03 at an offset of 114.963 usec -> 2022-02-01T01:11:54.458.169.687 (XO: 12.458172037)
   Min dTM/dt [1/us]:-2.27e+03 at an offset of 112.500 usec -> 2022-02-01T01:11:54.458.167.225 (XO: 12.458169574)

 - Block number: 2 starting at 2022-02-01T01:12:00.518.172.725 (XO: 18.518174990 - 18.518480992, t=35.6 degC)  Rank: 00083
   TM values: Max =   206  Min =  -278  Ave =    -4.46  Std =    22.64
   Min TM value:-278 at an offset of 128.750 usec -> 2022-02-01T01:12:00.518.301.475 (XO: 18.518303741)
   Max TM value:206 at an offset of 126.313 usec -> 2022-02-01T01:12:00.518.299.037 (XO: 18.518301303)
   Max dTM/dt [1/us]:2.48e+03 at an offset of 128.850 usec -> 2022-02-01T01:12:00.518.301.575 (XO: 18.518303841)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 126.413 usec -> 2022-02-01T01:12:00.518.299.137 (XO: 18.518301403)

 - Block number: 3 starting at 2022-02-01T01:12:21.898.936.725 (XO: 39.898940351 - 39.899246352, t=35.6 degC)  Rank: 00078
   TM values: Max =   201  Min =  -256  Ave =    -4.36  Std =    18.89
   Min TM value:-256 at an offset of 104.263 usec -> 2022-02-01T01:12:21.899.040.987 (XO: 39.899044614)
   Max TM value:201 at an offset of 101.800 usec -> 2022-02-01T01:12:21.899.038.525 (XO: 39.899042151)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 104.388 usec -> 2022-02-01T01:12:21.899.041.112 (XO: 39.899044739)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 101.925 usec -> 2022-02-01T01:12:21.899.038.650 (XO: 39.899042276)
