-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec  5 07:49:57 2021 UTC
-- File 20210802_213125_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 7.644408 to 56.963228
-each separately from 7s to 56s and from 243809us to 963228us.
   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, ...
      21.599112 in 1 packets: 18
      14.229214 in 1 packets: 36
      13.489338 in 1 packets: 54
MIU packet time from 2021-08-02T21:31:35.644.408.000 to 2021-08-02T21:32:24.963.228.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, ...
      21.599112 in 1 packets: 18
      14.229214 in 1 packets: 36
      13.489338 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 8.9119513 to 57.9117886
   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, ...
      21.9999269 in 1 packets: 18
      13.9999535 in 1 packets: 36
      12.9999569 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: 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 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
Number of generated alerts: 
      0 in 1 packets: 1
      1 in 36 packets: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, ...
      2 in 35 packets: 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, ...
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 20210802_213125_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 9.5563605 to 9.5566495
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 21.5990390  -- OK for SL --
   MIU time from 2021-08-02T21:31:35.644.408.000 to 2021-08-02T21:31:35.644.697.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 21.599112

 - 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:
      73 in 18 packets (all packets)  -- OK --
   10 MHz counter from 31.1556885 to 31.1559775
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.2291670  -- OK for SL --
   MIU time from 2021-08-02T21:31:57.243.809.000 to 2021-08-02T21:31:57.244.098.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.229214

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 45.3851445 to 45.3854335
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.4892950  -- OK for SL --
   MIU time from 2021-08-02T21:32:11.473.312.000 to 2021-08-02T21:32:11.473.601.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.489338

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 58.8747285 to 58.8750175
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-02T21:32:24.962.939.000 to 2021-08-02T21:32:24.963.228.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 = 7, 32bit 10MHz counter = 9.556360500 corrected by 40bit 10MHz counter of 8.911951300 obtained at 1Hz counter of 7. Result: 7.644411327
--
   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-02T21:31:35.644.267.725
   Max 1st sample MIU time among all SL packets: 2021-08-02T21:32:24.963.087.725
   Min 1st sample XO time among all SL packets: 7.644271051
   Max 1st sample XO time among all SL packets: 56.963091900
   TM values from -262 to 240 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-02T21:31:35.644.267.725 (XO: 7.644271051 - 7.644577052, t=37.2 degC)  Rank: 00081
   TM values: Max =   197  Min =  -261  Ave =    -4.45  Std =    24.32
   Min TM value:-261 at an offset of 114.688 usec -> 2021-08-02T21:31:35.644.382.412 (XO: 7.644385739)
   Max TM value:197 at an offset of 117.325 usec -> 2021-08-02T21:31:35.644.385.050 (XO: 7.644388376)
   Max dTM/dt [1/us]:1.66e+03 at an offset of 117.125 usec -> 2021-08-02T21:31:35.644.384.850 (XO: 7.644388176)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 114.525 usec -> 2021-08-02T21:31:35.644.382.250 (XO: 7.644385576)

 - Block number: 2 starting at 2021-08-02T21:31:57.243.668.725 (XO: 29.243670829 - 29.243976830, t=37.2 degC)  Rank: 00073
   TM values: Max =   212  Min =  -259  Ave =    -4.49  Std =    26.19
   Min TM value:-259 at an offset of 127.575 usec -> 2021-08-02T21:31:57.243.796.300 (XO: 29.243798405)
   Max TM value:212 at an offset of 130.225 usec -> 2021-08-02T21:31:57.243.798.950 (XO: 29.243801055)
   Max dTM/dt [1/us]:1.73e+03 at an offset of 130.038 usec -> 2021-08-02T21:31:57.243.798.762 (XO: 29.243800867)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 127.413 usec -> 2021-08-02T21:31:57.243.796.137 (XO: 29.243798242)

 - Block number: 3 starting at 2021-08-02T21:32:11.473.171.725 (XO: 43.473174086 - 43.473480087, t=37.2 degC)  Rank: 00084
   TM values: Max =   240  Min =  -247  Ave =    -4.49  Std =    24.38
   Min TM value:-247 at an offset of 127.425 usec -> 2021-08-02T21:32:11.473.299.150 (XO: 43.473301512)
   Max TM value:240 at an offset of 125.425 usec -> 2021-08-02T21:32:11.473.297.150 (XO: 43.473299512)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 112.625 usec -> 2021-08-02T21:32:11.473.284.350 (XO: 43.473286712)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 127.350 usec -> 2021-08-02T21:32:11.473.299.075 (XO: 43.473301437)

 - Block number: 4 starting at 2021-08-02T21:32:24.962.798.725 (XO: 56.962802899 - 56.963108900, t=37.2 degC)  Rank: 00076
   TM values: Max =   222  Min =  -262  Ave =    -4.49  Std =    23.97
   Min TM value:-262 at an offset of 127.675 usec -> 2021-08-02T21:32:24.962.926.400 (XO: 56.962930574)
   Max TM value:222 at an offset of 130.238 usec -> 2021-08-02T21:32:24.962.928.962 (XO: 56.962933136)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 130.075 usec -> 2021-08-02T21:32:24.962.928.800 (XO: 56.962932974)
   Min dTM/dt [1/us]:-1.88e+03 at an offset of 127.575 usec -> 2021-08-02T21:32:24.962.926.300 (XO: 56.962930474)
