-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Mar  4 04:43:36 2022 UTC
-- File 20220122_155244_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 7.565537 to 33.165998
-each separately from 7s to 33s and from 165709us to 615958us.
   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, ...
      10.049843 in 1 packets: 18
      15.549751 in 1 packets: 36
MIU packet time from 2022-01-22T15:52:54.565.537.000 to 2022-01-22T15:53:20.165.998.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, ...
      10.049843 in 1 packets: 18
      15.549751 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 8.9532343 to 34.9531419
   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, ...
      9.9999644 in 1 packets: 18
      15.9999432 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 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 20220122_155244_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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5187722 to 9.5190612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0498070  -- OK for SL --
   MIU time from 2022-01-22T15:52:54.565.537.000 to 2022-01-22T15:52:54.565.826.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.049843

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.5688682 to 19.5691572
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.5496950  -- OK for SL --
   MIU time from 2022-01-22T15:53:04.615.669.000 to 2022-01-22T15:53:04.615.958.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.549751

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 35.1188522 to 35.1191412
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-01-22T15:53:20.165.709.000 to 2022-01-22T15:53:20.165.998.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 = 7, 32bit 10MHz counter = 9.518772200 corrected by 40bit 10MHz counter of 8.953234300 obtained at 1Hz counter of 7. Result: 7.565539936
--
   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.999996500
   Min 1st sample MIU time among all SL packets: 2022-01-22T15:52:54.565.396.725
   Max 1st sample MIU time among all SL packets: 2022-01-22T15:53:20.165.857.725
   Min 1st sample XO time among all SL packets: 7.565399660
   Max 1st sample XO time among all SL packets: 33.165859606
   TM values from -264 to 223 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-01-22T15:52:54.565.396.725 (XO: 7.565399660 - 7.565705662, t=37.2 degC)  Rank: 00086
   TM values: Max =   223  Min =  -259  Ave =    -4.65  Std =    23.40
   Min TM value:-259 at an offset of 120.200 usec -> 2022-01-22T15:52:54.565.516.925 (XO: 7.565519861)
   Max TM value:223 at an offset of 120.463 usec -> 2022-01-22T15:52:54.565.517.187 (XO: 7.565520123)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 120.313 usec -> 2022-01-22T15:52:54.565.517.037 (XO: 7.565519973)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 117.938 usec -> 2022-01-22T15:52:54.565.514.662 (XO: 7.565517598)

 - Block number: 2 starting at 2022-01-22T15:53:04.615.528.725 (XO: 17.615531379 - 17.615837380, t=37.2 degC)  Rank: 00072
   TM values: Max =   191  Min =  -224  Ave =    -4.50  Std =    25.57
   Min TM value:-224 at an offset of 105.938 usec -> 2022-01-22T15:53:04.615.634.662 (XO: 17.615637317)
   Max TM value:191 at an offset of 78.675 usec -> 2022-01-22T15:53:04.615.607.400 (XO: 17.615610055)
   Max dTM/dt [1/us]:2.27e+03 at an offset of 108.200 usec -> 2022-01-22T15:53:04.615.636.925 (XO: 17.615639580)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 105.813 usec -> 2022-01-22T15:53:04.615.634.537 (XO: 17.615637192)

 - Block number: 3 starting at 2022-01-22T15:53:20.165.568.725 (XO: 33.165570604 - 33.165876606, t=37.2 degC)  Rank: 00081
   TM values: Max =   219  Min =  -264  Ave =    -4.57  Std =    17.83
   Min TM value:-264 at an offset of 111.500 usec -> 2022-01-22T15:53:20.165.680.225 (XO: 33.165682105)
   Max TM value:219 at an offset of 109.075 usec -> 2022-01-22T15:53:20.165.677.800 (XO: 33.165679680)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 111.600 usec -> 2022-01-22T15:53:20.165.680.325 (XO: 33.165682205)
   Min dTM/dt [1/us]:-2.33e+03 at an offset of 111.425 usec -> 2022-01-22T15:53:20.165.680.150 (XO: 33.165682030)
