-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 04:09:19 2022 UTC
-- File 20210911_131016_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 10.740945 to 57.564623
-each separately from 10s to 57s and from 564334us to 876922us.
   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, ...
      9.858032 in 1 packets: 18
      21.277078 in 1 packets: 36
      15.687412 in 1 packets: 54
MIU packet time from 2021-09-11T13:10:29.740.945.000 to 2021-09-11T13:11:16.564.623.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, ...
      9.858032 in 1 packets: 18
      21.277078 in 1 packets: 36
      15.687412 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 11.8956830 to 58.8955265
   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, ...
      9.9999667 in 1 packets: 18
      20.9999300 in 1 packets: 36
      15.9999468 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 degC in 36 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 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
Number of generated alerts: 
      0 in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 1 packets: 55
      2 in 17 packets: 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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_131016_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 12.6366289 to 12.6369179
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 9.8579990  -- OK for SL --
   MIU time from 2021-09-11T13:10:29.740.945.000 to 2021-09-11T13:10:29.741.234.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 9.858032

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.4949169 to 22.4952059
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.2770070  -- OK for SL --
   MIU time from 2021-09-11T13:10:39.599.266.000 to 2021-09-11T13:10:39.599.555.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.277078

 - 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 43.7722129 to 43.7725019
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.6873590  -- OK for SL --
   MIU time from 2021-09-11T13:11:00.876.633.000 to 2021-09-11T13:11:00.876.922.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.687412

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 59.4598609 to 59.4601499
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T13:11:16.564.334.000 to 2021-09-11T13:11:16.564.623.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 = 10, 32bit 10MHz counter = 12.636628900 corrected by 40bit 10MHz counter of 11.895683000 obtained at 1Hz counter of 10. Result: 10.740948419
--
   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-11T13:10:29.740.804.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T13:11:16.564.482.725
   Min 1st sample XO time among all SL packets: 10.740808144
   Max 1st sample XO time among all SL packets: 57.564485044
   TM values from -247 to 210 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T13:10:29.740.804.725 (XO: 10.740808144 - 10.741114145, t=37.2 degC)  Rank: 00080
   TM values: Max =   191  Min =  -247  Ave =    -4.64  Std =    21.15
   Min TM value:-247 at an offset of 113.025 usec -> 2021-09-11T13:10:29.740.917.750 (XO: 10.740921169)
   Max TM value:191 at an offset of 128.513 usec -> 2021-09-11T13:10:29.740.933.237 (XO: 10.740936657)
   Max dTM/dt [1/us]:1.63e+03 at an offset of 128.338 usec -> 2021-09-11T13:10:29.740.933.062 (XO: 10.740936482)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 125.663 usec -> 2021-09-11T13:10:29.740.930.387 (XO: 10.740933807)

 - Block number: 2 starting at 2021-09-11T13:10:39.599.125.725 (XO: 20.599128902 - 20.599434903, t=37.2 degC)  Rank: 00076
   TM values: Max =   194  Min =  -229  Ave =    -4.74  Std =    22.97
   Min TM value:-229 at an offset of 125.825 usec -> 2021-09-11T13:10:39.599.251.550 (XO: 20.599254728)
   Max TM value:194 at an offset of 128.525 usec -> 2021-09-11T13:10:39.599.254.250 (XO: 20.599257428)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 128.375 usec -> 2021-09-11T13:10:39.599.254.100 (XO: 20.599257278)
   Min dTM/dt [1/us]:-1.51e+03 at an offset of 125.688 usec -> 2021-09-11T13:10:39.599.251.412 (XO: 20.599254590)

 - Block number: 3 starting at 2021-09-11T13:11:00.876.492.725 (XO: 41.876495817 - 41.876801818, t=37.2 degC)  Rank: 00080
   TM values: Max =   210  Min =  -242  Ave =    -4.75  Std =    25.76
   Min TM value:-242 at an offset of 128.650 usec -> 2021-09-11T13:11:00.876.621.375 (XO: 41.876624468)
   Max TM value:210 at an offset of 128.413 usec -> 2021-09-11T13:11:00.876.621.137 (XO: 41.876624230)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 131.063 usec -> 2021-09-11T13:11:00.876.623.787 (XO: 41.876626880)
   Min dTM/dt [1/us]:-2.47e+03 at an offset of 128.513 usec -> 2021-09-11T13:11:00.876.621.237 (XO: 41.876624330)

 - Block number: 4 starting at 2021-09-11T13:11:16.564.193.725 (XO: 57.564196043 - 57.564502044, t=37.2 degC)  Rank: 00085
   TM values: Max =   184  Min =  -240  Ave =    -4.53  Std =    23.43
   Min TM value:-240 at an offset of 197.476 usec -> 2021-09-11T13:11:16.564.391.200 (XO: 57.564393519)
   Max TM value:184 at an offset of 128.575 usec -> 2021-09-11T13:11:16.564.322.300 (XO: 57.564324619)
   Max dTM/dt [1/us]:1.93e+03 at an offset of 128.450 usec -> 2021-09-11T13:11:16.564.322.175 (XO: 57.564324494)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 197.351 usec -> 2021-09-11T13:11:16.564.391.075 (XO: 57.564393394)
