-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Mar  6 02:31:00 2022 UTC
-- File 20220202_141447_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 9.998913 to 57.018159
-each separately from 9s to 57s and from 17870us to 999202us.
   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.709184 in 1 packets: 18
      16.159449 in 1 packets: 36
      13.149457 in 1 packets: 54
MIU packet time from 2022-02-02T14:14:59.998.913.000 to 2022-02-02T14:15:47.018.159.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.709184 in 1 packets: 18
      16.159449 in 1 packets: 36
      13.149457 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.2862081 to 59.2860346
   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.9999350 in 1 packets: 18
      15.9999422 in 1 packets: 36
      13.9999493 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: 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72
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 20220202_141447_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:
      87 in 18 packets (all packets)  -- OK --
   10 MHz counter from 12.2851215 to 12.2854105
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.7091190  -- OK for SL --
   MIU time from 2022-02-02T14:14:59.998.913.000 to 2022-02-02T14:14:59.999.202.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.709184

 - 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:
      88 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.9945295 to 29.9948185
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.1593910  -- OK for SL --
   MIU time from 2022-02-02T14:15:17.708.386.000 to 2022-02-02T14:15:17.708.675.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.159449

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 46.1542095 to 46.1544985
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.1494070  -- OK for SL --
   MIU time from 2022-02-02T14:15:33.868.124.000 to 2022-02-02T14:15:33.868.413.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.149457

 - 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 59.3039055 to 59.3041945
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-02-02T14:15:47.017.870.000 to 2022-02-02T14:15:47.018.159.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 = 9, 32bit 10MHz counter = 12.285121500 corrected by 40bit 10MHz counter of 11.286208100 obtained at 1Hz counter of 9. Result: 9.998916896
--
   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.999996300 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2022-02-02T14:14:59.998.772.725
   Max 1st sample MIU time among all SL packets: 2022-02-02T14:15:47.018.018.725
   Min 1st sample XO time among all SL packets: 9.998776621
   Max 1st sample XO time among all SL packets: 57.018019690
   TM values from -269 to 232 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-02-02T14:14:59.998.772.725 (XO: 9.998776621 - 9.999082622, t=37.2 degC)  Rank: 00087
   TM values: Max =   207  Min =  -256  Ave =    -4.53  Std =    25.13
   Min TM value:-256 at an offset of 108.563 usec -> 2022-02-02T14:14:59.998.881.287 (XO: 9.998885184)
   Max TM value:207 at an offset of 108.838 usec -> 2022-02-02T14:14:59.998.881.562 (XO: 9.998885459)
   Max dTM/dt [1/us]:2.11e+03 at an offset of 104.250 usec -> 2022-02-02T14:14:59.998.876.975 (XO: 9.998880871)
   Min dTM/dt [1/us]:-2.32e+03 at an offset of 108.500 usec -> 2022-02-02T14:14:59.998.881.225 (XO: 9.998885121)

 - Block number: 2 starting at 2022-02-02T14:15:17.708.245.725 (XO: 27.708248675 - 27.708554676, t=37.2 degC)  Rank: 00088
   TM values: Max =   227  Min =  -269  Ave =    -4.54  Std =    19.70
   Min TM value:-269 at an offset of 110.475 usec -> 2022-02-02T14:15:17.708.356.200 (XO: 27.708359150)
   Max TM value:227 at an offset of 108.050 usec -> 2022-02-02T14:15:17.708.353.775 (XO: 27.708356725)
   Max dTM/dt [1/us]:1.98e+03 at an offset of 110.600 usec -> 2022-02-02T14:15:17.708.356.325 (XO: 27.708359275)
   Min dTM/dt [1/us]:-2.62e+03 at an offset of 108.188 usec -> 2022-02-02T14:15:17.708.353.912 (XO: 27.708356863)

 - Block number: 3 starting at 2022-02-02T14:15:33.867.983.725 (XO: 43.867987137 - 43.868293138, t=37.2 degC)  Rank: 00078
   TM values: Max =   232  Min =  -258  Ave =    -4.50  Std =    26.30
   Min TM value:-258 at an offset of 122.675 usec -> 2022-02-02T14:15:33.868.106.400 (XO: 43.868109812)
   Max TM value:232 at an offset of 122.925 usec -> 2022-02-02T14:15:33.868.106.650 (XO: 43.868110062)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 165.638 usec -> 2022-02-02T14:15:33.868.149.363 (XO: 43.868152775)
   Min dTM/dt [1/us]:-2.45e+03 at an offset of 120.350 usec -> 2022-02-02T14:15:33.868.104.075 (XO: 43.868107487)

 - Block number: 4 starting at 2022-02-02T14:15:47.017.729.725 (XO: 57.017730689 - 57.018036690, t=37.2 degC)  Rank: 00073
   TM values: Max =   201  Min =  -233  Ave =    -4.47  Std =    18.94
   Min TM value:-233 at an offset of 121.800 usec -> 2022-02-02T14:15:47.017.851.525 (XO: 57.017852489)
   Max TM value:201 at an offset of 119.325 usec -> 2022-02-02T14:15:47.017.849.050 (XO: 57.017850014)
   Max dTM/dt [1/us]:1.77e+03 at an offset of 121.900 usec -> 2022-02-02T14:15:47.017.851.625 (XO: 57.017852589)
   Min dTM/dt [1/us]:-1.93e+03 at an offset of 119.438 usec -> 2022-02-02T14:15:47.017.849.162 (XO: 57.017850127)
