-- OK --
-----------------> BLESK ver.2021-02-27 run on Thu Dec 23 00:27:25 2021 UTC
-- File 20210822_163206_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.266036 to 47.977299
-each separately from 9s to 47s and from 266036us to 977299us.
   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, ...
      16.480324 in 1 packets: 18
      7.619833 in 1 packets: 36
      14.609950 in 1 packets: 54
MIU packet time from 2021-08-22T16:32:18.266.036.000 to 2021-08-22T16:32:56.977.299.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, ...
      16.480324 in 1 packets: 18
      7.619833 in 1 packets: 36
      14.609950 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.8720411 to 48.8719150
   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, ...
      15.9999468 in 1 packets: 18
      7.9999735 in 1 packets: 36
      13.9999536 in 1 packets: 54
Temperature FPGA: 
      04 -> 49.8 degC in 54 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      05 -> 48.5 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 20210822_163206_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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 11.1380776 to 11.1383666
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.4802710  -- OK for SL --
   MIU time from 2021-08-22T16:32:18.266.036.000 to 2021-08-22T16:32:18.266.325.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.480324

 - 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:
      81 in 18 packets (all packets)  -- OK --
   10 MHz counter from 27.6186376 to 27.6189266
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 7.6198070  -- OK for SL --
   MIU time from 2021-08-22T16:32:34.746.649.000 to 2021-08-22T16:32:34.746.938.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 7.619833

 - 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 35.2387336 to 35.2390226
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 14.6099030  -- OK for SL --
   MIU time from 2021-08-22T16:32:42.366.771.000 to 2021-08-22T16:32:42.367.060.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 14.609950

 - 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.8489256 to 49.8492146
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-22T16:32:56.977.010.000 to 2021-08-22T16:32:56.977.299.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 = 11.138077600 corrected by 40bit 10MHz counter of 10.872041100 obtained at 1Hz counter of 9. Result: 9.266037405
--
   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-22T16:32:18.265.895.725
   Max 1st sample MIU time among all SL packets: 2021-08-22T16:32:56.977.158.725
   Min 1st sample XO time among all SL packets: 9.265897129
   Max 1st sample XO time among all SL packets: 47.977162550
   TM values from -258 to 234 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-22T16:32:18.265.895.725 (XO: 9.265897129 - 9.266203130, t=37.2 degC)  Rank: 00083
   TM values: Max =   206  Min =  -247  Ave =    -4.46  Std =    20.16
   Min TM value:-247 at an offset of 105.175 usec -> 2021-08-22T16:32:18.266.000.900 (XO: 9.266002304)
   Max TM value:206 at an offset of 107.788 usec -> 2021-08-22T16:32:18.266.003.512 (XO: 9.266004917)
   Max dTM/dt [1/us]:1.78e+03 at an offset of 107.625 usec -> 2021-08-22T16:32:18.266.003.350 (XO: 9.266004754)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 105.025 usec -> 2021-08-22T16:32:18.266.000.750 (XO: 9.266002154)

 - Block number: 2 starting at 2021-08-22T16:32:34.746.508.725 (XO: 25.746511888 - 25.746817889, t=37.2 degC)  Rank: 00081
   TM values: Max =   217  Min =  -255  Ave =    -4.44  Std =    20.72
   Min TM value:-255 at an offset of 93.038 usec -> 2021-08-22T16:32:34.746.601.762 (XO: 25.746604926)
   Max TM value:217 at an offset of 92.775 usec -> 2021-08-22T16:32:34.746.601.500 (XO: 25.746604664)
   Max dTM/dt [1/us]:2.39e+03 at an offset of 95.400 usec -> 2021-08-22T16:32:34.746.604.125 (XO: 25.746607289)
   Min dTM/dt [1/us]:-2.42e+03 at an offset of 92.875 usec -> 2021-08-22T16:32:34.746.601.600 (XO: 25.746604764)

 - Block number: 3 starting at 2021-08-22T16:32:42.366.630.725 (XO: 33.366633135 - 33.366939136, t=37.2 degC)  Rank: 00078
   TM values: Max =   216  Min =  -258  Ave =    -4.52  Std =    23.10
   Min TM value:-258 at an offset of 105.888 usec -> 2021-08-22T16:32:42.366.736.612 (XO: 33.366739023)
   Max TM value:216 at an offset of 105.588 usec -> 2021-08-22T16:32:42.366.736.312 (XO: 33.366738723)
   Max dTM/dt [1/us]:1.84e+03 at an offset of 108.300 usec -> 2021-08-22T16:32:42.366.739.025 (XO: 33.366741435)
   Min dTM/dt [1/us]:-2.05e+03 at an offset of 105.725 usec -> 2021-08-22T16:32:42.366.736.450 (XO: 33.366738860)

 - Block number: 4 starting at 2021-08-22T16:32:56.976.869.725 (XO: 47.976873549 - 47.977179550, t=37.2 degC)  Rank: 00074
   TM values: Max =   234  Min =  -245  Ave =    -4.48  Std =    19.22
   Min TM value:-245 at an offset of 108.900 usec -> 2021-08-22T16:32:56.976.978.625 (XO: 47.976982449)
   Max TM value:234 at an offset of 108.613 usec -> 2021-08-22T16:32:56.976.978.337 (XO: 47.976982162)
   Max dTM/dt [1/us]:1.99e+03 at an offset of 106.563 usec -> 2021-08-22T16:32:56.976.976.287 (XO: 47.976980112)
   Min dTM/dt [1/us]:-2.25e+03 at an offset of 108.725 usec -> 2021-08-22T16:32:56.976.978.450 (XO: 47.976982274)
