-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 09:15:34 2022 UTC
-- File 20210911_154445_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 3.581380 to 57.138473
-each separately from 3s to 57s and from 138184us to 963979us.
   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, ...
      16.382021 in 1 packets: 18
      20.672229 in 1 packets: 36
      16.501687 in 1 packets: 54
MIU packet time from 2021-09-11T15:44:51.581.380.000 to 2021-09-11T15:45:45.138.473.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, ...
      16.382021 in 1 packets: 18
      20.672229 in 1 packets: 36
      16.501687 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 4.8212776 to 58.8210976
   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, ...
      15.9999467 in 1 packets: 18
      20.9999300 in 1 packets: 36
      16.9999433 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, ...
      06 -> 47.2 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      C0 -> 35.6 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210911_154445_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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.4026584 to 5.4029474
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.3819670  -- OK for SL --
   MIU time from 2021-09-11T15:44:51.581.380.000 to 2021-09-11T15:44:51.581.669.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.382021

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.7849144 to 21.7852034
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.6721590  -- OK for SL --
   MIU time from 2021-09-11T15:45:07.963.690.000 to 2021-09-11T15:45:07.963.979.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.672229

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.4573624 to 42.4576514
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5016310  -- OK for SL --
   MIU time from 2021-09-11T15:45:28.636.208.000 to 2021-09-11T15:45:28.636.497.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.501687

 - 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 58.9592824 to 58.9595714
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T15:45:45.138.184.000 to 2021-09-11T15:45:45.138.473.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 = 3, 32bit 10MHz counter = 5.402658400 corrected by 40bit 10MHz counter of 4.821277600 obtained at 1Hz counter of 3. Result: 3.581382719
--
   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-11T15:44:51.581.239.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T15:45:45.138.332.725
   Min 1st sample XO time among all SL packets: 3.581242443
   Max 1st sample XO time among all SL packets: 57.138333982
   TM values from -287 to 262 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T15:44:51.581.239.725 (XO: 3.581242443 - 3.581548444, t=37.2 degC)  Rank: 00079
   TM values: Max =   211  Min =  -250  Ave =    -4.58  Std =    22.77
   Min TM value:-250 at an offset of 126.225 usec -> 2021-09-11T15:44:51.581.365.950 (XO: 3.581368669)
   Max TM value:211 at an offset of 128.838 usec -> 2021-09-11T15:44:51.581.368.562 (XO: 3.581371281)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 101.313 usec -> 2021-09-11T15:44:51.581.341.037 (XO: 3.581343756)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 126.000 usec -> 2021-09-11T15:44:51.581.365.725 (XO: 3.581368444)

 - Block number: 2 starting at 2021-09-11T15:45:07.963.549.725 (XO: 19.963553101 - 19.963859102, t=35.6 degC)  Rank: 00086
   TM values: Max =   262  Min =  -287  Ave =    -4.59  Std =    28.70
   Min TM value:-287 at an offset of 91.725 usec -> 2021-09-11T15:45:07.963.641.450 (XO: 19.963644826)
   Max TM value:262 at an offset of 91.475 usec -> 2021-09-11T15:45:07.963.641.200 (XO: 19.963644576)
   Max dTM/dt [1/us]:2.35e+03 at an offset of 94.138 usec -> 2021-09-11T15:45:07.963.643.862 (XO: 19.963647239)
   Min dTM/dt [1/us]:-2.96e+03 at an offset of 91.600 usec -> 2021-09-11T15:45:07.963.641.325 (XO: 19.963644701)

 - Block number: 3 starting at 2021-09-11T15:45:28.636.067.725 (XO: 40.636069988 - 40.636375989, t=35.6 degC)  Rank: 00080
   TM values: Max =   213  Min =  -254  Ave =    -4.50  Std =    23.45
   Min TM value:-254 at an offset of 129.975 usec -> 2021-09-11T15:45:28.636.197.700 (XO: 40.636199963)
   Max TM value:213 at an offset of 127.650 usec -> 2021-09-11T15:45:28.636.195.375 (XO: 40.636197638)
   Max dTM/dt [1/us]:2.09e+03 at an offset of 127.525 usec -> 2021-09-11T15:45:28.636.195.250 (XO: 40.636197513)
   Min dTM/dt [1/us]:-2.29e+03 at an offset of 129.863 usec -> 2021-09-11T15:45:28.636.197.587 (XO: 40.636199851)

 - Block number: 4 starting at 2021-09-11T15:45:45.138.043.725 (XO: 57.138044981 - 57.138350982, t=35.6 degC)  Rank: 00078
   TM values: Max =   227  Min =  -272  Ave =    -4.54  Std =    21.03
   Min TM value:-272 at an offset of 128.413 usec -> 2021-09-11T15:45:45.138.172.137 (XO: 57.138173393)
   Max TM value:227 at an offset of 126.138 usec -> 2021-09-11T15:45:45.138.169.862 (XO: 57.138171118)
   Max dTM/dt [1/us]:2.23e+03 at an offset of 126.013 usec -> 2021-09-11T15:45:45.138.169.737 (XO: 57.138170993)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 100.388 usec -> 2021-09-11T15:45:45.138.144.112 (XO: 57.138145368)
