-- OK --
-----------------> BLESK ver.2021-02-27 run on Sat Jan  1 13:44:13 2022 UTC
-- File 20210902_203431_1227.dat, 72  packets found.
APID:
      1227 (SL) in 72 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 72 packets (all packets)
Total number of packets: 
      18 in 72 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 7.721442 to 51.576213
-each separately from 7s to 51s and from 504498us to 721731us.
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.811658 in 1 packets: 18
      10.970820 in 1 packets: 36
      15.071137 in 1 packets: 54
MIU packet time from 2021-09-02T20:34:41.721.442.000 to 2021-09-02T20:35:25.576.213.000
   Differences in neigboring packets: 
      0.000017 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.811658 in 1 packets: 18
      10.970820 in 1 packets: 36
      15.071137 in 1 packets: 54
MIU orbit number: 
      60000 in 72 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 72 packets (all packets)
MIU orbit information / number of events: 
      0 in 72 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 72 packets (all packets)
Instrument anomalies: 
      0 (OK) in 72 packets (all packets)
FPGA configuration version: 
      211 in 72 packets (all packets)
10 MHz counter at the last 1Hz pulse from 8.8770211 to 52.8768751
   Differences in neigboring packets: 
      0.0000000 in 68 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      17.9999403 in 1 packets: 18
      10.9999635 in 1 packets: 36
      14.9999502 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 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: 
      C1 -> 37.2 degC in 72 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 72 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 72 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 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Survey memory error: 
      0 in 72 packets (all packets)
Event memory error: 
      0 in 72 packets (all packets)
Configuration error: 
      0 in 72 packets (all packets)
SDRAM CRC error: 
      0 in 72 packets (all packets)
Radio gain: 
      0 in 72 packets (all packets)
Radio bandwidth: 
      0 in 72 packets (all packets)
Digital gain: 
      0 in 72 packets (all packets)
Analog gain: 
      0 in 72 packets (all packets)
 
SURVEY DATA READER
-- File 20210902_203431_1227.dat, 4 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 9.5984637 to 9.5987527
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8115990  -- OK for SL --
   MIU time from 2021-09-02T20:34:41.721.442.000 to 2021-09-02T20:34:41.721.731.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.811658

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.4103517 to 27.4106407
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.9707830  -- OK for SL --
   MIU time from 2021-09-02T20:34:59.533.389.000 to 2021-09-02T20:34:59.533.678.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.970820

 - 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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 38.3814237 to 38.3817127
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0710870  -- OK for SL --
   MIU time from 2021-09-02T20:35:10.504.498.000 to 2021-09-02T20:35:10.504.787.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.071137

 - Block number: 4 from the sequence of 18 packets.
   Block numbers in the data:
      4 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 53.4527997 to 53.4530887
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-02T20:35:25.575.924.000 to 2021-09-02T20:35:25.576.213.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 72 points based on 59 XO calibration points at 1Hz counter from 0 to 58
   --- First point: 1Hz counter = 7, 32bit 10MHz counter = 9.598463700 corrected by 40bit 10MHz counter of 8.877021100 obtained at 1Hz counter of 7. Result: 7.721444981
--
   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.999996700 - 0.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-02T20:34:41.721.301.725
   Max 1st sample MIU time among all SL packets: 2021-09-02T20:35:25.576.072.725
   Min 1st sample XO time among all SL packets: 7.721304705
   Max 1st sample XO time among all SL packets: 51.576075226
   TM values from -280 to 272 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-02T20:34:41.721.301.725 (XO: 7.721304705 - 7.721610706, t=37.2 degC)  Rank: 00083
   TM values: Max =   263  Min =  -280  Ave =    -4.44  Std =    23.82
   Min TM value:-280 at an offset of 121.488 usec -> 2021-09-02T20:34:41.721.423.212 (XO: 7.721426193)
   Max TM value:263 at an offset of 119.225 usec -> 2021-09-02T20:34:41.721.420.950 (XO: 7.721423931)
   Max dTM/dt [1/us]:2.12e+03 at an offset of 119.138 usec -> 2021-09-02T20:34:41.721.420.862 (XO: 7.721423843)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 121.363 usec -> 2021-09-02T20:34:41.721.423.087 (XO: 7.721426068)

 - Block number: 2 starting at 2021-09-02T20:34:59.533.248.725 (XO: 25.533251785 - 25.533557786, t=37.2 degC)  Rank: 00079
   TM values: Max =   257  Min =  -231  Ave =    -4.37  Std =    28.51
   Min TM value:-231 at an offset of 163.751 usec -> 2021-09-02T20:34:59.533.412.475 (XO: 25.533415535)
   Max TM value:257 at an offset of 121.788 usec -> 2021-09-02T20:34:59.533.370.512 (XO: 25.533373573)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 121.613 usec -> 2021-09-02T20:34:59.533.370.337 (XO: 25.533373398)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 150.000 usec -> 2021-09-02T20:34:59.533.398.725 (XO: 25.533401785)

 - Block number: 3 starting at 2021-09-02T20:35:10.504.357.725 (XO: 36.504360189 - 36.504666190, t=37.2 degC)  Rank: 00087
   TM values: Max =   272  Min =  -277  Ave =    -4.46  Std =    33.53
   Min TM value:-277 at an offset of 109.625 usec -> 2021-09-02T20:35:10.504.467.350 (XO: 36.504469815)
   Max TM value:272 at an offset of 135.800 usec -> 2021-09-02T20:35:10.504.493.525 (XO: 36.504495990)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 135.650 usec -> 2021-09-02T20:35:10.504.493.375 (XO: 36.504495840)
   Min dTM/dt [1/us]:-2.72e+03 at an offset of 109.525 usec -> 2021-09-02T20:35:10.504.467.250 (XO: 36.504469715)

 - Block number: 4 starting at 2021-09-02T20:35:25.575.783.725 (XO: 51.575786225 - 51.576092226, t=37.2 degC)  Rank: 00078
   TM values: Max =   240  Min =  -248  Ave =    -4.37  Std =    22.85
   Min TM value:-248 at an offset of 83.075 usec -> 2021-09-02T20:35:25.575.866.800 (XO: 51.575869300)
   Max TM value:240 at an offset of 85.763 usec -> 2021-09-02T20:35:25.575.869.487 (XO: 51.575871988)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 85.700 usec -> 2021-09-02T20:35:25.575.869.425 (XO: 51.575871925)
   Min dTM/dt [1/us]:-2.12e+03 at an offset of 82.900 usec -> 2021-09-02T20:35:25.575.866.625 (XO: 51.575869125)
