-- OK --
-----------------> BLESK ver.2021-02-27 run on Wed Dec  8 14:52:01 2021 UTC
-- File 20210806_235858_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 8.982405 to 54.202734
-each separately from 8s to 54s and from 202445us to 982694us.
   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.409699 in 1 packets: 18
      15.279793 in 1 packets: 36
      19.529681 in 1 packets: 54
MIU packet time from 2021-08-06T23:59:09.982.405.000 to 2021-08-06T23:59:55.202.734.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.409699 in 1 packets: 18
      15.279793 in 1 packets: 36
      19.529681 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 9.8921480 to 55.8919949
   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.9999634 in 1 packets: 18
      14.9999500 in 1 packets: 36
      19.9999335 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 20210806_235858_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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.8745531 to 10.8748421
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.4096630  -- OK for SL --
   MIU time from 2021-08-06T23:59:09.982.405.000 to 2021-08-06T23:59:09.982.694.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.409699

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 21.2845051 to 21.2847941
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.2797430  -- OK for SL --
   MIU time from 2021-08-06T23:59:20.392.393.000 to 2021-08-06T23:59:20.392.682.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.279793

 - 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:
      79 in 18 packets (all packets)  -- OK --
   10 MHz counter from 36.5645371 to 36.5648261
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.5296150  -- OK for SL --
   MIU time from 2021-08-06T23:59:35.672.475.000 to 2021-08-06T23:59:35.672.764.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.529681

 - 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:
      72 in 18 packets (all packets)  -- OK --
   10 MHz counter from 56.0944411 to 56.0947301
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-06T23:59:55.202.445.000 to 2021-08-06T23:59:55.202.734.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 = 8, 32bit 10MHz counter = 10.874553100 corrected by 40bit 10MHz counter of 9.892148000 obtained at 1Hz counter of 8. Result: 8.982408342
--
   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-06T23:59:09.982.264.725
   Max 1st sample MIU time among all SL packets: 2021-08-06T23:59:55.202.593.725
   Min 1st sample XO time among all SL packets: 8.982268066
   Max 1st sample XO time among all SL packets: 54.202595614
   TM values from -254 to 237 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-06T23:59:09.982.264.725 (XO: 8.982268066 - 8.982574067, t=37.2 degC)  Rank: 00084
   TM values: Max =   225  Min =  -240  Ave =    -4.45  Std =    16.36
   Min TM value:-240 at an offset of 112.175 usec -> 2021-08-06T23:59:09.982.376.900 (XO: 8.982380242)
   Max TM value:225 at an offset of 114.738 usec -> 2021-08-06T23:59:09.982.379.462 (XO: 8.982382804)
   Max dTM/dt [1/us]:1.85e+03 at an offset of 114.538 usec -> 2021-08-06T23:59:09.982.379.262 (XO: 8.982382604)
   Min dTM/dt [1/us]:-1.98e+03 at an offset of 112.038 usec -> 2021-08-06T23:59:09.982.376.762 (XO: 8.982380104)

 - Block number: 2 starting at 2021-08-06T23:59:20.392.252.725 (XO: 19.392254759 - 19.392560760, t=37.2 degC)  Rank: 00081
   TM values: Max =   206  Min =  -236  Ave =    -4.50  Std =    24.26
   Min TM value:-236 at an offset of 121.425 usec -> 2021-08-06T23:59:20.392.374.150 (XO: 19.392376184)
   Max TM value:206 at an offset of 124.163 usec -> 2021-08-06T23:59:20.392.376.887 (XO: 19.392378922)
   Max dTM/dt [1/us]:1.52e+03 at an offset of 123.975 usec -> 2021-08-06T23:59:20.392.376.700 (XO: 19.392378734)
   Min dTM/dt [1/us]:-1.65e+03 at an offset of 121.225 usec -> 2021-08-06T23:59:20.392.373.950 (XO: 19.392375984)

 - Block number: 3 starting at 2021-08-06T23:59:35.672.334.725 (XO: 34.672337644 - 34.672643645, t=37.2 degC)  Rank: 00079
   TM values: Max =   237  Min =  -254  Ave =    -4.55  Std =    20.35
   Min TM value:-254 at an offset of 115.388 usec -> 2021-08-06T23:59:35.672.450.112 (XO: 34.672453032)
   Max TM value:237 at an offset of 115.125 usec -> 2021-08-06T23:59:35.672.449.850 (XO: 34.672452769)
   Max dTM/dt [1/us]:2.08e+03 at an offset of 117.775 usec -> 2021-08-06T23:59:35.672.452.500 (XO: 34.672455419)
   Min dTM/dt [1/us]:-2.41e+03 at an offset of 115.250 usec -> 2021-08-06T23:59:35.672.449.975 (XO: 34.672452894)

 - Block number: 4 starting at 2021-08-06T23:59:55.202.304.725 (XO: 54.202306613 - 54.202612614, t=37.2 degC)  Rank: 00072
   TM values: Max =   210  Min =  -245  Ave =    -4.42  Std =    23.01
   Min TM value:-245 at an offset of 112.813 usec -> 2021-08-06T23:59:55.202.417.537 (XO: 54.202419426)
   Max TM value:210 at an offset of 115.413 usec -> 2021-08-06T23:59:55.202.420.137 (XO: 54.202422026)
   Max dTM/dt [1/us]:1.67e+03 at an offset of 173.276 usec -> 2021-08-06T23:59:55.202.478.000 (XO: 54.202479888)
   Min dTM/dt [1/us]:-1.77e+03 at an offset of 112.675 usec -> 2021-08-06T23:59:55.202.417.400 (XO: 54.202419288)
