-- OK --
-----------------> BLESK ver.2021-02-27 run on Sun Nov 14 20:55:47 2021 UTC
-- File 20210714_202702_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 4.303163 to 47.345965
-each separately from 4s to 47s and from 303163us to 570006us.
   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, ...
      22.266265 in 1 packets: 18
      15.766661 in 1 packets: 36
      5.008720 in 1 packets: 54
MIU packet time from 2021-07-14T20:27:09.303.163.000 to 2021-07-14T20:27:52.345.965.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, ...
      22.266265 in 1 packets: 18
      15.766661 in 1 packets: 36
      5.008720 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 5.9034316 to 48.9032868
   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, ...
      21.9999259 in 1 packets: 18
      15.9999461 in 1 packets: 36
      4.9999832 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: 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 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 20210714_202702_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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 6.2065955 to 6.2068845
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 22.2661910  -- OK for SL --
   MIU time from 2021-07-14T20:27:09.303.163.000 to 2021-07-14T20:27:09.303.452.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 22.266265

 - 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 28.4730755 to 28.4733645
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 15.7666070  -- OK for SL --
   MIU time from 2021-07-14T20:27:31.569.717.000 to 2021-07-14T20:27:31.570.006.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 15.766661

 - 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:
      85 in 18 packets (all packets)  -- OK --
   10 MHz counter from 44.2399715 to 44.2402605
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 5.0087030  -- OK for SL --
   MIU time from 2021-07-14T20:27:47.336.667.000 to 2021-07-14T20:27:47.336.956.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 5.008720

 - 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.2489635 to 49.2492525
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-14T20:27:52.345.676.000 to 2021-07-14T20:27:52.345.965.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 = 4, 32bit 10MHz counter = 6.206595500 corrected by 40bit 10MHz counter of 5.903431600 obtained at 1Hz counter of 4. Result: 4.303164931
--
   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-07-14T20:27:09.303.022.725
   Max 1st sample MIU time among all SL packets: 2021-07-14T20:27:52.345.824.725
   Min 1st sample XO time among all SL packets: 4.303024655
   Max 1st sample XO time among all SL packets: 47.345826601
   TM values from -314 to 283 median:-4.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-14T20:27:09.303.022.725 (XO: 4.303024655 - 4.303330656, t=37.2 degC)  Rank: 00085
   TM values: Max =   236  Min =  -245  Ave =    -4.46  Std =    23.55
   Min TM value:-245 at an offset of 115.588 usec -> 2021-07-14T20:27:09.303.138.312 (XO: 4.303140243)
   Max TM value:236 at an offset of 131.025 usec -> 2021-07-14T20:27:09.303.153.750 (XO: 4.303155681)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 130.850 usec -> 2021-07-14T20:27:09.303.153.575 (XO: 4.303155506)
   Min dTM/dt [1/us]:-2.28e+03 at an offset of 128.125 usec -> 2021-07-14T20:27:09.303.150.850 (XO: 4.303152781)

 - Block number: 2 starting at 2021-07-14T20:27:31.569.576.725 (XO: 26.569579662 - 26.569885663, t=37.2 degC)  Rank: 00080
   TM values: Max =   236  Min =  -265  Ave =    -4.44  Std =    23.13
   Min TM value:-265 at an offset of 130.888 usec -> 2021-07-14T20:27:31.569.707.612 (XO: 26.569710550)
   Max TM value:236 at an offset of 133.488 usec -> 2021-07-14T20:27:31.569.710.212 (XO: 26.569713150)
   Max dTM/dt [1/us]:1.70e+03 at an offset of 133.425 usec -> 2021-07-14T20:27:31.569.710.150 (XO: 26.569713087)
   Min dTM/dt [1/us]:-1.96e+03 at an offset of 130.750 usec -> 2021-07-14T20:27:31.569.707.475 (XO: 26.569710412)

 - Block number: 3 starting at 2021-07-14T20:27:47.336.526.725 (XO: 42.336528769 - 42.336834770, t=37.2 degC)  Rank: 00085
   TM values: Max =   283  Min =  -314  Ave =    -4.45  Std =    28.65
   Min TM value:-314 at an offset of 161.788 usec -> 2021-07-14T20:27:47.336.688.513 (XO: 42.336690557)
   Max TM value:283 at an offset of 133.638 usec -> 2021-07-14T20:27:47.336.660.362 (XO: 42.336662407)
   Max dTM/dt [1/us]:2.30e+03 at an offset of 136.325 usec -> 2021-07-14T20:27:47.336.663.050 (XO: 42.336665095)
   Min dTM/dt [1/us]:-2.92e+03 at an offset of 133.750 usec -> 2021-07-14T20:27:47.336.660.475 (XO: 42.336662520)

 - Block number: 4 starting at 2021-07-14T20:27:52.345.535.725 (XO: 47.345537600 - 47.345843601, t=37.2 degC)  Rank: 00074
   TM values: Max =   230  Min =  -272  Ave =    -4.43  Std =    24.25
   Min TM value:-272 at an offset of 119.425 usec -> 2021-07-14T20:27:52.345.655.150 (XO: 47.345657025)
   Max TM value:230 at an offset of 119.088 usec -> 2021-07-14T20:27:52.345.654.812 (XO: 47.345656688)
   Max dTM/dt [1/us]:1.89e+03 at an offset of 121.800 usec -> 2021-07-14T20:27:52.345.657.525 (XO: 47.345659400)
   Min dTM/dt [1/us]:-2.40e+03 at an offset of 119.238 usec -> 2021-07-14T20:27:52.345.654.962 (XO: 47.345656838)
