-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan 16 23:26:25 2022 UTC
-- File 20210920_161322_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 4.932106 to 53.754414
-each separately from 4s to 53s and from 72478us to 973250us.
   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, ...
      10.140083 in 1 packets: 18
      15.900194 in 1 packets: 36
      22.780875 in 1 packets: 54
MIU packet time from 2021-09-20T16:13:29.932.106.000 to 2021-09-20T16:14:18.754.414.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, ...
      10.140083 in 1 packets: 18
      15.900194 in 1 packets: 36
      22.780875 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 5.8612227 to 54.8610589
   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, ...
      10.9999632 in 1 packets: 18
      14.9999498 in 1 packets: 36
      22.9999232 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: 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54
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 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 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 1 packets: 1
      1 in 18 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
      2 in 53 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
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 20210920_161322_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 6.7933289 to 6.7936179
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.1400470  -- OK for SL --
   MIU time from 2021-09-20T16:13:29.932.106.000 to 2021-09-20T16:13:29.932.395.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.140083

 - 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 16.9336649 to 16.9339539
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.9001430  -- OK for SL --
   MIU time from 2021-09-20T16:13:40.072.478.000 to 2021-09-20T16:13:40.072.767.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.900194

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 32.8340969 to 32.8343859
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.7807990  -- OK for SL --
   MIU time from 2021-09-20T16:13:55.972.961.000 to 2021-09-20T16:13:55.973.250.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.780875

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 55.6151849 to 55.6154739
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-20T16:14:18.754.125.000 to 2021-09-20T16:14:18.754.414.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 = 4, 32bit 10MHz counter = 6.793328900 corrected by 40bit 10MHz counter of 5.861222700 obtained at 1Hz counter of 4. Result: 4.932109369
--
   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.999996700
   Min 1st sample MIU time among all SL packets: 2021-09-20T16:13:29.931.965.725
   Max 1st sample MIU time among all SL packets: 2021-09-20T16:14:18.754.273.725
   Min 1st sample XO time among all SL packets: 4.931969094
   Max 1st sample XO time among all SL packets: 53.754277214
   TM values from -257 to 224 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-20T16:13:29.931.965.725 (XO: 4.931969094 - 4.932275095, t=37.2 degC)  Rank: 00083
   TM values: Max =   206  Min =  -253  Ave =    -4.66  Std =    20.53
   Min TM value:-253 at an offset of 122.213 usec -> 2021-09-20T16:13:29.932.087.937 (XO: 4.932091307)
   Max TM value:206 at an offset of 121.913 usec -> 2021-09-20T16:13:29.932.087.637 (XO: 4.932091007)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 124.588 usec -> 2021-09-20T16:13:29.932.090.312 (XO: 4.932093682)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 122.013 usec -> 2021-09-20T16:13:29.932.087.737 (XO: 4.932091107)

 - Block number: 2 starting at 2021-09-20T16:13:40.072.337.725 (XO: 15.072338964 - 15.072644965, t=37.2 degC)  Rank: 00083
   TM values: Max =   221  Min =  -257  Ave =    -4.67  Std =    22.18
   Min TM value:-257 at an offset of 97.600 usec -> 2021-09-20T16:13:40.072.435.325 (XO: 15.072436564)
   Max TM value:221 at an offset of 112.925 usec -> 2021-09-20T16:13:40.072.450.650 (XO: 15.072451889)
   Max dTM/dt [1/us]:1.83e+03 at an offset of 112.688 usec -> 2021-09-20T16:13:40.072.450.412 (XO: 15.072451652)
   Min dTM/dt [1/us]:-2.21e+03 at an offset of 110.113 usec -> 2021-09-20T16:13:40.072.447.837 (XO: 15.072449077)

 - Block number: 3 starting at 2021-09-20T16:13:55.972.820.725 (XO: 30.972824135 - 30.973130136, t=37.2 degC)  Rank: 00074
   TM values: Max =   224  Min =  -254  Ave =    -4.57  Std =    19.75
   Min TM value:-254 at an offset of 121.788 usec -> 2021-09-20T16:13:55.972.942.512 (XO: 30.972945923)
   Max TM value:224 at an offset of 121.438 usec -> 2021-09-20T16:13:55.972.942.162 (XO: 30.972945573)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 124.100 usec -> 2021-09-20T16:13:55.972.944.825 (XO: 30.972948236)
   Min dTM/dt [1/us]:-2.37e+03 at an offset of 121.550 usec -> 2021-09-20T16:13:55.972.942.275 (XO: 30.972945686)

 - Block number: 4 starting at 2021-09-20T16:14:18.753.984.725 (XO: 53.753988213 - 53.754294214, t=37.2 degC)  Rank: 00079
   TM values: Max =   216  Min =  -254  Ave =    -4.54  Std =    21.19
   Min TM value:-254 at an offset of 98.238 usec -> 2021-09-20T16:14:18.754.082.962 (XO: 53.754086451)
   Max TM value:216 at an offset of 97.938 usec -> 2021-09-20T16:14:18.754.082.662 (XO: 53.754086151)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 100.613 usec -> 2021-09-20T16:14:18.754.085.337 (XO: 53.754088826)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 98.050 usec -> 2021-09-20T16:14:18.754.082.775 (XO: 53.754086263)
