-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 13:17:29 2021 UTC
-- File 20210803_013856_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.613113 to 52.681516
-each separately from 3s to 52s and from 241651us to 681516us.
   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.908955 in 1 packets: 18
      18.719005 in 1 packets: 36
      12.439287 in 1 packets: 54
MIU packet time from 2021-08-03T01:39:02.613.113.000 to 2021-08-03T01:39:51.681.516.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.908955 in 1 packets: 18
      18.719005 in 1 packets: 36
      12.439287 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.8542423 to 53.8540801
   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.9999404 in 1 packets: 18
      18.9999371 in 1 packets: 36
      11.9999603 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 36 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
      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 20210803_013856_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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 5.4673562 to 5.4676452
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.9088950  -- OK for SL --
   MIU time from 2021-08-03T01:39:02.613.113.000 to 2021-08-03T01:39:02.613.402.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.908955

 - 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 23.3765402 to 23.3768292
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.7189430  -- OK for SL --
   MIU time from 2021-08-03T01:39:20.522.357.000 to 2021-08-03T01:39:20.522.646.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.719005

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.0957722 to 42.0960612
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.4392470  -- OK for SL --
   MIU time from 2021-08-03T01:39:39.241.651.000 to 2021-08-03T01:39:39.241.940.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.439287

 - 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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 54.5353082 to 54.5355972
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T01:39:51.681.227.000 to 2021-08-03T01:39:51.681.516.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.467356200 corrected by 40bit 10MHz counter of 4.854242300 obtained at 1Hz counter of 3. Result: 3.613115923
--
   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-08-03T01:39:02.612.972.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T01:39:51.681.375.725
   Min 1st sample XO time among all SL packets: 3.612975648
   Max 1st sample XO time among all SL packets: 52.681379074
   TM values from -236 to 218 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T01:39:02.612.972.725 (XO: 3.612975648 - 3.613281649, t=37.2 degC)  Rank: 00077
   TM values: Max =   218  Min =  -222  Ave =    -4.48  Std =    23.02
   Min TM value:-222 at an offset of 109.313 usec -> 2021-08-03T01:39:02.613.082.037 (XO: 3.613084961)
   Max TM value:218 at an offset of 111.838 usec -> 2021-08-03T01:39:02.613.084.562 (XO: 3.613087486)
   Max dTM/dt [1/us]:1.90e+03 at an offset of 111.688 usec -> 2021-08-03T01:39:02.613.084.412 (XO: 3.613087336)
   Min dTM/dt [1/us]:-1.94e+03 at an offset of 109.150 usec -> 2021-08-03T01:39:02.613.081.875 (XO: 3.613084798)

 - Block number: 2 starting at 2021-08-03T01:39:20.522.216.725 (XO: 21.522218948 - 21.522524949, t=37.2 degC)  Rank: 00083
   TM values: Max =   203  Min =  -236  Ave =    -4.49  Std =    18.45
   Min TM value:-236 at an offset of 119.013 usec -> 2021-08-03T01:39:20.522.335.737 (XO: 21.522337961)
   Max TM value:203 at an offset of 118.713 usec -> 2021-08-03T01:39:20.522.335.437 (XO: 21.522337661)
   Max dTM/dt [1/us]:1.86e+03 at an offset of 121.400 usec -> 2021-08-03T01:39:20.522.338.125 (XO: 21.522340349)
   Min dTM/dt [1/us]:-2.16e+03 at an offset of 118.825 usec -> 2021-08-03T01:39:20.522.335.550 (XO: 21.522337774)

 - Block number: 3 starting at 2021-08-03T01:39:39.241.510.725 (XO: 40.241512922 - 40.241818923, t=37.2 degC)  Rank: 00077
   TM values: Max =   184  Min =  -220  Ave =    -4.38  Std =    18.95
   Min TM value:-220 at an offset of 107.775 usec -> 2021-08-03T01:39:39.241.618.500 (XO: 40.241620697)
   Max TM value:184 at an offset of 110.425 usec -> 2021-08-03T01:39:39.241.621.150 (XO: 40.241623347)
   Max dTM/dt [1/us]:1.58e+03 at an offset of 110.263 usec -> 2021-08-03T01:39:39.241.620.987 (XO: 40.241623185)
   Min dTM/dt [1/us]:-1.56e+03 at an offset of 107.550 usec -> 2021-08-03T01:39:39.241.618.275 (XO: 40.241620472)

 - Block number: 4 starting at 2021-08-03T01:39:51.681.086.725 (XO: 52.681090073 - 52.681396074, t=37.2 degC)  Rank: 00082
   TM values: Max =   184  Min =  -234  Ave =    -4.43  Std =    19.22
   Min TM value:-234 at an offset of 106.200 usec -> 2021-08-03T01:39:51.681.192.925 (XO: 52.681196273)
   Max TM value:184 at an offset of 108.813 usec -> 2021-08-03T01:39:51.681.195.537 (XO: 52.681198885)
   Max dTM/dt [1/us]:1.62e+03 at an offset of 108.663 usec -> 2021-08-03T01:39:51.681.195.387 (XO: 52.681198735)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 106.025 usec -> 2021-08-03T01:39:51.681.192.750 (XO: 52.681196098)
