-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Mar  9 02:59:40 2023 UTC
-- File 20220528_211130_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.701083 to 46.973386
-each separately from 8s to 46s and from 452089us to 973386us.
   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, ...
      8.750717 in 1 packets: 18
      19.442078 in 1 packets: 36
      10.078352 in 1 packets: 54
MIU packet time from 2022-05-28T21:11:41.701.083.000 to 2022-05-28T21:12:19.973.386.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, ...
      8.750717 in 1 packets: 18
      19.442078 in 1 packets: 36
      10.078352 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 10.2571020 to 48.2569750
   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, ...
      8.9999699 in 1 packets: 18
      18.9999365 in 1 packets: 36
      9.9999666 in 1 packets: 54
Temperature FPGA: 
      00 -> 55.0 degC in 36 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      FF -> 56.3 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C5 -> 43.6 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 20220528_211130_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:
      98 in 18 packets (all packets)  -- OK --
   10 MHz counter from 10.9581865 to 10.9584755
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 8.7506870  -- OK for SL --
   MIU time from 2022-05-28T21:11:41.701.083.000 to 2022-05-28T21:11:41.701.372.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 8.750717

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 19.7091625 to 19.7094515
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 19.4420150  -- OK for SL --
   MIU time from 2022-05-28T21:11:50.452.089.000 to 2022-05-28T21:11:50.452.378.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 19.442078

 - 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:
      69 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.1514665 to 39.1517555
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 10.0783190  -- OK for SL --
   MIU time from 2022-05-28T21:12:09.894.456.000 to 2022-05-28T21:12:09.894.745.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 10.078352

 - 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:
      74 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.2300745 to 49.2303635
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2022-05-28T21:12:19.973.097.000 to 2022-05-28T21:12:19.973.386.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.958186500 corrected by 40bit 10MHz counter of 10.257102000 obtained at 1Hz counter of 8. Result: 8.701086814
--
   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: 2022-05-28T21:11:41.700.942.725
   Max 1st sample MIU time among all SL packets: 2022-05-28T21:12:19.973.245.725
   Min 1st sample XO time among all SL packets: 8.700946538
   Max 1st sample XO time among all SL packets: 46.973251437
   TM values from -351 to 322 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2022-05-28T21:11:41.700.942.725 (XO: 8.700946538 - 8.701252539, t=43.6 degC)  Rank: 00098
   TM values: Max =   322  Min =  -351  Ave =    -4.25  Std =    51.95
   Min TM value:-351 at an offset of 223.426 usec -> 2022-05-28T21:11:41.701.166.150 (XO: 8.701169964)
   Max TM value:322 at an offset of 140.600 usec -> 2022-05-28T21:11:41.701.083.325 (XO: 8.701087139)
   Max dTM/dt [1/us]:2.57e+03 at an offset of 95.925 usec -> 2022-05-28T21:11:41.701.038.650 (XO: 8.701042463)
   Min dTM/dt [1/us]:-2.65e+03 at an offset of 242.001 usec -> 2022-05-28T21:11:41.701.184.725 (XO: 8.701188539)

 - Block number: 2 starting at 2022-05-28T21:11:50.451.948.725 (XO: 17.451951816 - 17.452257817, t=43.6 degC)  Rank: 00086
   TM values: Max =   211  Min =  -336  Ave =    -4.25  Std =    26.49
   Min TM value:-336 at an offset of 133.938 usec -> 2022-05-28T21:11:50.452.082.662 (XO: 17.452085754)
   Max TM value:211 at an offset of 134.600 usec -> 2022-05-28T21:11:50.452.083.325 (XO: 17.452086417)
   Max dTM/dt [1/us]:3.13e+03 at an offset of 134.175 usec -> 2022-05-28T21:11:50.452.082.900 (XO: 17.452085992)
   Min dTM/dt [1/us]:-2.44e+03 at an offset of 135.563 usec -> 2022-05-28T21:11:50.452.084.287 (XO: 17.452087379)

 - Block number: 3 starting at 2022-05-28T21:12:09.894.315.725 (XO: 36.894320776 - 36.894626777, t=43.6 degC)  Rank: 00069
   TM values: Max =   236  Min =  -267  Ave =    -4.32  Std =    34.33
   Min TM value:-267 at an offset of 119.588 usec -> 2022-05-28T21:12:09.894.435.312 (XO: 36.894440364)
   Max TM value:236 at an offset of 119.325 usec -> 2022-05-28T21:12:09.894.435.050 (XO: 36.894440102)
   Max dTM/dt [1/us]:2.14e+03 at an offset of 152.501 usec -> 2022-05-28T21:12:09.894.468.225 (XO: 36.894473277)
   Min dTM/dt [1/us]:-2.49e+03 at an offset of 119.425 usec -> 2022-05-28T21:12:09.894.435.150 (XO: 36.894440202)

 - Block number: 4 starting at 2022-05-28T21:12:19.972.956.725 (XO: 46.972962436 - 46.973268437, t=43.6 degC)  Rank: 00074
   TM values: Max =   218  Min =  -260  Ave =    -4.28  Std =    30.68
   Min TM value:-260 at an offset of 128.650 usec -> 2022-05-28T21:12:19.973.085.375 (XO: 46.973091086)
   Max TM value:218 at an offset of 131.000 usec -> 2022-05-28T21:12:19.973.087.725 (XO: 46.973093436)
   Max dTM/dt [1/us]:2.44e+03 at an offset of 130.863 usec -> 2022-05-28T21:12:19.973.087.587 (XO: 46.973093299)
   Min dTM/dt [1/us]:-2.17e+03 at an offset of 130.675 usec -> 2022-05-28T21:12:19.973.087.400 (XO: 46.973093111)
