-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Dec  3 15:37:32 2021 UTC
-- File 20210802_051003_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 1.944241 to 58.948847
-each separately from 1s to 58s and from 90677us to 948847us.
   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, ...
      22.548315 in 1 packets: 18
      16.597543 in 1 packets: 36
      17.857592 in 1 packets: 54
MIU packet time from 2021-08-02T05:10:07.944.241.000 to 2021-08-02T05:11:04.948.847.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, ...
      22.548315 in 1 packets: 18
      16.597543 in 1 packets: 36
      17.857592 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 2.8944319 to 59.8942436
   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, ...
      22.9999240 in 1 packets: 18
      16.9999438 in 1 packets: 36
      16.9999439 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      04 -> 49.8 degC in 18 packets: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 37 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210802_051003_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 3.8386737 to 3.8389627
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.5482390  -- OK for SL --
   MIU time from 2021-08-02T05:10:07.944.241.000 to 2021-08-02T05:10:07.944.530.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.548315

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 26.3872017 to 26.3874907
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5974870  -- OK for SL --
   MIU time from 2021-08-02T05:10:30.492.845.000 to 2021-08-02T05:10:30.493.134.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.597543

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.9849777 to 42.9852667
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.8575350  -- OK for SL --
   MIU time from 2021-08-02T05:10:47.090.677.000 to 2021-08-02T05:10:47.090.966.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.857592

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 60.8428017 to 60.8430907
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T05:11:04.948.558.000 to 2021-08-02T05:11:04.948.847.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 = 1, 32bit 10MHz counter = 3.838673700 corrected by 40bit 10MHz counter of 2.894431900 obtained at 1Hz counter of 1. Result: 1.944244916
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-02T05:10:07.944.100.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T05:11:04.948.706.725
   Min 1st sample XO time among all SL packets: 1.944104641
   Max 1st sample XO time among all SL packets: 58.948709861
   TM values from -267 to 221 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T05:10:07.944.100.725 (XO: 1.944104641 - 1.944410642, t=37.2 degC)  Rank: 00080
   TM values: Max =   214  Min =  -267  Ave =    -4.44  Std =    20.20
   Min TM value:-267 at an offset of 118.575 usec -> 2021-08-02T05:10:07.944.219.300 (XO: 1.944223216)
   Max TM value:214 at an offset of 116.238 usec -> 2021-08-02T05:10:07.944.216.962 (XO: 1.944220878)
   Max dTM/dt [1/us]:1.94e+03 at an offset of 116.138 usec -> 2021-08-02T05:10:07.944.216.862 (XO: 1.944220778)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 118.413 usec -> 2021-08-02T05:10:07.944.219.137 (XO: 1.944223053)

 - Block number: 2 starting at 2021-08-02T05:10:30.492.704.725 (XO: 24.492707151 - 24.493013152, t=37.2 degC)  Rank: 00077
   TM values: Max =   209  Min =  -260  Ave =    -4.43  Std =    23.70
   Min TM value:-260 at an offset of 145.663 usec -> 2021-08-02T05:10:30.492.850.387 (XO: 24.492852814)
   Max TM value:209 at an offset of 115.725 usec -> 2021-08-02T05:10:30.492.820.450 (XO: 24.492822876)
   Max dTM/dt [1/us]:2.17e+03 at an offset of 120.338 usec -> 2021-08-02T05:10:30.492.825.062 (XO: 24.492827489)
   Min dTM/dt [1/us]:-2.18e+03 at an offset of 117.788 usec -> 2021-08-02T05:10:30.492.822.512 (XO: 24.492824939)

 - Block number: 3 starting at 2021-08-02T05:10:47.090.536.725 (XO: 41.090538024 - 41.090844025, t=37.2 degC)  Rank: 00083
   TM values: Max =   221  Min =  -242  Ave =    -4.50  Std =    18.59
   Min TM value:-242 at an offset of 124.900 usec -> 2021-08-02T05:10:47.090.661.625 (XO: 41.090662924)
   Max TM value:221 at an offset of 127.563 usec -> 2021-08-02T05:10:47.090.664.287 (XO: 41.090665587)
   Max dTM/dt [1/us]:1.76e+03 at an offset of 127.400 usec -> 2021-08-02T05:10:47.090.664.125 (XO: 41.090665424)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 124.725 usec -> 2021-08-02T05:10:47.090.661.450 (XO: 41.090662749)

 - Block number: 4 starting at 2021-08-02T05:11:04.948.417.725 (XO: 58.948420860 - 58.948726861, t=37.2 degC)  Rank: 00080
   TM values: Max =   206  Min =  -240  Ave =    -4.38  Std =    21.53
   Min TM value:-240 at an offset of 125.938 usec -> 2021-08-02T05:11:04.948.543.662 (XO: 58.948546798)
   Max TM value:206 at an offset of 128.550 usec -> 2021-08-02T05:11:04.948.546.275 (XO: 58.948549410)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 128.350 usec -> 2021-08-02T05:11:04.948.546.075 (XO: 58.948549210)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 125.750 usec -> 2021-08-02T05:11:04.948.543.475 (XO: 58.948546610)
