-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 26 00:35:29 2021 UTC
-- File 20210826_223833_1227.dat, 54  packets found.
APID:
      1227 (SL) in 54 packets (all packets)
Mode:
      1 (EBEW-SRSL) in 54 packets (all packets)
Total number of packets: 
      18 in 54 packets (all packets)
Packet No from 1 to 18
   Sequence of packet numbers -- OK -- 
Hz and MHz counters from 13.992036 to 38.714616
-each separately from 13s to 38s and from 714327us to 992325us.
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.735786 in 1 packets: 18
      11.985927 in 1 packets: 36
MIU packet time from 2021-08-26T22:38:49.992.036.000 to 2021-08-26T22:39:14.714.616.000
   Differences in neigboring packets: 
      0.000017 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.735786 in 1 packets: 18
      11.985927 in 1 packets: 36
MIU orbit number: 
      60000 in 54 packets (all packets)
MIU orbit information / directon: 
      0 (DOWN) in 54 packets (all packets)
MIU orbit information / number of events: 
      0 in 54 packets (all packets)
Waveform overflows in 306us: 
      0 (none) in 54 packets (all packets)
Instrument anomalies: 
      0 (OK) in 54 packets (all packets)
FPGA configuration version: 
      211 in 54 packets (all packets)
10 MHz counter at the last 1Hz pulse from 14.9068795 to 39.9067965
   Differences in neigboring packets: 
      0.0000000 in 51 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 19, ...
      12.9999568 in 1 packets: 18
      11.9999602 in 1 packets: 36
Temperature FPGA: 
      04 -> 49.8 degC in 18 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18
      05 -> 48.5 degC in 36 packets: 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, ...
Temperature XO: 
      C1 -> 37.2 degC in 54 packets (all packets)
Temperature ant 3: 
      01 -> 108.0 degC in 54 packets (all packets)
Temperature ant 4: 
      01 -> 108.0 degC in 54 packets (all packets)
Number of external events: 
      0 in 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 in 35 packets: 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, ...
Survey memory error: 
      0 in 54 packets (all packets)
Event memory error: 
      0 in 54 packets (all packets)
Configuration error: 
      0 in 54 packets (all packets)
SDRAM CRC error: 
      0 in 54 packets (all packets)
Radio gain: 
      0 in 54 packets (all packets)
Radio bandwidth: 
      0 in 54 packets (all packets)
Digital gain: 
      0 in 54 packets (all packets)
Analog gain: 
      0 in 54 packets (all packets)
 
SURVEY DATA READER
-- File 20210826_223833_1227.dat, 3 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 15.8989158 to 15.8992048
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.7357430  -- OK for SL --
   MIU time from 2021-08-26T22:38:49.992.036.000 to 2021-08-26T22:38:49.992.325.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.735786

 - 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:
      84 in 18 packets (all packets)  -- OK --
   10 MHz counter from 28.6349478 to 28.6352368
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 11.9858870  -- OK for SL --
   MIU time from 2021-08-26T22:39:02.728.111.000 to 2021-08-26T22:39:02.728.400.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 11.985927

 - 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.6211238 to 40.6214128
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-26T22:39:14.714.327.000 to 2021-08-26T22:39:14.714.616.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
   --- Rel. time correction for 54 points based on 44 XO calibration points at 1Hz counter from 0 to 43
   --- First point: 1Hz counter = 13, 32bit 10MHz counter = 15.898915800 corrected by 40bit 10MHz counter of 14.906879500 obtained at 1Hz counter of 13. Result: 13.992039673
--
   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-26T22:38:49.991.895.725
   Max 1st sample MIU time among all SL packets: 2021-08-26T22:39:14.714.475.725
   Min 1st sample XO time among all SL packets: 13.991899397
   Max 1st sample XO time among all SL packets: 38.714478383
   TM values from -255 to 224 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-26T22:38:49.991.895.725 (XO: 13.991899397 - 13.992205398, t=37.2 degC)  Rank: 00075
   TM values: Max =   213  Min =  -249  Ave =    -4.44  Std =    21.61
   Min TM value:-249 at an offset of 112.463 usec -> 2021-08-26T22:38:49.992.008.187 (XO: 13.992011860)
   Max TM value:213 at an offset of 115.000 usec -> 2021-08-26T22:38:49.992.010.725 (XO: 13.992014398)
   Max dTM/dt [1/us]:1.97e+03 at an offset of 114.838 usec -> 2021-08-26T22:38:49.992.010.562 (XO: 13.992014235)
   Min dTM/dt [1/us]:-2.52e+03 at an offset of 112.263 usec -> 2021-08-26T22:38:49.992.007.987 (XO: 13.992011660)

 - Block number: 2 starting at 2021-08-26T22:39:02.727.970.725 (XO: 26.727973627 - 26.728279628, t=37.2 degC)  Rank: 00084
   TM values: Max =   209  Min =  -255  Ave =    -4.51  Std =    29.03
   Min TM value:-255 at an offset of 155.226 usec -> 2021-08-26T22:39:02.728.125.950 (XO: 26.728128853)
   Max TM value:209 at an offset of 126.950 usec -> 2021-08-26T22:39:02.728.097.675 (XO: 26.728100578)
   Max dTM/dt [1/us]:1.69e+03 at an offset of 126.838 usec -> 2021-08-26T22:39:02.728.097.562 (XO: 26.728100465)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 155.138 usec -> 2021-08-26T22:39:02.728.125.863 (XO: 26.728128765)

 - Block number: 3 starting at 2021-08-26T22:39:14.714.186.725 (XO: 38.714189382 - 38.714495383, t=37.2 degC)  Rank: 00080
   TM values: Max =   224  Min =  -246  Ave =    -4.49  Std =    18.67
   Min TM value:-246 at an offset of 89.588 usec -> 2021-08-26T22:39:14.714.276.312 (XO: 38.714278970)
   Max TM value:224 at an offset of 87.375 usec -> 2021-08-26T22:39:14.714.274.100 (XO: 38.714276757)
   Max dTM/dt [1/us]:2.07e+03 at an offset of 91.975 usec -> 2021-08-26T22:39:14.714.278.700 (XO: 38.714281357)
   Min dTM/dt [1/us]:-2.11e+03 at an offset of 89.413 usec -> 2021-08-26T22:39:14.714.276.137 (XO: 38.714278795)
