-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Jan  9 06:19:45 2022 UTC
-- File 20210911_142636_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 10.628817 to 49.149764
-each separately from 10s to 49s and from 149475us to 649155us.
   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, ...
      5.019760 in 1 packets: 18
      16.589911 in 1 packets: 36
      16.910120 in 1 packets: 54
MIU packet time from 2021-09-11T14:26:49.628.817.000 to 2021-09-11T14:27:28.149.764.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, ...
      5.019760 in 1 packets: 18
      16.589911 in 1 packets: 36
      16.910120 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.9346296 to 50.9345000
   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.9999834 in 1 packets: 18
      16.9999435 in 2 packets: 36, 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, ...
      06 -> 47.2 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      C0 -> 35.6 degC in 54 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
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 20210911_142636_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 12.5634476 to 12.5637366
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.0197430  -- OK for SL --
   MIU time from 2021-09-11T14:26:49.628.817.000 to 2021-09-11T14:26:49.629.106.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.019760

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 17.5834796 to 17.5837686
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5898550  -- OK for SL --
   MIU time from 2021-09-11T14:26:54.648.866.000 to 2021-09-11T14:26:54.649.155.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.589911

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 34.1736236 to 34.1739126
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.9100630  -- OK for SL --
   MIU time from 2021-09-11T14:27:11.239.066.000 to 2021-09-11T14:27:11.239.355.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.910120

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 51.0839756 to 51.0842646
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-09-11T14:27:28.149.475.000 to 2021-09-11T14:27:28.149.764.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 = 10, 32bit 10MHz counter = 12.563447600 corrected by 40bit 10MHz counter of 11.934629600 obtained at 1Hz counter of 10. Result: 10.628820075
--
   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: 2021-09-11T14:26:49.628.676.725
   Max 1st sample MIU time among all SL packets: 2021-09-11T14:27:28.149.623.725
   Min 1st sample XO time among all SL packets: 10.628679800
   Max 1st sample XO time among all SL packets: 49.149624819
   TM values from -266 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-09-11T14:26:49.628.676.725 (XO: 10.628679800 - 10.628985801, t=37.2 degC)  Rank: 00081
   TM values: Max =   216  Min =  -264  Ave =    -4.54  Std =    20.55
   Min TM value:-264 at an offset of 120.850 usec -> 2021-09-11T14:26:49.628.797.575 (XO: 10.628800650)
   Max TM value:216 at an offset of 123.513 usec -> 2021-09-11T14:26:49.628.800.237 (XO: 10.628803313)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 123.338 usec -> 2021-09-11T14:26:49.628.800.062 (XO: 10.628803138)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 120.725 usec -> 2021-09-11T14:26:49.628.797.450 (XO: 10.628800525)

 - Block number: 2 starting at 2021-09-11T14:26:54.648.725.725 (XO: 15.648728466 - 15.649034467, t=35.6 degC)  Rank: 00080
   TM values: Max =   231  Min =  -231  Ave =    -4.61  Std =    22.88
   Min TM value:-231 at an offset of 110.550 usec -> 2021-09-11T14:26:54.648.836.275 (XO: 15.648839016)
   Max TM value:231 at an offset of 113.263 usec -> 2021-09-11T14:26:54.648.838.987 (XO: 15.648841729)
   Max dTM/dt [1/us]:2.05e+03 at an offset of 113.138 usec -> 2021-09-11T14:26:54.648.838.862 (XO: 15.648841604)
   Min dTM/dt [1/us]:-1.83e+03 at an offset of 168.238 usec -> 2021-09-11T14:26:54.648.893.963 (XO: 15.648896704)

 - Block number: 3 starting at 2021-09-11T14:27:11.238.925.725 (XO: 32.238927613 - 32.239233614, t=35.6 degC)  Rank: 00081
   TM values: Max =   204  Min =  -231  Ave =    -4.55  Std =    19.94
   Min TM value:-231 at an offset of 163.988 usec -> 2021-09-11T14:27:11.239.089.713 (XO: 32.239091602)
   Max TM value:204 at an offset of 122.875 usec -> 2021-09-11T14:27:11.239.048.600 (XO: 32.239050489)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 122.725 usec -> 2021-09-11T14:27:11.239.048.450 (XO: 32.239050339)
   Min dTM/dt [1/us]:-1.73e+03 at an offset of 108.075 usec -> 2021-09-11T14:27:11.239.033.800 (XO: 32.239035689)

 - Block number: 4 starting at 2021-09-11T14:27:28.149.334.725 (XO: 49.149335818 - 49.149641819, t=35.6 degC)  Rank: 00080
   TM values: Max =   214  Min =  -266  Ave =    -4.63  Std =    24.35
   Min TM value:-266 at an offset of 121.588 usec -> 2021-09-11T14:27:28.149.456.312 (XO: 49.149457406)
   Max TM value:214 at an offset of 119.550 usec -> 2021-09-11T14:27:28.149.454.275 (XO: 49.149455368)
   Max dTM/dt [1/us]:1.96e+03 at an offset of 124.125 usec -> 2021-09-11T14:27:28.149.458.850 (XO: 49.149459943)
   Min dTM/dt [1/us]:-2.43e+03 at an offset of 121.463 usec -> 2021-09-11T14:27:28.149.456.187 (XO: 49.149457281)
