-- OK --
-----------------> BLESK ver.2021-02-27 run on Mon Dec  6 08:53:59 2021 UTC
-- File 20210803_223426_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 6.366878 to 55.257010
-each separately from 6s to 55s and from 27051us to 417377us.
   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, ...
      15.049921 in 1 packets: 18
      17.609674 in 1 packets: 36
      16.229381 in 1 packets: 54
MIU packet time from 2021-08-03T22:34:35.366.878.000 to 2021-08-03T22:35:24.257.010.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, ...
      15.049921 in 1 packets: 18
      17.609674 in 1 packets: 36
      16.229381 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 7.8807072 to 56.8805441
   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, ...
      14.9999500 in 1 packets: 18
      17.9999401 in 1 packets: 36
      15.9999468 in 1 packets: 54
Temperature FPGA: 
      05 -> 48.5 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      04 -> 49.8 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
      03 -> 51.1 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      1 in 1 packets: 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 20210803_223426_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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 8.2475857 to 8.2478747
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.0498710  -- OK for SL --
   MIU time from 2021-08-03T22:34:35.366.878.000 to 2021-08-03T22:34:35.367.167.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.049921

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 23.2977457 to 23.2980347
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 17.6096150  -- OK for SL --
   MIU time from 2021-08-03T22:34:50.417.088.000 to 2021-08-03T22:34:50.417.377.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 17.609674

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 40.9076497 to 40.9079387
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.2293270  -- OK for SL --
   MIU time from 2021-08-03T22:35:08.027.051.000 to 2021-08-03T22:35:08.027.340.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.229381

 - 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:
      78 in 18 packets (all packets)  -- OK --
   10 MHz counter from 57.1372657 to 57.1375547
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-03T22:35:24.256.721.000 to 2021-08-03T22:35:24.257.010.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 = 6, 32bit 10MHz counter = 8.247585700 corrected by 40bit 10MHz counter of 7.880707200 obtained at 1Hz counter of 6. Result: 6.366879747
--
   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.999996600
   Min 1st sample MIU time among all SL packets: 2021-08-03T22:34:35.366.737.725
   Max 1st sample MIU time among all SL packets: 2021-08-03T22:35:24.256.869.725
   Min 1st sample XO time among all SL packets: 6.366739472
   Max 1st sample XO time among all SL packets: 55.256871198
   TM values from -249 to 226 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-03T22:34:35.366.737.725 (XO: 6.366739472 - 6.367045473, t=37.2 degC)  Rank: 00078
   TM values: Max =   214  Min =  -237  Ave =    -4.47  Std =    24.51
   Min TM value:-237 at an offset of 111.588 usec -> 2021-08-03T22:34:35.366.849.312 (XO: 6.366851060)
   Max TM value:214 at an offset of 114.163 usec -> 2021-08-03T22:34:35.366.851.887 (XO: 6.366853635)
   Max dTM/dt [1/us]:2.49e+03 at an offset of 113.988 usec -> 2021-08-03T22:34:35.366.851.712 (XO: 6.366853460)
   Min dTM/dt [1/us]:-2.19e+03 at an offset of 111.450 usec -> 2021-08-03T22:34:35.366.849.175 (XO: 6.366850922)

 - Block number: 2 starting at 2021-08-03T22:34:50.416.947.725 (XO: 21.416949643 - 21.417255644, t=37.2 degC)  Rank: 00085
   TM values: Max =   226  Min =  -249  Ave =    -4.40  Std =    24.20
   Min TM value:-249 at an offset of 121.088 usec -> 2021-08-03T22:34:50.417.068.812 (XO: 21.417070731)
   Max TM value:226 at an offset of 105.988 usec -> 2021-08-03T22:34:50.417.053.712 (XO: 21.417055630)
   Max dTM/dt [1/us]:1.95e+03 at an offset of 105.875 usec -> 2021-08-03T22:34:50.417.053.600 (XO: 21.417055518)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 108.075 usec -> 2021-08-03T22:34:50.417.055.800 (XO: 21.417057718)

 - Block number: 3 starting at 2021-08-03T22:35:08.026.910.725 (XO: 39.026912217 - 39.027218218, t=37.2 degC)  Rank: 00080
   TM values: Max =   206  Min =  -238  Ave =    -4.55  Std =    20.63
   Min TM value:-238 at an offset of 123.413 usec -> 2021-08-03T22:35:08.027.034.137 (XO: 39.027035629)
   Max TM value:206 at an offset of 123.088 usec -> 2021-08-03T22:35:08.027.033.812 (XO: 39.027035304)
   Max dTM/dt [1/us]:2.06e+03 at an offset of 125.775 usec -> 2021-08-03T22:35:08.027.036.500 (XO: 39.027037992)
   Min dTM/dt [1/us]:-2.08e+03 at an offset of 123.213 usec -> 2021-08-03T22:35:08.027.033.937 (XO: 39.027035429)

 - Block number: 4 starting at 2021-08-03T22:35:24.256.580.725 (XO: 55.256582197 - 55.256888198, t=37.2 degC)  Rank: 00078
   TM values: Max =   200  Min =  -234  Ave =    -4.53  Std =    26.55
   Min TM value:-234 at an offset of 112.200 usec -> 2021-08-03T22:35:24.256.692.925 (XO: 55.256694398)
   Max TM value:200 at an offset of 114.850 usec -> 2021-08-03T22:35:24.256.695.575 (XO: 55.256697048)
   Max dTM/dt [1/us]:1.75e+03 at an offset of 114.725 usec -> 2021-08-03T22:35:24.256.695.450 (XO: 55.256696923)
   Min dTM/dt [1/us]:-1.90e+03 at an offset of 169.101 usec -> 2021-08-03T22:35:24.256.749.825 (XO: 55.256751298)
