-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Dec 19 03:01:55 2021 UTC
-- File 20210817_023155_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 2.349750 to 47.046011
-each separately from 2s to 47s and from 45722us to 616581us.
   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, ...
      24.957681 in 1 packets: 18
      13.308283 in 1 packets: 36
      6.429141 in 1 packets: 54
MIU packet time from 2021-08-17T02:32:00.349.750.000 to 2021-08-17T02:32:45.046.011.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, ...
      24.957681 in 1 packets: 18
      13.308283 in 1 packets: 36
      6.429141 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 3.9650588 to 48.9649100
   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, ...
      24.9999174 in 1 packets: 18
      12.9999570 in 1 packets: 36
      6.9999768 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 54 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 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 20210817_023155_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:
      82 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.3148096 to 4.3150986
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 24.9575990  -- OK for SL --
   MIU time from 2021-08-17T02:32:00.349.750.000 to 2021-08-17T02:32:00.350.039.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 24.957681

 - 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:
      83 in 18 packets (all packets)  -- OK --
   10 MHz counter from 29.2726976 to 29.2729866
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 13.3082390  -- OK for SL --
   MIU time from 2021-08-17T02:32:25.307.720.000 to 2021-08-17T02:32:25.308.009.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 13.308283

 - 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:
      75 in 18 packets (all packets)  -- OK --
   10 MHz counter from 42.5812256 to 42.5815146
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 6.4291190  -- OK for SL --
   MIU time from 2021-08-17T02:32:38.616.292.000 to 2021-08-17T02:32:38.616.581.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 6.429141

 - 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:
      77 in 18 packets (all packets)  -- OK --
   10 MHz counter from 49.0106336 to 49.0109226
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-08-17T02:32:45.045.722.000 to 2021-08-17T02:32:45.046.011.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 = 2, 32bit 10MHz counter = 4.314809600 corrected by 40bit 10MHz counter of 3.965058800 obtained at 1Hz counter of 2. Result: 2.349751954
--
   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.999996800
   Min 1st sample MIU time among all SL packets: 2021-08-17T02:32:00.349.609.725
   Max 1st sample MIU time among all SL packets: 2021-08-17T02:32:45.045.870.725
   Min 1st sample XO time among all SL packets: 2.349611679
   Max 1st sample XO time among all SL packets: 47.045872472
   TM values from -258 to 231 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-08-17T02:32:00.349.609.725 (XO: 2.349611679 - 2.349917680, t=37.2 degC)  Rank: 00082
   TM values: Max =   208  Min =  -248  Ave =    -4.45  Std =    19.47
   Min TM value:-248 at an offset of 113.088 usec -> 2021-08-17T02:32:00.349.722.812 (XO: 2.349724767)
   Max TM value:208 at an offset of 112.813 usec -> 2021-08-17T02:32:00.349.722.537 (XO: 2.349724492)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 115.475 usec -> 2021-08-17T02:32:00.349.725.200 (XO: 2.349727154)
   Min dTM/dt [1/us]:-2.26e+03 at an offset of 112.925 usec -> 2021-08-17T02:32:00.349.722.650 (XO: 2.349724604)

 - Block number: 2 starting at 2021-08-17T02:32:25.307.579.725 (XO: 27.307582140 - 27.307888141, t=37.2 degC)  Rank: 00083
   TM values: Max =   202  Min =  -250  Ave =    -4.64  Std =    21.83
   Min TM value:-250 at an offset of 124.950 usec -> 2021-08-17T02:32:25.307.704.675 (XO: 27.307707090)
   Max TM value:202 at an offset of 127.475 usec -> 2021-08-17T02:32:25.307.707.200 (XO: 27.307709615)
   Max dTM/dt [1/us]:2.00e+03 at an offset of 127.300 usec -> 2021-08-17T02:32:25.307.707.025 (XO: 27.307709440)
   Min dTM/dt [1/us]:-2.01e+03 at an offset of 124.738 usec -> 2021-08-17T02:32:25.307.704.462 (XO: 27.307706878)

 - Block number: 3 starting at 2021-08-17T02:32:38.616.151.725 (XO: 40.616154158 - 40.616460159, t=37.2 degC)  Rank: 00075
   TM values: Max =   231  Min =  -258  Ave =    -4.68  Std =    32.26
   Min TM value:-258 at an offset of 101.013 usec -> 2021-08-17T02:32:38.616.252.737 (XO: 40.616255171)
   Max TM value:231 at an offset of 103.525 usec -> 2021-08-17T02:32:38.616.255.250 (XO: 40.616257684)
   Max dTM/dt [1/us]:2.10e+03 at an offset of 98.788 usec -> 2021-08-17T02:32:38.616.250.512 (XO: 40.616252946)
   Min dTM/dt [1/us]:-1.86e+03 at an offset of 100.900 usec -> 2021-08-17T02:32:38.616.252.625 (XO: 40.616255059)

 - Block number: 4 starting at 2021-08-17T02:32:45.045.581.725 (XO: 47.045583471 - 47.045889472, t=37.2 degC)  Rank: 00077
   TM values: Max =   181  Min =  -217  Ave =    -4.58  Std =    19.19
   Min TM value:-217 at an offset of 100.950 usec -> 2021-08-17T02:32:45.045.682.675 (XO: 47.045684421)
   Max TM value:181 at an offset of 103.600 usec -> 2021-08-17T02:32:45.045.685.325 (XO: 47.045687071)
   Max dTM/dt [1/us]:1.54e+03 at an offset of 103.425 usec -> 2021-08-17T02:32:45.045.685.150 (XO: 47.045686896)
   Min dTM/dt [1/us]:-1.64e+03 at an offset of 100.725 usec -> 2021-08-17T02:32:45.045.682.450 (XO: 47.045684196)
