-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec  9 00:05:45 2021 UTC
-- File 20210807_100118_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 11.583917 to 50.644049
-each separately from 11s to 50s and from 193805us to 984018us.
   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, ...
      4.609599 in 1 packets: 18
      20.789635 in 1 packets: 36
      13.659742 in 1 packets: 54
MIU packet time from 2021-08-07T10:01:32.583.917.000 to 2021-08-07T10:02:11.644.049.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, ...
      4.609599 in 1 packets: 18
      20.789635 in 1 packets: 36
      13.659742 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 12.8762869 to 51.8761562
   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, ...
      4.9999833 in 1 packets: 18
      19.9999329 in 1 packets: 36
      13.9999531 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 54 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 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 71 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
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 20210807_100118_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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 13.4602044 to 13.4604934
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 4.6095830  -- OK for SL --
   MIU time from 2021-08-07T10:01:32.583.917.000 to 2021-08-07T10:01:32.584.206.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 4.609599

 - 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 18.0700764 to 18.0703654
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 20.7895670  -- OK for SL --
   MIU time from 2021-08-07T10:01:37.193.805.000 to 2021-08-07T10:01:37.194.094.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 20.789635

 - 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 38.8599324 to 38.8602214
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.6596950  -- OK for SL --
   MIU time from 2021-08-07T10:01:57.983.729.000 to 2021-08-07T10:01:57.984.018.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.659742

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.5199164 to 52.5202054
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-07T10:02:11.643.760.000 to 2021-08-07T10:02:11.644.049.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 = 11, 32bit 10MHz counter = 13.460204400 corrected by 40bit 10MHz counter of 12.876286900 obtained at 1Hz counter of 11. Result: 11.583919427
--
   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-08-07T10:01:32.583.776.725
   Max 1st sample MIU time among all SL packets: 2021-08-07T10:02:11.643.908.725
   Min 1st sample XO time among all SL packets: 11.583779151
   Max 1st sample XO time among all SL packets: 50.643911050
   TM values from -263 to 249 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-07T10:01:32.583.776.725 (XO: 11.583779151 - 11.584085152, t=37.2 degC)  Rank: 00081
   TM values: Max =   249  Min =  -254  Ave =    -4.53  Std =    19.49
   Min TM value:-254 at an offset of 128.288 usec -> 2021-08-07T10:01:32.583.905.012 (XO: 11.583907439)
   Max TM value:249 at an offset of 128.013 usec -> 2021-08-07T10:01:32.583.904.737 (XO: 11.583907164)
   Max dTM/dt [1/us]:2.25e+03 at an offset of 130.638 usec -> 2021-08-07T10:01:32.583.907.362 (XO: 11.583909789)
   Min dTM/dt [1/us]:-2.60e+03 at an offset of 128.113 usec -> 2021-08-07T10:01:32.583.904.837 (XO: 11.583907264)

 - Block number: 2 starting at 2021-08-07T10:01:37.193.664.725 (XO: 16.193666583 - 16.193972585, t=37.2 degC)  Rank: 00076
   TM values: Max =   193  Min =  -258  Ave =    -4.59  Std =    22.48
   Min TM value:-258 at an offset of 127.913 usec -> 2021-08-07T10:01:37.193.792.637 (XO: 16.193794496)
   Max TM value:193 at an offset of 130.563 usec -> 2021-08-07T10:01:37.193.795.287 (XO: 16.193797146)
   Max dTM/dt [1/us]:1.48e+03 at an offset of 130.388 usec -> 2021-08-07T10:01:37.193.795.112 (XO: 16.193796971)
   Min dTM/dt [1/us]:-1.97e+03 at an offset of 127.738 usec -> 2021-08-07T10:01:37.193.792.462 (XO: 16.193794321)

 - Block number: 3 starting at 2021-08-07T10:01:57.983.588.725 (XO: 36.983592271 - 36.983898272, t=37.2 degC)  Rank: 00080
   TM values: Max =   215  Min =  -263  Ave =    -4.64  Std =    19.10
   Min TM value:-263 at an offset of 123.963 usec -> 2021-08-07T10:01:57.983.712.687 (XO: 36.983716234)
   Max TM value:215 at an offset of 123.650 usec -> 2021-08-07T10:01:57.983.712.375 (XO: 36.983715921)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 126.325 usec -> 2021-08-07T10:01:57.983.715.050 (XO: 36.983718596)
   Min dTM/dt [1/us]:-2.20e+03 at an offset of 123.763 usec -> 2021-08-07T10:01:57.983.712.487 (XO: 36.983716034)

 - Block number: 4 starting at 2021-08-07T10:02:11.643.619.725 (XO: 50.643622049 - 50.643928050, t=37.2 degC)  Rank: 00073
   TM values: Max =   196  Min =  -245  Ave =    -4.56  Std =    21.52
   Min TM value:-245 at an offset of 122.963 usec -> 2021-08-07T10:02:11.643.742.687 (XO: 50.643745012)
   Max TM value:196 at an offset of 125.550 usec -> 2021-08-07T10:02:11.643.745.275 (XO: 50.643747599)
   Max dTM/dt [1/us]:1.92e+03 at an offset of 125.325 usec -> 2021-08-07T10:02:11.643.745.050 (XO: 50.643747374)
   Min dTM/dt [1/us]:-2.03e+03 at an offset of 122.750 usec -> 2021-08-07T10:02:11.643.742.475 (XO: 50.643744799)
