-- OK --
-----------------> BLESK ver.2021-02-27 run on Fri Oct 29 16:52:56 2021 UTC
-- File 20210702_221430_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.402642 to 50.272207
-each separately from 2s to 50s and from 82294us to 612257us.
   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, ...
      18.679363 in 1 packets: 18
      16.529385 in 1 packets: 36
      12.659661 in 1 packets: 54
MIU packet time from 2021-07-02T22:14:31.402.642.000 to 2021-07-02T22:15:19.272.207.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, ...
      18.679363 in 1 packets: 18
      16.529385 in 1 packets: 36
      12.659661 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.8332882 to 51.8331164
   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, ...
      18.9999320 in 1 packets: 18
      15.9999428 in 1 packets: 36
      12.9999534 in 1 packets: 54
Temperature FPGA: 
      06 -> 47.2 degC in 36 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: 
      C0 -> 35.6 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 19 packets: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, ...
      1 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 20210702_221430_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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 4.2359309 to 4.2362199
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 18.6792950  -- OK for SL --
   MIU time from 2021-07-02T22:14:31.402.642.000 to 2021-07-02T22:14:31.402.931.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 18.679363

 - 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:
      86 in 18 packets (all packets)  -- OK --
   10 MHz counter from 22.9155149 to 22.9158039
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 16.5293270  -- OK for SL --
   MIU time from 2021-07-02T22:14:50.082.294.000 to 2021-07-02T22:14:50.082.583.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 16.529385

 - 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:
      76 in 18 packets (all packets)  -- OK --
   10 MHz counter from 39.4451309 to 39.4454199
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
      Difference to the following block: 12.6596150  -- OK for SL --
   MIU time from 2021-07-02T22:15:06.611.968.000 to 2021-07-02T22:15:06.612.257.000
      Difference between neigboring packets: 
      0.000017 in 17 packets (all packets)
      Difference to the following block: 12.659661

 - 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:
      80 in 18 packets (all packets)  -- OK --
   10 MHz counter from 52.1050349 to 52.1053239
      Difference between neigboring packets: 
      0.0000170 in 17 packets (all packets)  -- OK --
   MIU time from 2021-07-02T22:15:19.271.918.000 to 2021-07-02T22:15:19.272.207.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.235930900 corrected by 40bit 10MHz counter of 3.833288200 obtained at 1Hz counter of 2. Result: 2.402644150
--
   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.999996400 - 0.999996500
   Min 1st sample MIU time among all SL packets: 2021-07-02T22:14:31.402.501.725
   Max 1st sample MIU time among all SL packets: 2021-07-02T22:15:19.272.066.725
   Min 1st sample XO time among all SL packets: 2.402503874
   Max 1st sample XO time among all SL packets: 50.272068177
   TM values from -272 to 247 median:-5.00000
--
Extremes and waveform characteristics in blocks of SL data packets:

 - Block number: 1 starting at 2021-07-02T22:14:31.402.501.725 (XO: 2.402503874 - 2.402809875, t=35.6 degC)  Rank: 00080
   TM values: Max =   247  Min =  -249  Ave =    -4.49  Std =    22.85
   Min TM value:-249 at an offset of 117.888 usec -> 2021-07-02T22:14:31.402.619.612 (XO: 2.402621762)
   Max TM value:247 at an offset of 120.538 usec -> 2021-07-02T22:14:31.402.622.262 (XO: 2.402624412)
   Max dTM/dt [1/us]:1.82e+03 at an offset of 120.363 usec -> 2021-07-02T22:14:31.402.622.087 (XO: 2.402624237)
   Min dTM/dt [1/us]:-2.50e+03 at an offset of 117.700 usec -> 2021-07-02T22:14:31.402.619.425 (XO: 2.402621574)

 - Block number: 2 starting at 2021-07-02T22:14:50.082.153.725 (XO: 21.082154713 - 21.082460714, t=35.6 degC)  Rank: 00086
   TM values: Max =   228  Min =  -250  Ave =    -4.61  Std =    23.44
   Min TM value:-250 at an offset of 129.125 usec -> 2021-07-02T22:14:50.082.282.850 (XO: 21.082283838)
   Max TM value:228 at an offset of 104.275 usec -> 2021-07-02T22:14:50.082.258.000 (XO: 21.082258988)
   Max dTM/dt [1/us]:2.38e+03 at an offset of 131.638 usec -> 2021-07-02T22:14:50.082.285.362 (XO: 21.082286351)
   Min dTM/dt [1/us]:-2.04e+03 at an offset of 128.863 usec -> 2021-07-02T22:14:50.082.282.587 (XO: 21.082283575)

 - Block number: 3 starting at 2021-07-02T22:15:06.611.827.725 (XO: 37.611829828 - 37.612135829, t=35.6 degC)  Rank: 00076
   TM values: Max =   211  Min =  -272  Ave =    -4.58  Std =    20.57
   Min TM value:-272 at an offset of 133.625 usec -> 2021-07-02T22:15:06.611.961.350 (XO: 37.611963453)
   Max TM value:211 at an offset of 136.363 usec -> 2021-07-02T22:15:06.611.964.087 (XO: 37.611966191)
   Max dTM/dt [1/us]:2.18e+03 at an offset of 131.175 usec -> 2021-07-02T22:15:06.611.958.900 (XO: 37.611961003)
   Min dTM/dt [1/us]:-2.14e+03 at an offset of 133.463 usec -> 2021-07-02T22:15:06.611.961.187 (XO: 37.611963291)

 - Block number: 4 starting at 2021-07-02T22:15:19.271.777.725 (XO: 50.271779176 - 50.272085177, t=35.6 degC)  Rank: 00080
   TM values: Max =   245  Min =  -233  Ave =    -4.51  Std =    21.05
   Min TM value:-233 at an offset of 129.275 usec -> 2021-07-02T22:15:19.271.907.000 (XO: 50.271908452)
   Max TM value:245 at an offset of 132.025 usec -> 2021-07-02T22:15:19.271.909.750 (XO: 50.271911202)
   Max dTM/dt [1/us]:2.26e+03 at an offset of 131.875 usec -> 2021-07-02T22:15:19.271.909.600 (XO: 50.271911052)
   Min dTM/dt [1/us]:-2.06e+03 at an offset of 116.400 usec -> 2021-07-02T22:15:19.271.894.125 (XO: 50.271895577)
